First  |  Prev |  Next  |  Last
Pages: 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85
migration vc6.0 -> vc8.0
Hello, we are migrating a large codebase from vc6 to vc8 while adding Windows Vista to our supported Platfoms. We experience some strange program terminations with the new code on the vista platform, while everything runs fine on a XP box. At the moment, we suspect some compiler setting like /GS to be part ... 28 May 2007 04:30
Custom CEdit Text Control
Ok I spent over 24 hours on groups just trying to sub class an MFC CEdit control. All the information I found was correct but I still had to work out a good 30% of the solution myself. Bits of vital - assumed - information was missing. I am posting this in an attempt to stop anyone else having to spend so much... 23 May 2007 05:11
writing a service
Hello NG, I have a server application running in the background. Now I want my programme to start when rebooting the pc. I don't want the user to log in so that the programme starts. I use Windows XP or Windows 2000. I think I must programme my application as a service. Do you know how to write a service and ins... 22 May 2007 09:55
CMap causes program to crash on exit
Hello, I'm using a CMap<int,int,CString,LPCTSTR> for storing error messages which I get from a PLC as error codes. This works very well, except that when I exit the program it crashes in CPlex::FreeDataChain() with this error message: Unhandled exception at 0x78356c6e (mfc80ud.dll) in Marker.exe: 0xC0000005: ... 22 May 2007 09:55
Assert in afxwinforms.inl @ line 188
Hi, Visual Studio 2005 SP1, Windows XP Pro SP2 + umpteen updates. I'm getting the assert mentioned in the title of this message within my application. Its in: BOOL CWinFormsControl<TManagedControl>::CreateManagedControl(DWORD dwStyle, int nPlaceHolderID, CWnd* pParentWnd) I'm at a loss to understand wh... 18 May 2007 14:27
CSpinButtonCtrl
Env: WindowsXP, VC+6.00, MFC I need to add some processing just when up/down arrow is clicked. From ClassWazard, the only message I can use is UDN_DELTAPOS. Inside OnDeltaposSpin(), I need to know which button between up or down arrow is clicked because I have to get the position after up or down arrow is cl... 16 May 2007 10:39
CMap and struct
I have a struct in my program defined as below: struct SDataType { unsigned long nNamespace; unsigned long nDataType; SDataType& operator=(SDataType& s2) { nNamespace = s2.nNamespace; nDataType = s2.nDataType; return *this; } bool operator==(SDataType s2) { return ((nNamespace == s2.nNamespace) && (nDa... 3 May 2007 16:39
CPropertySheet doesn't work after AfxSetResourceHandle().
Hi. Please, help me find out what's happenning with 'CPropertySheet::OnInitDialog()' after AfxSetResourceHandle() is called. I'm working at a multilingual application. The user can change it's UI language from the 'Settings' property sheet. When user does it, the program loads the appropriate resource DLL and... 22 Apr 2007 15:05
DHTML_EVENT_ONMOUSEOVER not caught for <TR> and other tags
Hello, I am trying to catch this event othe TR and TABLE tag. I have verified that the event is fired in the HTML document by adding OnMouseOver to the tag and it worked. Now I want to catch it in my CDHTMLDialog class and...nothing happens : ( My exemple is pretty simple : The HTML file : <HTML> <BODY> <TABL... 20 Apr 2007 16:42
assertion failed during closing application
Hello I got strange error when I try close my application. Debug Assertion Failed.... in file.... cmdtarg.cpp line 43 Code in this file is: #ifndef _AFX_NO_OLE_SUPPORT if (m_xDispatch.m_vtbl != 0) ((COleDispatchImpl*)&m_xDispatch)->Disconnect(); ASSERT(m_dwRef <= 1); //line 43 What does it mean ? Earl... 20 Apr 2007 06:33
First  |  Prev |  Next  |  Last
Pages: 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85