Saturday, 15 March 2014

c++ cli - Using MFC in a "managed C++" application -



c++ cli - Using MFC in a "managed C++" application -

one of our products c++ application - using mfc (mdi). (and skin application codejock.)

i've been asked if "port application .net" - possible use, e.g., c# libraries , other .net features. know there called "c++.net" - or maybe (if understand right) should called "managed c++" now. don't know much it.

my question: @ possible? run mfc-application "managed c++"? (and can application using codejock run "managed c++" application?) there other threads this, haven't been able find "a definitive answer"...

i'd grateful advice! :-)

as far understand, want maintain mfc/codejock gui , allow utilize of .net libraries application's c++ code.

this indeed possible, finish application compiled "native" c++ not such thought convert of beingness compiled c++/cli. "it works (ijw)" nice meme, doesn't work :-)

we have same situation, namely c++/mfc/codejock application needs phone call .net assemblies. works without problems:

we have c++/cli modules offer native c++ dll interface native c++ code phone call , route these phone call on assembly written in c#. we have c++/cli assemblies offer .net interface c# code , phone call pure native modules.

it should possible have single (say, exe) project compiled natively , enable /clr switch selected cpp files need managed interop. , @ end link together. since we've never mixed that way, can't approach however. can for sure though is possible compile parts on module /clr , parts native.

mfc c++-cli managed-c++

No comments:

Post a Comment