|
First
|
Prev |
Next
|
Last
Pages: 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115
ambiguous access of 'Base' ?? Hello, Sample : class "Derived" derives from Derive1 and from Derive2, and both derive from Base. now, Derived has a function "make2" which does Base(); this results in a compile error : ambiguous access of 'Base' ? This call will call / has to call the constructor of Base. Where is the ambiguity ?... 10 Apr 2008 10:28
C or C++ if I need to write C++, I will be forced to learn C automatically? Since I saw many C++ code need to call C library also. Most program use a combination of C++ code and calling C functions. Then writting C++, I cannot avoid learning C right? ... 3 May 2008 16:58
Visual C++ (non-standard C++) Does visual C++ uses a lot of non-standard C/ C++ syntax? for example - 1) near / far seem not standard C++ / standard C typedef DWORD near *PDWORD; typedef DWORD far *LPDWORD; 2) I heard the following is compiler specific _STD_BEGIN _STD_END 3) I heard the following is compiler sp... 9 Apr 2008 20:22
global and static variable in a class delivered in a DLL Hello everyone, If we define global variable and static variable of a class, which are implemented in a DLL. My questions are, 1. All instances of class share the single copy of global variable and static variable of class? If yes, I need to have some synchronization approach on them. 2. Is it safe to ... 10 Apr 2008 16:06
Is it possible to reposition window's menu bar? Hello, I tried this question in the microsoft.public.win32.programmer.ui, but nobody answered. I hope I'll be more lucky here. I have a requirement to make custom non-client area for main window. I handle the WM_NCPAINT message and draw window frame and window caption correctly. However, window's menu bar c... 10 Apr 2008 04:29
Data Type One of the confusion for windows programming is there are so many data type. some of the type are in here http://msdn2.microsoft.com/en-us/library/aa383751.aspx http://msdn2.microsoft.com/en-us/library/323b6b3k(VS.80).aspx is there a complete list of windows data type listing? does standard C++ has that kin... 9 Apr 2008 05:20
reference The prototype of GetExitCodeThread is like this - GetExitCodeThread( __in HANDLE hThread, __out LPDWORD lpExitCode ); ============================= why we put &dwExitCod in the parameter? like - DWORD dwExitCode; GetExitCodeThread( hth2, &dwExitCode ); ============================= di... 10 Apr 2008 18:30
why CRT has to written in C why CRT for VC++ has to written in C http://msdn2.microsoft.com/en-us/library/59ey50w6%28VS.80%29.aspx is that because CRT is one level above the Win32 API ? Win32 API is the lowest level on API that talk to hardware itself and Win32 is written in C also So it make more sense to write CRT in C too? ... 10 Apr 2008 08:50
static member why following source file complied with error http://www.oniva.com/upload/1356/ThreadX.cpp http://www.oniva.com/upload/1356/ThreadX.h http://www.oniva.com/upload/1356/Main.cpp 1>d:\c_htp\multithreading\part1listing1\threadx.cpp(15) : error C2724: 'ThreadX::ThreadStaticEntryPoint' : 'static' should not be used ... 8 Apr 2008 21:16
HANDLE In visual C++, there is datatype HANDLE void* HANDLE so void* means I can assign any datatype ? like int* string* byte* bool* ... and for HANDLE, is that use only for holding another pointer? like - HANDLE hand = myfunction(); why we need to use HANDLE to hold pointer? can we just define a pointe... 9 Apr 2008 09:42 |