RegSvr32 results in PRJ0019

Z

Zhou Yi

Greetings!

I have a COM program developed in VC6. Now I converted it to VS.NET 2003,
but the custom build step failed when trying to build it. Here is the
command line in the custom build step:

regsvr32 /s /c "$(TargetPath)"

It fails, and if I remove "/s /c" the message box shows:

LoadLibrary("D:\Bin\DeferredTaskClt.dll") failed - The specified module
could not be found.

The "$(TargetPath)" is what I want to register. The interesting thing is, if
I run the same command line:

regsvr32 "D:\Bin\DeferredTaskClt.dll"

The message box shows:

DllRegisterServer in DeferredTaskClt.dll succeeded.

Could anyone please help me figure out what the problem is?

Thanks for taking your time to read my question. Any clue will be much
appreciated.

Zhou Yi
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top