Welcome to Dream.In.Code
Become a C++ Expert!

Join 137,393 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 2,144 people online right now. Registration is fast and FREE... Join Now!




Debugging unmanaged C++ dll

 
Reply to this topicStart new topic

Debugging unmanaged C++ dll

aronsatie
31 Aug, 2006 - 10:44 AM
Post #1

New D.I.C Head
*

Joined: 31 Aug, 2006
Posts: 1


My Contributions
Hi,

This is the first time I post here. I developed an application using VC++ 6.0 and VB 6.0. The VC++ part is an MFC dll, its functions are called by the VB part, which is an exe. This application works quite well.

Recently I decided to try C# and rewrote the VB6 portion in VC# 2005 Express. It looks OK, but unfortunately I cannot check if it passes the arguments correctly to the exported functions of the dll.

If I try to debug the VC++ dll using the exe compiled from C# 2005 express, the application does not even start, not even if I set a breakpoint at the first line of code that is executed in the dll. This problem never appeared when I used the exe compiled from VB6.

Could be an unmanaged - managed thing, I do not know. This is the first time I used VS.net.

I would really appreciate if anyone could help me.
User is offlineProfile CardPM
+Quote Post

Reply to this topicStart new topic
Time is now: 12/5/08 02:40AM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month