A
AP
Hello, I am trying to register a dll so that I can call functions from it
within vb.net.
I have used the command "regsvr32 game.dll" which diplays a message box
saying DllRegisterServer in Game.dll suceeded.
In my VB.net application, I have added the following function to a module.
Declare Auto Sub CGL Lib "Game.dll" _
Alias "CreateGameLevel" (ByVal s As Integer)
When I try to run the program with the code CGL(1) placed in the Form load
method, I get an System.DllNotFound Exception, unable to load dll.
Why is this message appearing after windows has successfully registered the
dll, what am I doing wrong?
Thanks
AP
within vb.net.
I have used the command "regsvr32 game.dll" which diplays a message box
saying DllRegisterServer in Game.dll suceeded.
In my VB.net application, I have added the following function to a module.
Declare Auto Sub CGL Lib "Game.dll" _
Alias "CreateGameLevel" (ByVal s As Integer)
When I try to run the program with the code CGL(1) placed in the Form load
method, I get an System.DllNotFound Exception, unable to load dll.
Why is this message appearing after windows has successfully registered the
dll, what am I doing wrong?
Thanks
AP