visual-c++-2008
Nested inheritance trouble in Visual Studio 2008
I am currently working on a widget-based graphical user interface. It is structured as a tree with Widgets as the leaves and Containers as the nodes of the tree. The (solvable) problem with this struc[详细]
2023-04-10 04:07 分类:问答Arrays with Curiously Recurring Template Pattern?
I have a CRTP-based wrapper for a Windows HANDLE: #include <windows.h> template<class T> class HandleT[详细]
2023-04-09 05:45 分类:问答Sleep() doesn't work in winapi32?
I\'m still a beginner in programming GUI using c++ winapi32, and I found something strange. Here\'s a part of my code:[详细]
2023-04-02 08:05 分类:问答Is it possible to inject code into translation unit immediately before compilation
I build my C++ code base with MSVC++ 2008 and 2010. Is it even possible to get translation unit, analyze it, insert some code if necessary and then pass on to the compilation process? Original source[详细]
2023-03-30 22:28 分类:问答Why do I get these warnings in Visual C++ 2008 when building a struct?
I have this code typedef struct { const char* fooString; const boolfooBool; }fooStruct; And this initializer:[详细]
2023-03-29 17:06 分类:问答Visual C++ generates DIV instead of IDIV (x86, integer arithmetic)
I\'m working with Visual C++ 2008 here (9.x) and I was preparing a fixed point value when I ran into the compiler generating a DIV instead of an IDIV. I collapsed the code into a tiny piece to exactly[详细]
2023-03-29 05:41 分类:问答Are there any side-effects of using macro _BIND_TO_CURRENT_VCLIBS_VERSION?
We are porting a VC++ project from Visual Studio 2003 to Visual Studio 2008 SP1(9.0.30729.4148). The dependent external libraries are also[详细]
2023-03-23 00:20 分类:问答FILE pointer mysteriously resetting to NULL
I\'m using visual stduio 2008 c++. And I\'m writing windows form application. I declare a FILE* array at the top of Form1.h as a global value[详细]
2023-03-22 18:27 分类:问答communication to usb port by using vc++2008
I want to communicate to halios 开发者_StackOverflowsystem(hardware) through usb port. I have a code which shows that the device is attached. I used USBTrace which shows that how many bytes are going[详细]
2023-03-21 00:43 分类:问答Creating a standalone DLL that contains all dependencies
I\'m working on a C++ project in VS9 that references a number of header files, .dll and .lib files. I want to output this as a standalone DLL containing all the dependencies so that 开发者_运维知识库[详细]
2023-03-18 15:50 分类:问答