User Profile
Collapse
-
string from c# to c++
How to send a string from c# to c++, i've tried many ways i found over the internet but always i received garbage in c++ :S any help please. -
IntPtr in 64 bits PC
Hi everybody! i have a program in c# that use a method inside a c# dll that acts as a proxy to a c++ dll xD this works perfect in a x86 pc but when using in a x64 pc this thing just crash with the next error:
i think is something about IntPtr any ideas?...
System.BadImage FormatException : An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
at DLLProxy.OPCSer ver.CreateOPCSe rver()....... -
hi the last problem was solved when using the correct project type, but now i cant compile for this error:
Error 1 error PRJ0050: Failed to register output. Please ensure you have the appropriate permissions to modify the registry. DLLClientTest
any ideas? im logged as administrator -
What i wanted is what is explained in the last url :D thanks a lot =), just i have a few more problems.... i just try to reproduce the same creating new projects. and when compiling the CLR c++ dll project the next error:
Error 1 fatal error C1189: #error : "include 'stdafx.h' before including this file for PCH" c:\Documents and Settings\DMendo za.AMI-GE\My Documents\Visua l Studio 2005\Projects\D LLTest\DLLTest\ DLLTest.h 7...Leave a comment:
-
-
Create an instance of a class inside a c++ dll in a c# project
Hi everybody i really need your help im completely lost :S this is what i need:
I have a c++ dll that uses MFC.
I need to create an instance of a class inside that dll in a c# project
I need to end with another dll to add it as a reference to other projects.
I have found many "solutions" but i just get confused :S
Pinvoke (just call functions but cant create an instance...)
create...
No activity results to display
Show More
Leave a comment: