about rc file
I have following entry in my .rc file for the owner drawn button control I think last four entries (66,17,120,13) are for the position and size for the button (I think) CONTROL "",IDC_BUTTON_DIRECTION_FLYIN,"Button",BS_OWNERDRAW | WS_TABSTOP,66,17,120,13 But I dont know what unit is... 5 Jun 2010 18:02
error: Can't register window class named Afx:00400000:0
Hi, sometimes I get a debug error message (ASSERT: Unhandled exception at 0x7c812afb in docviewtest.exe: Microsoft C++ exception: CResourceException at memory location 0x00f4fc38..) The error occured in the wincore.cpp ------------- LPCTSTR AFXAPI AfxRegisterWndClass(UINT nClassStyle, HCURSOR hCursor, ... 27 May 2010 08:10
Toolbar & OnUpdateCmdUI - some Buttons are more buttons than others.
Hello, I have an application with a toolbar and I'm using OnUpdateCmdUI to update Toolbar-Button states. The Toolbar is derived from CToolbar and has just a few additions. This is not my work, though. The Toolbar has 9 Elements, them being 7 Buttons, a checkbox (is logically a button, too) and a dropdown comb... 27 May 2010 03:50
VS2010 - A Thing of Beauty!
Just finished installed VS2010/PRO. What can I say - BUT WOW!! Absolutely incredible - Microsoft GREAT JOB!! There were were some things, like not being able to step thru some code, slow stepping, a new GUI editor to get use too, but overall - I LIKE!!!! No real compiling of anything, just created a few new ... 27 May 2010 18:11
App local deployment with VC 2010
Ok, the bad guys *were* waiting behind the rocks. I removed all the manifest stuff from the RC files, and tried deploying with mfc100u.dll msvcr100,dll and msvcp100.dll in the same directory as the exe, and no sign of any manifests. It tries to run but..... Dependency walker tells me that GPSVC.DLL and IE... 29 May 2010 14:39
Product Version vs File Version
When setting these values, what exactly is the difference between the two? What's an example where they would be different? Thanks ... 29 May 2010 15:46
Jochen Kalmbach's NNTP bridge
Hi all, it seems that Jochen Kalmbach developed an NNTP bridge for the MSDN Forums: http://blog.kalmbach-software.de/2010/05/26/ann-community-forums-nntp-bridge/ http://communitybridge.codeplex.com/ ....maybe a good tool to access http://social.msdn.microsoft.com/Forums/en-US/vcmfcatl/threads ? Giova... 5 Jun 2010 16:56
Questions about vcredist_x86.exe, (VS2008 redist).
Hi, I want to include the redist in my setup. Is there a way of checking if I actually need to run it? If the user already has all the dlls needed then I don't even want to launch the exe, (because it is very slow). Thanks Simon ... 26 May 2010 11:22
Manifest Hell - a thing of the past?
I remember struggling to deploy a VS 2008 program, with MFC and CRT DLLs in the program's own folder (until I got help here with what to put in the manifest). I had heard a rumour, and the help system *seems* to confirm it, that the manifest is no longer necessary for this with VS 2010. The program will fi... 27 May 2010 18:11
Hello, I am developing a 64-bit MFC application using VC2008. I have a method, that once a user clicks a button, the "File Open" dialog box is displayed. The dialog box variable is declared locally in the method. I noticed (using Task Manager), that once the dialog box opens, the application memory usage incr... 31 May 2010 11:58