| Thread | Last Post | Replies |
|
| crash in release build, but it works on debug build | 17 Jul 2006 07:41 GMT | 2 |
We meet an evil condition for our project. Our project has 3 layers. A C# layer to do some business logic, and Managed C++ layer translate managed values to native ones or vice verse.(vs2005, /clr:oldSyntax) . UI layer are written in native C++.
|
| Getting the title text from an MDICLIENT window | 16 Jul 2006 21:33 GMT | 1 |
Hello. I hope you are all well. I've been trying to get the text from an MDICLIENT window (recognised by SPY++ as 'WindowsForms10.MDICLIENT.app3'). When i try to get the text using SendMessage(WM_GETTEXT), or good old
|
| string.Trim() Behavior | 16 Jul 2006 20:21 GMT | 2 |
According to the intellisense help, string.Trim() "Removes all occurances or white space characters from the beginning and end of this instance." However, the follow code does not appear to modify s. s.Trim('\r');
|
| Usages of a SortedList | 15 Jul 2006 11:24 GMT | 2 |
I started writing .net code yesterday and I am grasping it well enough. I have a few questions about SortedLists. I am using managed C++ if that makes any difference. Of the examples I have seen it looks like the Sorted List does not use
|
| Singleton in native library with C++/CLI | 15 Jul 2006 11:22 GMT | 7 |
I have a large unmanaged static C++ library which I've wrapped using a small C++/CLR DLL. This is called from a C# client application. The static library has a singleton, however it appears that it is being instantiated twice. The first instantiation is down to me calling
|
| Compile C source in mixed-mode projects | 14 Jul 2006 21:36 GMT | 5 |
I am the author of the ZLibNetWrapper project on SourceForge (located at zlibnetwrapper.sf.net). This project is a simple mixed-mode .NET wrapper around the ZLib compression library. The ZLib code consists of a few C source files.
|
| Jagged Arrays as parameters in Managed C++ | 14 Jul 2006 19:45 GMT | 2 |
I have to implement a delegate from a c# assembly. It has the signature public delegate void Change(int[] row, int[][] col); The error I get given when I try to implement a compatible method,
|
| How to find out what files belong to a project? | 14 Jul 2006 13:45 GMT | 2 |
I am trying to "clean up" a solution with 10 projects and I was wondering if there is a way to "traverse" the source files to find not only the #includes but also remove #includes that are not needed for a file.
|
| debugging with a pdb file | 14 Jul 2006 10:02 GMT | 4 |
hello, all, my problem: my company sells an COM component compiled in VS6 using ATL. one of our valued customers is having some problems with a beta version of our component; it crashes their app. they develop in VSdotNET.
|
| How to embed a resource in the assembly? | 14 Jul 2006 07:01 GMT | 1 |
In C# project I could include any file in my assembly and access them with Assembly.GetManifestResourceStream(...) Is it possible to do the same thing in ManagedC++ projects? How?
|
| Ambiguous symbol error C2872 with WinAPI | 14 Jul 2006 06:40 GMT | 4 |
My C++/CLI program uses the WinAPI to create a document, and my use of the Rectangle function--BOOL Rectangle (HDC hDC, int nLeft, int nTOP, int nRight, int nBottom--results in a compiler error C2872-'Rectangle':ambiguous symbol. How can I resolve this ambiguity?
|
| Where are rtc libraries? | 13 Jul 2006 15:37 GMT | 2 |
I'm trying to recompile a program originally done with VC6, with VC++ Express plus the Platform SDK. I'm an embedded C programmer... I know next to next to nothing about programming Windows applications. So, I got some unresolved external link errors about security_cookie,
|
| Petzold's MessageBoxPrintf | 13 Jul 2006 08:17 GMT | 3 |
In the second Chapter of Charles Petzold's "Programming Windows", 5th Edition, we have the following listing: /*----------------------------------------------------- SCRNSIZE.C -- Displays screen size in a message box
|
| ATL link error problem | 13 Jul 2006 03:15 GMT | 4 |
anyone know how this error shows? how can i solve this? LINK : error LNK2020: unresolved token (0A0000EA) _AtlBaseModule LINK : error LNK2020: unresolved token (0A0000EC) atlTraceGeneral
|
| dll with class | 12 Jul 2006 08:30 GMT | 1 |
i have some class with a few methods inside. those method used by external program (as a dll). how should i declare those class methods so i can use it outside?? another question is it possible to declare the all class as import or export??
|