Hi Ron,
Thank you for your response.
In my C++ DLL, I have the correct code I think, I have the __stdcall, and the __declspec(dllexport), and I know about the alternative of defining the EXPORTS in the .DEF file, but the code is already developed.
I declare the function(s) in my VB program without the "ALIAS", first because I honestly cannot determine what the alias name should be if not the same as the function name, second because I know that C++ mangles the names. I tried to use the suffix "A" and the suffix "W", I still get the same error when I call the function, which is: "can't find entry point in dll".So, I do not know whether it is a whitespace problem or something else.
Just to give you some more details, in my header file(hpp), I define a class with many methods(functions) within that class. When I call the function within the DLL from VC it works with no problem (my call is class:function), which I cannot do in VB, the declare statement won't allow it.
Thanks for your help, I will try to look for those threads you mentioned.
Regards,
Eddie