English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

There are some things I need to do that VB Script cannot do, so I made a class with the calls and checked the "make visible to Com" flag. Trying to register the dll with regsvr gives me a "no entry point found" error, and trying to add it to component services gives me a "no components found" error.

I am at the end of my rope and have searched google groups, msdn, and just about everywhere else. There does not appear to be any document that explains it so that it actually works.

2006-08-12 16:38:09 · 1 answers · asked by soulblazer28 2 in Computers & Internet Programming & Design

1 answers

Every time you recompile a .Net class the GUID associated with COM visibility changes, so you need to give your assembly a strong name and explicitly define a GUID.
Also the generated DLL still contains .Net MSIL code. You should make VB to generate the proxy/wrapper COM DLL in addition to the first one and regsvr that new one. Both DLL's are required and target PC need to have .Net framework installed.

Loren Soth

2006-08-12 23:37:15 · answer #1 · answered by Lord Soth 3 · 0 0

fedest.com, questions and answers