I have a C++ application exe that uses a C++ dll. I don't have the source of this C++ application and
cannot rebuild it. But I know that it uses the traditional LoadLibrary and GetProcAddress to access individual functions in the dll.
For some reasons, I want to replace the C++ dll with a VB.NET dll.
The dll is not and ActiveX and is therefore not registered.
I think I cannot use a class but a module since the C++ exe application does not expect any class in the dll.
In all my attempts, I could not have the inner functions of the VB.NET to be called by the C++ exe.
How should I write the VB.NET dll?
Thanks for the help.
cannot rebuild it. But I know that it uses the traditional LoadLibrary and GetProcAddress to access individual functions in the dll.
For some reasons, I want to replace the C++ dll with a VB.NET dll.
The dll is not and ActiveX and is therefore not registered.
I think I cannot use a class but a module since the C++ exe application does not expect any class in the dll.
In all my attempts, I could not have the inner functions of the VB.NET to be called by the C++ exe.
How should I write the VB.NET dll?
Thanks for the help.
Comment