I`m trying to call function that is in the dll, but GetProcAddress returns NULL and GetLastError returns 127 - function not found. But the function IS in that dll! Does anybody know, wheres the mistake?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you are trying to get a function for a win32 dll, you need to put an A or a W at the end of the function name to show that you want the ASCII or Unicode version. Otherwise, are you sure you are using LoadLibrary() first?
Kip
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I`m trying to call function that is in the dll, but GetProcAddress returns NULL and GetLastError returns 127 - function not found. But the function IS in that dll! Does anybody know, wheres the mistake?
If you are trying to get a function for a win32 dll, you need to put an A or a W at the end of the function name to show that you want the ASCII or Unicode version. Otherwise, are you sure you are using LoadLibrary() first?
Kip
Yes, this is my OWN dll (and I am using A at the end). I am sure that I am using LoadLibrary () first.