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

  • Thread starter Thread starter CFDFEAGURU
  • Start date Start date
  • Tags Tags
    C++ Creation File
AI Thread Summary
The discussion revolves around an issue with compiling a .dll file in C++ 2008 Express edition for use in C#. The user encounters an error stating "regsvr32.exe cannot be found." Despite having the properties set correctly for .dll creation and specifying the .def file accurately, the problem persists. A suggestion is made that the issue may stem from the classpath not including the directory where regsvr32.exe is located, which is typically found in the Windows/system32 directory. The user plans to investigate this further.
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
 
Technology 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
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I have a quick questions. I am going through a book on C programming on my own. Afterwards, I plan to go through something call data structures and algorithms on my own also in C. I also need to learn C++, Matlab and for personal interest Haskell. For the two topic of data structures and algorithms, I understand there are standard ones across all programming languages. After learning it through C, what would be the biggest issue when trying to implement the same data...
Back
Top