| Thread | Last Post | Replies |
|
| infinite loop in malloc? | 16 Jun 2006 10:08 GMT | 1 |
I'm an experienced C# developer that has very little experience with C++. Unfortunately, it fell to me to wrap some unmanaged c++ (itself ported from ADA) to provide managed types that can be consumed by other C# developers on my team. So! I'm trying to use Managed Extensions
|
| #ifdef in resource file | 16 Jun 2006 02:58 GMT | 5 |
I have an application that will run on WinCE and XP. In order to have the WinCE virtual keyboard pop up when the cursor enters an edit field, the following has to be inserted at the end of each dialog after all the edit fields have been created:
|
| Catching CDatabase Exceptions? | 16 Jun 2006 01:15 GMT | 9 |
'Nother question. I have a piece of code that is using the MFC CDatabase object to connect to a database. It executes a SQL statement against SQL Server using the ExecuteSQL() function. This brought up the question of capturing the exceptions that are thrown by the CDatabase ...
|
| Method pointer, mixed code and error C1001 | 15 Jun 2006 17:16 GMT | 3 |
I use VS2005 - C++/CLI. I have some kind of events in native C++. I want to raise .NET events when my native C++ events occur. So, I wrote some code for that but I have an C1001 error (An internal
|
| Size of an empty class. | 15 Jun 2006 11:07 GMT | 2 |
This was an interview question: The size of an empty class is 1 byte. Why? Should it not be 4 bytes? Because an invisible pointer "this" is part of every class?
|
| URGENT: DEC / HEX conversion to ASCII code... | 15 Jun 2006 03:46 GMT | 7 |
heeeeeeeeeeeeeeeeeelpp !!! Can anyone tell me how the heck does VC++ create the ASCII 'ENQ' ???? I'm on a project of programming a PLC devices. I need to send the ENQ ascii value together with others data in a string into the plc. I'm also new in VC++ as
|
| Current Filename and File path | 14 Jun 2006 23:37 GMT | 11 |
Probably a really simple answer to this, but so far I'm having trouble locating the answer. I'm writing an unmanaged VC++ app and I need to grab the currently executing filename and file path from inside the application. So if I am in the directory C:\Program Files\Test_Dir and ...
|
| template template parameter used as base class of ref class error | 14 Jun 2006 22:38 GMT | 2 |
I get a C2811 error when I compile the following (with the /clr switch): template <class T> ref class Base {};
|
| Tutorial for COM library creation | 14 Jun 2006 21:04 GMT | 3 |
I've used COM libraries in VC++ before, but now I need to create one. It's easy enough to do in .NET, but I need to write it in unmanaged C++. Can anyone point me to a tutorial or some other reference that explains how to create a C++ COM class in a DLL.
|
| C1026 bug, was it ever fixed? | 14 Jun 2006 16:36 GMT | 2 |
Over 6 months ago I reported a bug that manifested itself in a C1026 error. The problem is caused because MS VC++.NET has a bug in it where it thinks it is too complex if a single class has more than 142 STATIC members in it. Microsoft aknowledged the bug was real, and said it ...
|
| Compilation problem | 14 Jun 2006 13:28 GMT | 1 |
I am trying to compile some source files using makefile. While compiling I am getting errors as shown below. Any idea how can I solve this problem. I believe I need to add some preprocessor directives but I dont know which one.
|
| StringBuilder gets OutOfMemory | 14 Jun 2006 08:36 GMT | 1 |
i use a StringBuilder for a large string. After instantiation, MaxCapacity is 2.147.483.647 which is fairly large enough for my purpose. During my procedure, i get a System.OutOfMemoryException at
|
| dumpbin un-undecorate | 14 Jun 2006 06:04 GMT | 18 |
According to dumpbin, my extern "C" __stdcall'ed functions are not decorated... According to depends they are not decorated... According to the documentation, (and previous releases of vc++), they should be... Is this expected?
|
| exit() and Memory leak reported | 13 Jun 2006 22:10 GMT | 4 |
Hi all, quick question. I have an application I'm running. There are some "fatal" error conditions that could occur during processing, and I want to exit immediately if one comes up. When I put an exit() function call in my code I get a message like this:
|
| Access modifiers do not affect destructor visibility in ref class? | 13 Jun 2006 19:49 GMT | 3 |
This compiles and runs successfully in VS2005: ref class A { private:
|