N
Nick Alexander
I have a 3rd party application API that I have been using, which all
works in VB6. I have upgraded to Visual Studio .Net 2003, and am
struggling to get it to work. What I did was:
VB6: (This works fine)
Create an ActiveX DLL project.
Refer to the API's .tlb file.
Use the Implements statement to use the API's interface.
Register the DLL with RegServ32.
From within the 3rd party app, refer to my functionality with
DLLName.ClassName.
VS 2003 .Net: (This doesn't work)
Create a VB Control Library DLL.
Refer to the API's .dll file.
Use the Implements statement to use the API's interface.
I get an error that the entry point could not be found if I try to
register with RegServ32; I beleive this is because I shouldn't be
trying to register it.
I get no response when I refer to my functionailty within the 3rd
party app.
I have not yet got the procedural differences between COM and .Net, so
I have seen reference to using gacutil.exe to registering my assembly,
but when I do that, I get told that it doens't have a strong name, so
then I start looking at sn.exe ...
Can anyone help me with an outline of the process I should be
following?
works in VB6. I have upgraded to Visual Studio .Net 2003, and am
struggling to get it to work. What I did was:
VB6: (This works fine)
Create an ActiveX DLL project.
Refer to the API's .tlb file.
Use the Implements statement to use the API's interface.
Register the DLL with RegServ32.
From within the 3rd party app, refer to my functionality with
DLLName.ClassName.
VS 2003 .Net: (This doesn't work)
Create a VB Control Library DLL.
Refer to the API's .dll file.
Use the Implements statement to use the API's interface.
I get an error that the entry point could not be found if I try to
register with RegServ32; I beleive this is because I shouldn't be
trying to register it.
I get no response when I refer to my functionailty within the 3rd
party app.
I have not yet got the procedural differences between COM and .Net, so
I have seen reference to using gacutil.exe to registering my assembly,
but when I do that, I get told that it doens't have a strong name, so
then I start looking at sn.exe ...
Can anyone help me with an outline of the process I should be
following?