| Thread | Last Post | Replies |
|
| passing std::string from visual studio 2005 to an C++ DLL generated by VC 6.0 | 19 Oct 2007 08:48 GMT | 16 |
I've looked through this thread and still have quetions. Suppose In visual studio 2005, I write the following #pragam managed class ManagedWrapper
|
| Building a Unicode application. | 19 Oct 2007 08:43 GMT | 7 |
I am in the process of converting an application to Unicode that is built with Visual C++ .NET 2003. On application startup in debug mode I get an exception. The problem appears to be that code with #ifndef _UNICDODE is executed in output.c, the library code for supporting printf ...
|
| virtual destructor | 19 Oct 2007 06:39 GMT | 6 |
What is the purpose of virtual destructor? If currently, no derived class? thanks in advance, George
|
| Using a C# component from within VB6 (none .net) | 18 Oct 2007 16:25 GMT | 3 |
I would like to know if the following is possible: create a component using C# or VB.NET -> component will use the .netframework v2 create a VB (NONE .net) COM object that uses the above created component
|
| Inherit C++ interface | 18 Oct 2007 15:24 GMT | 2 |
I am trying to wrap some std C++ code so it can be used from C#. The problem I'm having is that I can't seem to derive a ref class from a C+ + interface. Compilation fails with C2811: "...can only inherit from a ref class or interface class". AFAIK an abstract struct constitutes a
|
| VS2005 : Managed Wrapper for Unmanaged code : Ellipsis dilema | 18 Oct 2007 13:43 GMT | 4 |
I'm in the process of writing a managed wrapper on legacy C++ code. I have to deal with methods that are using the ellipsis. For instance,the legacy method is : void CLog::Print (LPCSTR szMask, ...)
|
| How to build 64-bit application for 6-bit platform | 18 Oct 2007 11:58 GMT | 1 |
Hello, dear guys, I am a little confused. My host is 32-bit Windows XP, and my IDE is VS2005 Professional Edition.
|
| Windows 2003 Server vs Windows XP | 17 Oct 2007 23:24 GMT | 7 |
We have an odd situation with some of our single-threaded CPU-bound C++ programs. They run between 2 and 4 times faster on Windows XP than on windows Server 2003 on the same Xeon hyperthreading dual processor machine (we borrowed one from our IT department, and have been ...
|
| How to initialize a static structure? | 17 Oct 2007 18:13 GMT | 5 |
I have a private static structure in a C++ class (it's a CRITICAL_SECTION structure) that needs to be initialized by passing its address to a routine (InitializeCriticalSection). Since C++ apparently doesn't allow a static constructor routine, how do I initialize my static ...
|
| Errors in VC.Net porting | 17 Oct 2007 12:58 GMT | 6 |
Hi all, I am porting an code written in VC++ to VC.Net to make it manage. But in Managed VC we dont use "const" keyboard at all. but my code is using it very frequently, so is their any alternative to it or we have to remove the
|
| MFC libraries - best route to upgrade? | 16 Oct 2007 20:24 GMT | 1 |
I am a fairly experienced C++ (MFC) programmer, with alot of MFC code still in use. Most of my projects are still using Visual Studio 6.0. I want to modernise, but don't want the lengthy (costly) disruption of porting my useful stuff to a more recent programming environment.
|
| 'HANDLE *' Error | 16 Oct 2007 17:36 GMT | 3 |
I am using a DLL function (complied in VC7), which takes a parameter of 'HANDLE *' datatype. The DLL developers recommend passing a HANDLE object using the following syntax:
|
| Why can't a Dictionary be safe_cast to an Object | 16 Oct 2007 17:32 GMT | 3 |
Why can't I safe_cast a Dictionary to an Object? Generic::Dictionary<String^, String^> Dict = gcnew Generic::Dictionary<String^, String^>(); Object^ DictObject = safe_cast<Object ^>(Dict);
|
| throw list in VS 2005 | 16 Oct 2007 14:48 GMT | 2 |
I am writing an application in C++ in VS 2005. I wrote a function with a throw list, but the compiler and the runtime seem to ignore it. tha function can still throw an exception that does not appear in the throw list, and the handling environment catches it just fine.
|
| Separate Directories for Debug and Release DLLs | 16 Oct 2007 14:45 GMT | 3 |
Is there a way to get Visual Studio 2003 look to one directory for debug version dlls when set to DEBUG and then to another directory where I store the release version of a dll when set to RELEASE? My current project uses about 8 dlls I've written in the past, but I
|