Re: can't bebug a dll
From: Joseph M. Newcomer (newcomer_at_flounder.com)
Date: 01/20/05
- Next message: Punit: "Keyboard Messages not intercepted when PreTranslateMessage is used"
- Previous message: ajay.sonawane_at_gmail.com: "How to use Activex Control in MFC?"
- In reply to: msnews.microsoft.com: "can't bebug a dll"
- Next in thread: PanTao: "Re: can't bebug a dll"
- Reply: PanTao: "Re: can't bebug a dll"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 19 Jan 2005 23:38:16 -0500
Yes, but why do you care that the exe contains no debug information? Since you are
debugging the DLL, this message can obviously be ignored.
In VS6 you had to explicitly specify what DLLs you wanted, but I can't find a similar
feature in .NET 2003.
There are serious problems combining release MFC executables with debug MFC DLLs; you get
conflicts since you have two different MFC runtimes conflicting for resources. However,
you said the DLL is a simple windows sdk program, which is a set of terms which generally
don't fit together (MFC also uses the Windows SDK, for example); what I believe you are
saying is that the DLL is not an MFC-based DLL, so there should be no conflict when it is
used with an MFC executable, so the issues about the DLL being linked with an MFC debug
version don't make sense.
joe
On Thu, 20 Jan 2005 11:32:07 +0800, "msnews.microsoft.com" <_bandianxing_@hotmail.com_>
wrote:
>hello, all
> I am trying to debug a dll. The exe file is a mfc release version
>file, and the dll currently is a simple windows sdk program.
>My environment is windows XP, vc dotnet 2003, and I have set the exe as
>the debug commmand in the project-debug-debugging-command.
>While I debug the problem, the exe is executed, and report the the
>exe file contain no debug information. but the breakpoint in my dll is not
>effective. What may be the problem?
>
>And also, if the exe is a mfc release version , may I link the dll with
>mfc debug version? Is there some conflict?
>
>many thanks,
>PanTao
>
Joseph M. Newcomer [MVP]
email: newcomer@flounder.com
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
- Next message: Punit: "Keyboard Messages not intercepted when PreTranslateMessage is used"
- Previous message: ajay.sonawane_at_gmail.com: "How to use Activex Control in MFC?"
- In reply to: msnews.microsoft.com: "can't bebug a dll"
- Next in thread: PanTao: "Re: can't bebug a dll"
- Reply: PanTao: "Re: can't bebug a dll"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|