Fail to register dll in VS .Net 2003

  • Thread starter Thread starter Mack
  • Start date Start date
M

Mack

Howdy,

I have recently converted my project from VC++6 to VS.Net 2003 VS7.1,
and now, It won't register.

when running regsvr32 I get:

LoadLibrary failed - the specified module could not be found
and when running directly from the IDE I get:
Project : error PRJ0019: A tool returned an error code from
"Performing registration"

or (when I enable the 'register output' option for the project):
ShellExt : error PRJ0002 : error result returned from
'd:\Optikad.32x\shellext\Debug\BAT000115.bat'.

I tried to display a debug message in the first code line of
DllRegisterServer, and the mesasge was not shown. The project is not
dependant on other dlls and registers perfectly when built in VC6.

BTW I use Windows 2000.

Any help in this sad issue will be appreciated.

moshes

moshes AT optitex DOT com
 
Have you used depends.exe to confirm that your new DLL isn't dependent on
another DLL?

Have you tried running regsvr32 on your DLL directly from a command-prompt
to see what error message it displays?

-cd
 
Back
Top