First  |  Prev |  Next  |  Last
Pages: 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
unsigned int
Given the following example: int i20 = 20; unsigned int ui21 = 21; int i = ( i20 - ui21 ); // i is set to -1 double d = ( i20 - ui21 ); // d is set to 4294967295.0 Are the results shown correct? What can I search for to find the standard behavior of calculations involving unsigned int? Since i20 is an int... 21 May 2008 15:59
Problem in writing into a file in German XP OS
I have VC6 application which creates and writes into a Cfile object.It is working fine with windows XP English version.If the same application is executed in German version windows XP OS application is crashing.I found out that while writing data into the German os environment it is not allowing.(Access violation) ... 22 May 2008 03:43
How can I make a connection in two TreeCtrls.
I have two CtreeCtrls which contain the same items in my project. m_tree1,m_tree2. I want to do the same operation on m_tree2 when I operate m_tree1.For Example,I want to add a child item to the item in m_tree1,and m_tree2 display the same effect. How can I make a connection in two TreeCtrls. ... 20 May 2008 08:23
'const' usage
Hey, all - I have a member method of a class that returns a pointer to an internal object. I want clients of the class to be unable to modify the internal object pointed at, so I precede the return type with 'const'; e.g., 'const InnerObject* GetInnerObject();'. I also want this method tagged as 'const' to ... 20 May 2008 20:58
Unable to initialize COM in VC Dll when invoked via C# application
Hi, I have a C++ DLL, it exports some some plain C style functions. This functions internally initializes COM and then MAPI. This works fine if I use the DLL from a C++ application (I tested with a C++ Win32 console application). But, when I call/invoke those functions from a C# .Net application using PIn... 20 May 2008 16:15
Open .txt file in notepad (Custom Browser - CHtmlView )
Hello, I have created browser using CHtmlView class. If I open .txt file from file menu in my browser it opens in the browser, and not in the notepad.(As in the case of .doc file that opens with microsoft word application). If I open .txt file with Internet Explorer it opens with notepad. Thanks Regards, ... 20 May 2008 03:29
PostThreadMessage Failure
Hi All In my program (VC++ 6) one thread is using PostThreadMessage to communicate with another thread. The call is intermittently failing, and GetLastError() returns 1444. The target thread has a message queue. However, in response to messages (naturally) it calls other functions, so it may be busy at times ... 19 May 2008 04:10
Run-time error when Optimization turned on ?
Desperately asking for help... I'm working on a DLL. The main code parts are following: (I'm trying to include only IMPORTANT lines) // basic custom datatype struct gideElement { float (**eleFunc)(unsigned int, gideElement**); // pointer to pointer to function float (*eleFuncActual)(unsigned i... 20 May 2008 00:21
string class and UNICODE?
Hi, all - How do I use the wchar_t based basic_string derived 'string' class? I though all I had to do was #define _UNICODE and include <string>, and the class implementation would be typedef'd to the wchar_t based version. I have selected 'Use UNICODE character set' in my project settings, but it seems th... 20 May 2008 11:32
oldnames.lib in VS8
I'm trying to build an MFC application from the command line using Visual Studio 8. There are installed only the DLL versions of the CRT and MFC. So from the VS8 Command Prompt I use: cl /EHsc /MD /D_AFXDLL Hello.cpp When I do this I get: LINK : fatal error LNK1104: cannot open file 'OLDNAMES.lib' If I ... 19 May 2008 09:07
First  |  Prev |  Next  |  Last
Pages: 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60