| Thread | Last Post | Replies |
|
| Static initializers with option /CLR in dlls | 31 Oct 2006 23:29 GMT | 5 |
I have a relatively large C++ code base, which requires that static initializers are called when a dll is loaded. This seems to work well for native code, but it does not work for files compiled with the /CLR option enabled. I will try to give a simple example that illustrates my
|
| dll problem,help me:) | 31 Oct 2006 20:08 GMT | 1 |
dll problem,help me:) i create dll project ,the dll is Use MFC in a Static Library i hope exe call ListCtrl class from dll ==================DLL====================
|
| stl list's const_itertor problem | 31 Oct 2006 18:00 GMT | 7 |
I'm using stl's list class. For iterating it I'm using its const_iterator. Lets say I have a: list<char* >::const_iterator m_myitr; Now:
|
| issue with #include | 31 Oct 2006 17:17 GMT | 2 |
Under VC++.NET, i have a stupid issue with #include statement. Usually when we include some *.h file, we need to declare them before any #using <> or #using namespace... to avoid issue at compilation time. However, when i write #include "commctrl.h" as below in my *.h file :
|
| Cross include headers | 31 Oct 2006 14:17 GMT | 6 |
Can anyone tell me how I can include one header Form1.h into another header Form2.h and the other way around without evolving into compile errors? Both headers contain only one class in which I want to declare an instance of the class in the other header file.
|
| Overhand a function pointer from managed to unmanaged | 31 Oct 2006 03:09 GMT | 2 |
I have a little problem with managed/unmanaged in Visual Studio 2005 (Compiler setting /clr). I need to overhand several function pointers from managed to unmanaged. These function pointers are stored in an unmanaged struct and this struct is then overhanded by reference to the
|
| trouble passing function pointer | 31 Oct 2006 02:19 GMT | 4 |
I can't get this code to link properly. I got two error during link: error LNK2028: unresolved token (0A00000C) "extern "C" int __stdcall EnumFontFamiliesExW(struct HDC__ *,struct tagLOGFONTW *,int (__stdcall*)(struct tagLOGFONTW const *,struct tagTEXTMETRICW const
|
| OnDrawColumnHeader and LIstView | 30 Oct 2006 20:23 GMT | 3 |
I have some little issue when i want to redraw the columnHeader of my ListView. Basically i display a little arrow to show the sortOrder of each column. For sure only the clicked column is sorted.
|
| Problem with MFC extension DLL, threads, and .Net loader lock | 30 Oct 2006 14:04 GMT | 4 |
We have two separate DLLs that do not interact (directly, at least). One is an MFC extension DLL that was built back in VC++ 6 days (but has been recompiled with VS2005). The other is a DLL that contains .Net functions wrapped in C++ (as described by Paul DiLascia -- see
|
| Consuming C# dll from unmanaged C++ exe; StringCollection | 29 Oct 2006 01:28 GMT | 2 |
I have a case where a C# dll is being consumed by an unmanaged C++ executable. One of the dll methods returns a StringCollection object. What are the requirements for the C++ executable in terms of .h, .tlb files to be included/imported, and the syntax for consuming the ...
|
| ListView and GetHeaderCtrl | 28 Oct 2006 18:21 GMT | 1 |
i have a ListView (.NET control) on which i would like to display images in the header. For that purpose i was thinking to use the MFC function GetHeaderCtrl() with GetItem and HDITEM structure.
|
| C# to C++.Net conversion | 28 Oct 2006 13:32 GMT | 2 |
I would like to translate the following to C++.net (v2.0) private delegate void TestFunction(); TestFunction[] TestFunctionArray; Cheers,
|
| Error Mixing Managed and Unmanaged Code | 27 Oct 2006 19:07 GMT | 2 |
I've never mixed managed and unmanaged C++ before, but I've done a lot of "research" out on the web. Using some examples out there, I wrote this: #using <mscorlib.dll> using namespace System;
|
| .Net Forms application, File and FolderDialogs | 27 Oct 2006 15:33 GMT | 1 |
We have a C++/CLI .NET 2 forms based application where the .NET forms front end lives in an ATL server solution, and uses COM to talk with a separate back end process. For development, the executable was built as a pure .NET solution
|
| Losing all previous preprocessor symbols when adding one | 27 Oct 2006 12:03 GMT | 4 |
In VS .NET 2003 (SP1) I wanted to add a preprocessor symbol to all configurations of all projects in a solution. I selected all the projects and then went to Properties, where I went to the preprocessor symbols edit box. Nothing was in there, presumably because no symbols are ...
|