home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- Path: 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
-
- 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.
-