Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / DBPWinsock in DBC w/ enhancements

Author
Message
bduffy
18
Years of Service
User Offline
Joined: 1st Mar 2006
Location:
Posted: 2nd Mar 2006 17:01
I'm having trouble getting the ws_Receive function to work in Exeat's DBPWinsock DLL. All the other functions seem to work though. I am using it to create a DBC client that talks to a Java-based server. DBC-to-server messages work great. Server-to-DBC messages show up in the ws_MessageCount function, but when I try to call ws_Receive I always get a "Severe Exception!" error message.

I am using the "call dll" approach to access the functions since I am new to DB and I don't understand how to make the functions act like commands in DBC.

Has anyone else seen this kind of problem?

Thanks,
Brian.
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 2nd Mar 2006 21:04 Edited at: 2nd Mar 2006 21:07
Im pretty sure exeats dbpwinsock is a plugin for DBPro. If you have DBCe you might be able to use it. Also there is an older version of the plugin - people have experienced problems with newer one. If you want to try the older one you'll need to ask exeat

FREE Automatic file updates for your distributed Games and Apps - see Program Announcements Forum - DBP Demo
bduffy
18
Years of Service
User Offline
Joined: 1st Mar 2006
Location:
Posted: 3rd Mar 2006 04:27
How can I get in touch with Exeat to make that request?
Dave J
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 7th Mar 2006 11:54
Wasn't aware anyone was still using the plugin, uhhh, yes, there were issues with the plugin but because I could not replicate them on my own computer (making it impossible to test), I lost interest and just gave up.

Might reignite this project, might not, depends if I can get that problem sorted (can't even remember what it was, anymore). Also, I'd gladly convert the plugin to a DBCe DLL but I'm not entirely sure what the differences are and what is required to get it working.


"Computers are useless, they can only give you answers."
bduffy
18
Years of Service
User Offline
Joined: 1st Mar 2006
Location:
Posted: 7th Mar 2006 21:08
I'm using the version I got from CattleRustler. I'm not exactly sure of the version number but the DLL was last modified on 7/29/2004 and has a file size of 86,101.

Unfortunately, the "severe exception" always get thrown when I try to call the ws_Receive function. I've attached a code segment that shows how I'm calling the DLL. The output of this code is:

1 Message(s) Found
ws_Receive exists

followed by the runtime error message: Runtime error at line xx. Severe Exception!

The message I am sending from the server to the DBC client has been reducued for simplicity to just the letter "A" followed by a null character (CHR$(0)).
bduffy
18
Years of Service
User Offline
Joined: 1st Mar 2006
Location:
Posted: 8th Mar 2006 16:41
Apparently the code segment on the my last posting didn't make it through to the forum, so here it is ....

count = call dll(1, "ws_MessageCount")
print count ; " Message(s) Found"
if dll call Exist(1, "ws_Receive")
print "ws_Receive exists"
msg$ = call dll(1, "ws_Receive")
endif

Login to post a reply

Server time is: 2024-11-22 00:34:30
Your offset time is: 2024-11-22 00:34:30