regsvr32 - Unable to register DLL using Regsv32 - error "Dll was loaded but the entry-point DllRegisterServer was not found" -
i have written own class library using c# 3.5. using dll in classic asp application, trying register dll in registry using regsvr32 command. getting typical error "the module "testdll.dll" loaded entry-point dllregisterserver not found.make sure "testdll.dll" valid dll or ocx file , try again**."
i found other option include switch /tlb in regsvr32 command, going ahead. sure if dll getting registered or not ?
could please let me know missing here ? urgent.
(note :- have os windows 7 on machine. make difference ?) quickest response appreciated.
regards sarang
you attempting register dll not com library. pre .net com dlls need export set of functions , interface implementations support things self registration (in case) , class factory things. these standardized exports hooks com implementation in windows was/is able interact dll via com conventions.
for .net, these exports, , tools need them regsvr32, not apply directly assemblies create, if set com interop.
registration , type initialization handled quite differently .net interop. registration instance handled a tool called regasm.
do research on com callable wrappers .net/com interop. http://msdn.microsoft.com/en-us/library/bd9cdfyx.aspx
Comments
Post a Comment