| Thread | Last Post | Replies |
|
| why this wont compile? | 08 Dec 2003 00:53 GMT | 2 |
--------- typedef struct {int i;} somestruct; class A {
|
| does new throw or return NULL? | 07 Dec 2003 13:58 GMT | 1 |
I'm still seeing lots of code like this (taken from the MS directX samples: apDSBuffer = new LPDIRECTSOUNDBUFFER[dwNumBuffers]; if( apDSBuffer == NULL ) { hr = E_OUTOFMEMORY;
|
| Different between Notification & Message | 07 Dec 2003 12:48 GMT | 1 |
Different between Notification & Message is a bit hazy for me. Anyone can explain in detail for me ? Thanks in advance !
|
| hash_map and C++ strings | 07 Dec 2003 01:22 GMT | 1 |
Please help me with this. Does VC's hash_map support C++ strings? If so, why does the following hash_map <int, string> hm2; typedef pair <int, string> pr2;
|
| Can't detect memory leaks properly. | 07 Dec 2003 01:17 GMT | 2 |
I have a project that leaks :( I tried using the _crtDumpMemoryLeaks function, and I get the memory leaks written to the output window, but it doesn't show the correct source file. Instead it shows the following:
|
| MC++ passing pointer to 'int' | 06 Dec 2003 21:57 GMT | 2 |
I need to pass a pointer to 'int' as a parameter in a managed module to a managed member function. I am assuming I need to box my value. Is this true, or can I just pass the address of my variable ? The variable needs to conform to CLS specifications.
|
| Signature for managed operators | 06 Dec 2003 21:17 GMT | 10 |
The documentation states the names of the various managed operators but does not give the signature for them. Is there some documentation which I have missed that gives the correct signature ? In particular I want to implement the op_Assign (=) operator for a __value struct.
|
| visual C++ Runtime LIabrary | 06 Dec 2003 20:47 GMT | 1 |
While in IE when another window opens, I get a error message box titled with the subject and a message of "abnormal program termination". When I click on OK IE shuts down. How do I fix this? It just started happening within the last few days.
|
| how to perform arithmetic operation with 100 digits? (>300bits) | 06 Dec 2003 17:34 GMT | 3 |
currently new C only up to 64 bit operation, how can I perform operation with 100 or more digits? using stack? if use stack, how to write operation for +, -, *, / ? anyone can help?
|
| Controlling other applications | 06 Dec 2003 17:21 GMT | 1 |
i have a question concerning :control applications from my app. Especially setting Text in txtforms. Like lets say i have Winword or Notepad open, and i want to write Text in those applications. Is there any written component for this kind of job?
|
| Problems with MSFlexgrid control in vs.net 2003 | 06 Dec 2003 01:28 GMT | 3 |
I really hope someone had this problem before me. I have moved all our c++ projects from VC6 to VS.NET2003 and i have problems with nearly all dialogs containing either DateTimePicker or msflexgrid controls. In the case
|
| what is the performance cost of using runtime type information (RTTI)? | 05 Dec 2003 21:47 GMT | 2 |
Hey all, I know that dynamic_cast<> takes some time, but , for instance, is there a memoy cost associated in with it? Does it have to maintain a table in memory, thus bloating the runtime ram needs of my dll? Does it bloat the actual download size - would my dll be smaller ...
|
| ListView with multiple items with LVIS_FOCUSED state | 05 Dec 2003 21:05 GMT | 1 |
I have a listview that can get itself into a situation where multiple items have the LVIS_FOCUSED state. According to the documentation, LVIS_FOCUSED means "The item has the focus, so it is surrounded by a standard focus rectangle. Although more than one item may be selected, ...
|
| pointer is std:map - broke in port from VS6 to .NET - A little Help? | 05 Dec 2003 19:33 GMT | 3 |
In my attempt to port code from VS 6.0 to VS.NET I had some code break along the way, mostly due to not adhereing closely to the C++ standard. This may be another instance but I can't think of a good fix, or even why it broke. The problem
|
| fstream & compilation in Visual C++ under .NET 2003 | 05 Dec 2003 18:44 GMT | 3 |
If I try to declare an object of type fstream (or ofstream), I run into a compilation error refering to an __something function or variable. Please note, I am including <fstream>, not <fstream.h>. I do know that much. Thanks in advance for any assistance. John
|