Click here to Skip to main content
15,886,873 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
There is now a combination of others written MFC OSG 3D controls, I want to call in wpf show it, but can not find methods. I hope there is a case in point.
Posted
Comments
Sergey Alexandrovich Kryukov 19-Mar-14 12:00pm    
Where did you get such idea? :-)
—SA

1 solution

There is no such concept as "call a DLL". You can only call some function/method/property/procedure/subroutine/operator. You can use some native DLLs in .NET via P/Invoke, read about it. Another good option is using C++/CLI, mixed mode (managed + unmanaged which you can freely combine with this language).

I did not provide any detail, because you will hardly need them at this point. Using any part of MFC UI in WPF it totally and hopelessly useless. Moreover, it is useless in any .NET solution. My best advice would be: forget about it and never remember again. Explaining why would be too long and too boring.

—SA
 
Share this answer
 
v2

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