mixed-mode Questions

1

Solved

I'm novice in .net c++ and trying to create class looking like: public ref class Klient { public: Klient(){} // zmienne static DWORD klienty[41][2]; static int i = 1; static DWORD* pid; stat...
Cathode asked 20/7, 2012 at 23:43

2

Solved

Passing Graphics object between native C++ and C# I'm currently working on a Paint .NET-like application. I have mulitple types of layers which are implemented in C#. These layers are drawn into a...
Halla asked 24/5, 2012 at 8:4

2

Solved

My mixed-mode MFC application is creating false memory leaks because the CRT doesn't have time to shut down before the MFC dll is shut down. I have a very simple little app that shows the problem...
Shorthorn asked 19/4, 2012 at 0:15

6

I've got a native C++ DLL that I would like to have a C++/CLI wrapper layer for. From what I understood, if you simple added a C++/CLI class to the project, VS would compile as mixed mode, but I wa...
Mccandless asked 22/4, 2010 at 13:45

2

Solved

This is my programming assignment. I need to find out the largest among the array of integers using a method written in 8086 programming language. This is my attempt : #include <iostream.h&gt...
Trepidation asked 9/11, 2011 at 16:4

1

I am using visual studio 2008 and I have a native c++ project that loads a managed c++ dll, but on the last one, the intellisense doesn't work anymore only for the managed code. This project (dll)...
Terebinthine asked 7/7, 2010 at 14:14

2

Solved

In C++/CLI, I want a class hierarchy similar to the following: Foo FooA : Foo, ClrClassA FooB : Foo, ClrClassB Is it possible for FooA to share a (non CLR) base class while also inheriting fro...
Jugate asked 6/6, 2011 at 21:21

2

Solved

I have a mixed-mode C++/CLI project which is compiled as x86 and x64 frozen dlls. I have a C# app that needs to use this project which is compiled as "Any CPU". How can I properly reference the co...
Impossible asked 4/3, 2011 at 15:53

2

This is actually a solved problem, but it's so esoteric I thought I'd share it for other users. Also perhaps others might suggest reasons? Anyway, I'm working on a "mixed mode" .NET application w...
Heavenly asked 11/6, 2009 at 10:22

1

Solved

As in the question Creating simple c++.net wrapper. Step-by-step I am tring to use C++ classes in .NET but I am having problems building in Visual Studio (2008). I have an unmanaged class A (C++ ...
Apiculate asked 23/10, 2010 at 3:5

6

According to this question it's possible to seamlessly combine managed and unmanaged code using C++/CLI. I don't quite get it - shouldn't there be marshalling between managed and unmanaged anyway? ...
Forsberg asked 16/8, 2010 at 10:48

1

Solved

I am working with mixed mode assemblies in C++/CLI. All managed mode assembled pdb's get loaded when successfully in mixed mode assembly, but native dll's and pdb's are not getting loaded even thou...
Tamathatamaulipas asked 24/7, 2010 at 15:6

2

Solved

While converting a project that used SlimDX, and therefore has unmanaged code, to .NET 4.0 I ran into the following error: Mixed mode assembly is built against version 'v2.0.50727' of the runtim...
Gratiana asked 22/10, 2009 at 2:3

3

Solved

My whole application (which is rather big, with a 20MB executable) is written in unmanaged C++. Because I can clearly see the advantages in using managed code, I want to start introducing managed c...
Rickets asked 17/12, 2009 at 16:31

5

Solved

I'm having problems with a slow memory leak in my mixed mode C++/CLR .NET application. (It's C++ native static libraries linked into a VS2008 C++/CLR Windows Forms app with the "/clr" compiler set...
Hultgren asked 6/7, 2009 at 21:27

2

Solved

What are the options when it comes to using a .NET DLL from a Win32 process? I need to basically use a C# DLL from a Win32 process. I have a possible solution right now that requires adding the C#...
Taliped asked 1/12, 2009 at 1:20

3

I hope someone can help me with this, I'm mostly a C# developer so my C and C++ skills are bad. I have a native C dll that is a plugin of a larger application. I cross compile this dll for windows ...
Privet asked 5/11, 2008 at 22:58

© 2022 - 2024 — McMap. All rights reserved.