Creating C++ .dll File for Use with C# - Error: "regsvr32.exe Cannot be Found

2 replies · 2K views · last reply
CFDFEAGURU
Messages
781
Reaction score
10
Hello all,

I am using C++ 2008 Express edition to create a .dll file for use in C# and I am receiving the following error from my compilier.

"regsvr32.exe cannot be found"

I have all of the properities set correctly for the .dll creation and the .def file is specified correctly.

Does anyone know what is creating this?

Thanks
Matt
 
CFDFEAGURU said:
Hello all,

I am using C++ 2008 Express edition to create a .dll file for use in C# and I am receiving the following error from my compilier.

"regsvr32.exe cannot be found"

I have all of the properities set correctly for the .dll creation and the .def file is specified correctly.

Does anyone know what is creating this?

Thanks
Matt

It sounds like your classpath may not be including the directory where that file is located. I found it in my Windows/system32 directory.