First  |  Prev |  Next  |  Last
Pages: 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
Problem with compilation
Hi, I'm facing the silly problem. In my header file, a namespace is declared and used it in the project. VS2003 is not compiling the project giving more than 100 same errors pointing at inbuilt file. “C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include \cstdio(17) : error C2143: syntax error : missin... 25 Apr 2008 21:11
what is type specifier to print unsigned long long
I'm trying to write to a file using fprintf_s a value of type unsigned long long, using the format specifiers "%ld". However, when I open the text file, I see incorrect values. I think I am using the wrong type specifiers. I can't find the correct information in the help section. Does anyone know what format... 25 Apr 2008 09:26
Which inclue file to use to use the winapi. Not using stdafx or MFC.
On 24 avr, 07:49, chrisstankev...(a)gmail.com wrote: Q1: Which include file(s) do I need to place in my cpp file to call the winapi function ::CreateSemaphore? Q2: Which include file(s) do I need for HANDLE To access the Win32 API, you should always #include <windows.h> See the documentation for CreateSem... 24 Apr 2008 03:39
Which inclue file to use to use the winapi. Not using stdafx or MFC.
Q1: Which include file(s) do I need to place in my cpp file to call the winapi function ::CreateSemaphore? Q2: Which include file(s) do I need for HANDLE Note: - I am not using MFC, precompiled headers, or stdafx.h - ::CreateSemaphore is defined in winbase.h per the MSDN, but including winbase.h is not enough t... 24 Apr 2008 02:03
Strane linker errors when exporting DLL that uses ADO
Hi, I have encoutered a strange error which I cannot fathom. I have a DLL that exports a base class and a derived class, both exported. Here is an example header file snippet: class __declspec(dllexport) A { //All kinds of stuff virtual method( _RecordsetPtr rs ); }; class __dclspec(dllexport)... 24 Apr 2008 14:13
Loading numbered files in sequence
Hi all, So far, when I had to load a bunch of files from a directory, I always used the functions _findfirst() and _findnext(). Now, however, I don't seem to be able to make them read some files in the right order. The files are named something like CCC_NNN_NNNNNN.ext where C are letters and N numbers. The las... 23 Apr 2008 14:54
Headers common to .cpp and .rc files
My .rc files use definitions common to them and the .cpp files. These definitions are in header files included by both. However, it is convenient for these headers sometimes also to contain things like structure definitions and inline functions which are irrelevant to the rc files, and may cause problems for... 30 Apr 2008 14:52
C++ utility calling "delete this" fails with exception on 2008
Thanks for the input. Code Sample I posted is not the actual code. Kind of psuedo code. MyObjectBase doesn't have a virtual destructor, does it? Yes. Destructor in classes are virtual. Do all modules link against the same flavor of CRT DLL? Dumpbin /imports of exe and two DLL all shows MSVCR80.DLL. Embe... 29 Apr 2008 15:56
Hidden window
Hi.. My UI less COM exe now needs a message handler to recieve WM messages. So i want to make any one class to derive from Window..how do i proceed? How to create a new hidden window instead sublassing and handling messages???? ... 23 Apr 2008 05:54
issues in float division a/b
Hello everyone, If a and b are both float (or double, I think it does not matter?), and I want to calculate a/b. I am wondering whether there will be any issues which make the calculation result in-accurate compared with the calculation result by-hand (on a paper). :-) For example, if a is too big, or if ... 23 Apr 2008 02:44
First  |  Prev |  Next  |  Last
Pages: 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44