For example, WSOCKSQB has a routine called WSINIT, which does nothing
but return an integer and has no parameters to pass. How do I call that from Pascal?
For example, WSOCKSQB has a routine called WSINIT, which doesnothing
but return an integer and has no parameters to pass. How do I callthat
from Pascal?
{$L WSOCKSQB.OBJ}
function WSINIT:integer;near;external;
begin
writeln(WSINIT)
end.
Hi, I'm running Borland Pascal 5.5, unfortunately it doesn't work
says BEGIN expected (I guess it doesn't interpret the NEAR or FAR statements),
The WSOCKSQB library is open-source so I could always recompile it if necessary but I shouldn't have to do that.
Why don't you get BP7 then? It's readily available on the 'net,
for instance at ftp://moonhe.jinr.ru/pub/pc/comp/bp7.zip.
but upon changing, I'm getting errors about the PUBLIC calls in the OBJfile
Sysop: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,036 |
Nodes: | 15 (1 / 14) |
Uptime: | 78:13:56 |
Calls: | 824 |
Calls today: | 12 |
Files: | 95,177 |
U/L today: |
1 files (23K bytes) |
D/L today: |
1,434 files (267M bytes) |
Messages: | 298,242 |
Posted today: | 4 |