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

  • Context: C/C++ 
  • Thread starter Thread starter CFDFEAGURU
  • Start date Start date
  • Tags Tags
    C++ Creation File
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
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
 
Physics news on Phys.org
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.
 
I will try that this week.

Thanks
Matt