First  |  Prev |  Next  |  Last
Pages: 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
Disabling exception handling
I wish to disable exception handling to improve application performance. When I do this on VS2005, I get: warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc Besides removing usages of STL classes, is there anything else to avoid? ... 18 May 2008 10:57
errors pointing to the message map
1>c:\documents and settings\luckie.mechtrans\projects\sizecbar.cpp(55) : error C2440: 'static_cast' : cannot convert from 'UINT (__thiscall CSizingControlBar::* )(CPoint)' to 'LRESULT (__thiscall CWnd::* )(CPoint)' 1> Cast from base to derived requires dynamic_cast or static_cast BEGIN_MESSAGE_MAP(CSizin... 18 May 2008 00:28
long double
does someone tell me why microsoft VC++ doesn't know "long double" variables and translate them in "double" ? so as a long double variable is impossible to store. long double r1=240.0L; generate ;long double r1=240.0L; 0041140E fld qword ptr [__real(a)406e000000000000 (415860h)] 00411414 fstp qword ptr [r1]... 17 May 2008 11:56
Some data type question
Since I've moved one of my projects from VS2002 to VS2005, some of it could no longer be compiled. Here comes some snippets PSTR p = buf; ID id = m_TypeManager->getType(p); where FirstType has one argument known as PSTR& and buf is buf[30]; Even I change p to PSTR&, it still doesn't work cannot convert ... 17 May 2008 07:02
Multiple .c files and headers
I have three files, a.c b.c, and a.h. The original file a.c was getting extremely large because it had several large arrays of structs that were initialized in aggregate. I tried moving them to b.c but that caused problems because I had consts or #defines afterwards that give the size in bytes and length in element... 16 May 2008 15:22
Allocate and De-allocate in Multi-DLL Program
I'm designing an application that will consist of several separate but related programs, mostly command-line but at least one windowed program as well. Each program will use some, but probably not all, of a set of common routines for input validity checking, management of a simple data store, etc. These common ... 16 May 2008 20:52
Please Help!!! - CAsyncSocket::OnReceive Not Working for Microsoft UDP Application (msocudp)
To Any Whom Can Answer, Hello. I am using Microsoft's Visual C++ 6.0 UDP application (msocudp) to retrieve packets from a device that is connected to our network. The problem is the UDP application will not receive all the packets from the device. I even used Ethereal (packet sniffer) program to ensure the ... 21 May 2008 15:59
Using ATL::CString in old makefile projects
I have some old C-style code that builds as C++. I'd like to start using ATL utility classes in it. The projects are makefile-based, and I've found something that puzzles me. I want to use ATL::CString in particular, but when I created an instance of a CString I got "error LNK2001: unresolved external symbol "cl... 15 May 2008 19:13
What does cl's /FD option do?
This is with VS2K5Pro SP1. I did the following experiment: create a Win32 Console project, check the box for “ATL Headers” in the Application Settings dialog and compile the resulting stub program. Look at the build log HTML. Among other options, it specifies “/FD” which as far as I can tell is undocumented. A... 15 May 2008 17:41
Are coompilers required to allow unwind semantics to be turnedoff?
Angel Tsankov wrote: Are C++ implementations required to provide means to turn off unwind semantics? Angel: I don't know for sure, but I very much doubt it. AFAIK there is only one requirement for a conforming compiler: to implement the standard. -- David Wilkinson Visual C++ MVP ... 15 May 2008 08:54
First  |  Prev |  Next  |  Last
Pages: 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64