🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #2292

Re: Debuging with CV of MFC program qust.

#2292
From: Steven Sinofsky
Date: Sun, 24 Jan 1993 01:55
23 lines
1348 bytes
In article <1993Jan21.132929.3089@aristo.tau.ac.il> bardak@tau.ac.il (Barak Cohen) writes:
>I am writing windows program with MFC (Microsoft found. class) libraries.
>The trouble is that these programs have no WinMain entry point . The entry
>point is through TheApp class. How do I tell CV the entry point in order to
>debug on the source file (*.cpp + *.h)..
>
>
>God bless you all
>
>bardak
>

There is a WinMain entry point, and it is contained in the MFC library.
There is CodeView information available so you can just point the
debugger to those files (c:\c700\mfc\src) when asked at startup.  In
order to get the debug information in your executable, you must be
sure to link with the /CODEVIEW switch.  Also, on the debug versions
of the MFC libraries have codeview information (those variants that
end with a 'd', such as mafxcwD.lib).
-- 
Steven Sinofsky
stevesi@microsoft.com
Disclaimer: I don't speak for Microsoft, BillG does that.
Technical Details
Message-ID: <1993Jan24.015506.10121@microsoft.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!microsoft!wingnut!stevesi
References: <1993Jan21.132929.3089@aristo.tau.ac.il>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!microsoft!wingnut!stevesi
From: stevesi@microsoft.com (Steven Sinofsky)
Subject: Re: Debuging with CV of MFC program qust.
Message-ID: <1993Jan24.015506.10121@microsoft.com>
Date: 24 Jan 93 01:55:06 GMT
Organization: Microsoft Corporation
References: <1993Jan21.132929.3089@aristo.tau.ac.il>
Lines: 21