Click to See Complete Forum and Search --> : Specified DLL function not found


December 2nd, 1999, 01:37 AM
I don't know why it doesn't find functoins in a dll.
Error says: Specified DLL function not found
I made VC++ Dll file to interact with vb interface.

I declared a function in the dll like this:

private Declare Function vbRegister
Lib "C:\Windows\Desktop\show_interface\serial.dll"
Alias "Register"
(byval hWnd as Long, byval nCommPort as Long, byval dwBaudRate as Long) as Long



at the form general declaration
Is there anything wrong you can think of?

Lothar Haensler
December 2nd, 1999, 01:59 AM
I'd use DUMPBIN /EXPORTS (from VC++) to get a list of names of exported functions.
may be "Register" is not the exported name.