If I compile this dll (as c:\my_dll.dll) --
#COMPILE DLL
SUB try_this ALIAS "try_this" () EXPORT
MSGBOX "inside dll"
END SUB
and this exe --
#COMPILE EXE
DECLARE SUB try_this LIB "c:\my_dll.dll" ()
FUNCTION PBMAIN() AS LONG
CALL try_this()
END FUNCTION
then when I try to run the .exe, I get the error msg --
"The procedure enty point TRY_THIS could not be located in the
dynamic link library C:\MY_DLL.DLL."
Note the caps in the error msg.
If I redo the the dll and exe source code with caps (i.e. TRY_THIS instead of try_this) and recompile, everything works. Any thoughts?
#COMPILE DLL
SUB try_this ALIAS "try_this" () EXPORT
MSGBOX "inside dll"
END SUB
and this exe --
#COMPILE EXE
DECLARE SUB try_this LIB "c:\my_dll.dll" ()
FUNCTION PBMAIN() AS LONG
CALL try_this()
END FUNCTION
then when I try to run the .exe, I get the error msg --
"The procedure enty point TRY_THIS could not be located in the
dynamic link library C:\MY_DLL.DLL."
Note the caps in the error msg.
If I redo the the dll and exe source code with caps (i.e. TRY_THIS instead of try_this) and recompile, everything works. Any thoughts?
Comment