Am I missing something here?
I need to create a dll in VB that I can then use in Visual FoxPro. To test this out I created the ThingDemo dll from the MSDN tutorial. My intention was to call the DebugID() function, which returns a long value.
So far so good. If I create a reference to the dll in a VB projects I can access the functions as required. What I need to do, however, is to use a declare statement - the one I am using at the moment in VB is "Declare Function DebugID Lib "ThingDemo.dll" () As Long" - when I try to call the DebugID() function I get the runtime error 453 "Can't find DLL entry point DebugID in ThingDemo.dll" If a try to use the dll in Visual FoxPro I get the equivalent error message (can't find entry point).
The DLL is in the path and I have made sure I have used the correct case for the declarations. What am I doing wrong?
Thanks in anticipation for your help.