>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.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement