| Thread | Last Post | Replies |
|
| UnhandledException 0x4bc0145c Access Violation writing location 0x | 31 May 2007 08:56 GMT | 1 |
In my project i have a component named PTS Engine which is developed in VC++ .Net 2003. [VC 6.0] And it is migrated to VC++.NET 2005 version. Initially this migration process has coded and tested in VC++ .NET 2005 Beta version. In beta version
|
| The "generic" keyword and unmanaged code | 31 May 2007 08:49 GMT | 2 |
I work as a glue coder and often have to interface existing mechanisms with other platforms. Creating bridge code between command-line functionality and desktop GUIs takes up a lot of that definition, along with creating abstraction layers for older-style C code. I've
|
| app.config and probing | 31 May 2007 03:05 GMT | 4 |
I have a mixed mode application that uses several dlls, which most are native and my new one is mixed. My new dll uses several dependent .NET assemblies. I wanted to place these dependent .NET assemblies in a subdirectory, rather than placing them all in the main directory. I ...
|
| How to access ENUM from a DLL | 30 May 2007 21:57 GMT | 4 |
I have a DLL (created in C++/CLI), that has a public enum. For example: namespace Utilities { public enum DISTANCE_TYPE
|
| CLI value structs used in C# | 29 May 2007 20:30 GMT | 3 |
This might be something stupid, but I have a couple value structs that I'm using in my CLI layer. I pass them up via callbacks to the c# layer. In the c# layer, it wants my callback methods to have the agurment type as ValueType, rather then the actual type, am I missing
|
| VC .net vs C++ code | 29 May 2007 14:52 GMT | 2 |
I would be pleased if someone gives me a general idea; how I am going to do this. I am using visual C++ .NET 2003. I made a simple program using conventional C++ code. This program accepts data from the user, does some calculations and outputs the result back to
|
| Slow run Speed of optimized code in VS2005 vs VS2003 (Unmanaged C++) | 28 May 2007 03:55 GMT | 3 |
I have a problem where our app when compiled in VS2005 runs about 50% the speed it attains in VS2003. This is an unmanaged C++ app. I have tried most combinations of the optimization and language settings with little change in run speed.
|
| Pointers btwn C# and C++ | 25 May 2007 20:46 GMT | 6 |
I have a native C++ pointer object which I need to hold in a C# environment, initialize in the C++ environment and the pass between the C# and C++ environments. Which is the data structure to use? I have tried to use an IntPtr in C#, send it through C++/CLI as a System::IntPtr ...
|
| Callback function from native C to C++\CLI using non-static member or delegates | 25 May 2007 05:02 GMT | 6 |
Before I state the problem, I just want to let the readers know, I am knew to C++\CLI and interop so please forgive any newbie questions. I have a huge C library which I want to be able to use in a .NET application and thus am looking into writing a managed C++ wrapper for
|
| Migrating from VC++ 6.0 to VC++ 2005 | 24 May 2007 22:39 GMT | 4 |
After migrating my application from VC++ 6.0 to VC++ 2005, I receive the error C2593 'operator +=' is ambiguous. It refers to the following line: Name += pManager->GetAgentName();
|
| Weird name collission | 24 May 2007 16:31 GMT | 1 |
How can a member of an enum type, like typedef enum tagMPEG4Mode { None = 0,
|
| _CrtIsValidHeapPointer | 24 May 2007 10:47 GMT | 3 |
My application is using a Dll loaded with the function "LoadLibrary(<NameOfTheDll>)" In the dll there is the following fonction : char * GetMessageError(int Error)
|
| Odd behavior of fopen with ccs option | 24 May 2007 03:13 GMT | 1 |
I'm puzzled about the behaviour of fopen with the ccs= options. The table below iswhat I'm seeing. I am opening a file with the fopen option shown, then writing to it with fputws. What I want to happen it to read either Ascii or Unicode files as Unicode, but to write the files as ...
|
| _CrtIsValidHeapPointer and templates | 24 May 2007 02:54 GMT | 6 |
I have a native DLL which is called from a managed application. One of the calls to the DLL returns a std::vector<Cell> (by value) where Cell is a POD type, everything works fine until the function making the call to the DLL returns, at which point I get a
|
| Empty catch | 23 May 2007 19:37 GMT | 13 |
What's the CLI equivalent of the empty catch? i.e. try{} catch
|