First  |  Prev |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Are For loops macros possible?
I am implementing a callback function for multiple callbacks, but the callback function does not have a parameter such as a handle or number to tell which callback the call is for. I have no control over it, so I can't add my own parameters, so I have to provide different entry points that calls a centralized r... 1 Mar 2010 12:34
C++ Redistributables
Hi, I am running XP 64 and have been cleaning out some old software etc. I have many (8) different C++ redistributables listed - do I need all these or should a new version clean out the old when installed? Thanks in advance, Dave ... 3 Mar 2010 00:47
One-stop learning web-site?
Does anyone know of any web sites that have much info on many aspects of C++ programming? such as sockets, unicode, multithreading, interface design, database design and advanced controls programming (Grid) etc. If there aren't, could I have the links from various places that cover those subjects? I've taken a l... 27 Feb 2010 12:09
Click in the command prompt window pauses the application
Hi all, I created a console application which has to run until CTRL+C is used. Everything works fine besides the fact that if one clicks with the mouse into the command prompt window the application pauses. How can I get rid of this? I mean my application shouldn't get paused whatever the user is doing. Can I so... 2 Mar 2010 05:42
some bugs in VS2010 RC
Hi all, we have a large template-based set of headers; they are pretty much standard compliant and we cross-compile with VS2005, VS2008, the intel compiler and some versions of gcc. A few days ago we tested VS2010 RC and we found the following problems: (1) if a class has swap(T&) and swap(T&&) then in some ca... 30 Mar 2010 09:26
Endianness of padded scalar objects - Correction
Sorry - In my last posting the line else if (test.bytes[sizeof(int) - 1] == 1) should have been else if (test.bytes[sizeof(test.obj) - 1] == 1) ... 24 Feb 2010 21:07
Endianness of padded scalar objects
Hello, Here is an issue I should know, but I just realized I'm not quite sure. Of course, the endianness of a multibyte scalar object is defined by whether the least significant byte occupies the lowest address (little endian) or the highest address (big endian), (I'm not concerned about "middle endian" here)... 26 Feb 2010 08:33
why the different results?
Hello I have this code: #include <stdio.h> #include <stdarg.h> bool abc1( unsigned long &v1, unsigned long &v2, unsigned long &v3, ...) { va_list va; va_start(va, v3); printf("<abc1> "); for (int i=0;i<5;i++) { printf("%02x ", va_arg(va, int) & 0xff); } printf("</abc1>\n... 24 Feb 2010 09:45
VirtualAlloc
"mr.sir bossman" wrote: I am new to using VirtualAlloc and was wondering if someone could tell me what I am doing wrong. I get a "First-chance exception in XXXX.exe: 0xC0000005: Access Violation." struct _WndProcThunk { DWORD m_mov; //32bits ... 23 Feb 2010 00:17
Building 64bit/32bit targets
I'm using Visual Studio 2008 Express under Windows 7 Ultimate (64 bit). Initially, I was planning to build my app as a 64 bit app. I installed the Windows SDK and followed various instructions on the web to install this (incl. copying some registry values from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio... 23 Feb 2010 00:17
First  |  Prev |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20