Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / December 2004

Tip: Looking for answers? Try searching our database.

Debugging C# assembly called from C++

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
listerofsmeg - 30 Nov 2004 17:09 GMT
Hi,

I have a C# assembly that is being called from VC6 via COM.

I open the C# project in .Net, set a breakpoint, set debug type to
"program", and specify my C++ app.

F5 runs the C++ app, but my breakpoint never fires?!

The C# dll is not in the GAC, and the build path is different to the
actual path of the dll used by the C++ app. Could this be anything to
do with it? (I cannot change the build path for some reason - it is
greyed out).

Also tried enabling "debug unmanaged code" but this makes no
difference.

Any ideas?

Thanks
Bonj - 01 Dec 2004 09:53 GMT
> and the build path is different to the
> actual path of the dll used by the C++ app. Could this be anything to
> do with it?

Er.. yes. (Probably.) This is the first thing I'd try. It should register it
on building it, which should set the path that the C++ program uses.

(I cannot change the build path for some reason - it is
> greyed out).
>
[quoted text clipped - 4 lines]
>
> Thanks

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.