Click here to Skip to main content
15,922,584 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi Everyone,

I see problem in compiling to non CLR, My project usage a dll to complied with "No common langgue to runtime support" but My project is C++ winform, I don't know how to import the this dll to call fuctions. Can your help me to solver.Here, I want to usage the unmanage dll inside the Winform C++ project.

Thanks everyone !
Posted
Updated 22-Aug-11 16:20pm
v2
Comments
Sergey Alexandrovich Kryukov 22-Aug-11 21:40pm    
What do you want to import: unmanaged to managed or managed to unmanaged?
Please re-formulate the question, use "Improve question". It's not possible to understand.
--SA

1 solution

This work "convert" haunts this site!

No, there is no way. The platforms are fundamentally different. You can only port the project by re-writing it for a different platform. Alternatively, you can port only part of it using a mixed-mode project — managed+unmanaged; with C++/CLI, you can more or less freely mix code for both platforms. It takes really deep knowledge of both platforms and principles of collaboration between managed and unmanaged declarations.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900