Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling a DLL file
Message
 
To
17/09/1996 21:51:07
General information
Forum:
Visual C++
Category:
Other
Miscellaneous
Thread ID:
00008055
Message ID:
00008059
Views:
35
>I have a DLL file build in C for win 3.1 and i try to call from visual Basic 16 .and 32 bits. When i do this the system gave me a fatal error and i must shut down the program and then the computer. My DLL accept 4 string parameters and return 1 string. what i'm doing wrong?

I don't claim to be an expert in C or VB, but I do know that they reference strings a little differently. I had a friend help me with a DLL for VFP that he wrote in C++, and because of the way C++ uses pointers and null string characters, he had to play with it to get it to work right.

Sorry, that's probably not real helpful, but it may get you looking in the right places. (s)

HTH,
Scot.
Previous
Reply
Map
View

Click here to load this message in the networking platform