.net - Making a DLL COM accessible -
I have a class library written on the net. I think I want to make available for VB6 / VBA I am What I tried was not working (obviously I am asking this question) What have I done here:
- I created a class library project in Visual Studio 2010 Express and the code Put in the class module.
- I opened the project property and went to "Assembly Information" and checked "vs. com view"
- I have the "Advanced Compilation" option and Targeted Net 2.0 (this Very easy code) was gone.
- I then removed all the references for "system".
- I did not create the project (no alerts or errors) and copied DLF from bin folder to C: \ Windows \ System32 \
- RegSvr32 to register DLS Gone and got the error:
The module "MyDll.dll" was loaded, but the entry point DLLRegisterServer was not found.
Ensure that "MyDll.dll is a valid DLL or OCX file and try again.
Clearly my first attempt was a little naive. ?
Comments
Post a Comment