| Thread | Last Post | Replies |
|
| Garbage in the 0th element of a char* array | 23 Jun 2005 11:42 GMT | 2 |
I have the following code, to do a simple operation by copying the elements of a vector of strings into an array of char pointers. However, when I run this code, the first element in the char array strarr[0] holds garbage characters. For some reason, every time the strcpy function ...
|
| What is wrong with forward declarations in Managed C++? | 23 Jun 2005 02:52 GMT | 1 |
Can anyone explain why C++ .NET compiler throws error for the following code segment: // Forward declaration of ListViewItemComparer class public __gc class ListViewItemComparer ;
|
| set reference to null ??? | 22 Jun 2005 19:23 GMT | 4 |
how do you set a handle to 0, so that the object will be garbage collected ? Car^ car2 = gcnew Car(); car2 = null; // NOPE car2 = 0; // NOPE
|
| Recursive Function | 22 Jun 2005 14:22 GMT | 2 |
Hi, all We are using Microsoft Visual C++ 6.0 Service Pack 6. We need to develop a recursive function to search files in fix drives of user machine. Is there one API that implement recursity in it? Will we need to develop recursive
|
| simple VS2005 question | 22 Jun 2005 09:07 GMT | 2 |
Will be VS2005 (C++) still placing the code generated by the windows forms code generator in the .h files? thanks
|
| Getting CreateFile handle in managed code | 22 Jun 2005 01:25 GMT | 1 |
I'm having trouble getting a handle returned from the following code within a managed class: HANDLE m_hSerialComm = CreateFile("\\\\.\\COM1\0\0\0", GENERIC_READ|GENERIC_WRITE, 0, 0, OPEN_EXISTING,
|
| Question about VC6 use VC7 dll | 21 Jun 2005 23:24 GMT | 1 |
I have a big program written in VC6 and another library that won compile with VC6. So what I want to do is to use VC7 to create a DL for the library and make my VC6 program use the DLL. Is this possible?
|
| LNK1104: cannot open file 'LIBC.lib' | 21 Jun 2005 21:55 GMT | 1 |
Hello. I am trying to run the VS C++ compiler from the command line. I enter the following: cl -GX prog1.cpp It compiles the file fine, but then when it goes to link the object file, I
|
| Beta 2: Automatic Dispose inaction? | 21 Jun 2005 19:56 GMT | 11 |
The following doesn't compile due to absence of the copy constructor in class FileStream: FileInfo ^ fi = ...; FileStream fs = fi->OpenRead(); The compiler is Beta 2. Is this supported? Planned to be supported?
|
| VC++2005 equivalent code of partial C# keyword | 21 Jun 2005 19:06 GMT | 5 |
in C# : Partial type definitions allow the definition of a class, struct or interface to be split into multiple files. I'd like to have the equivalent keyword of partial in VC++ does someone has an idea?
|
| strong name question | 21 Jun 2005 14:06 GMT | 1 |
It is possible to discover the strong name of an app calling into a native C++ DLL? It would be ideal to limit API calls into a given c++ dll by the calling assemblly strong name. thanks
|
| Time | 21 Jun 2005 13:12 GMT | 5 |
is any one can give me some hint how can i create a mechanism that support time out. for example: i have a job that running and i want to check if this job exceed its time
|
| How to operate list control in a worker thread | 21 Jun 2005 12:08 GMT | 3 |
I have two threads, one UI thread, the other, the worker thread, which is responsible for keeping on search things and post the found results to a list control on the UI. My leader doesn't allow me to use MFC.
|
| Copy a Structure | 21 Jun 2005 10:56 GMT | 3 |
in C, How do I copy a contents of a Structure pointer to a Structure Variable. e.g struct A var1; struct A *Var2;
|
| Dependencies vs. References | 20 Jun 2005 10:37 GMT | 1 |
In VC++ .Net 2003, how check or un-check boxes in the "Project Dependencies" dialog? Nothing happens when I click the check boxes.0 If Project A needs Project B and B is a Reference of A, A gets recompiled even if I change only a .cpp file in B.
|