views:

40

answers:

1

I have code in c++ about AVL TREE AND have all function..the code is in win32 consol

Can i include it to project in windows form application without rewrite it another or in the so simple try?????? because i have so much project in consol and i want to apgrade it thank you very much....

A: 

Look for something called managed C++. It will allow you create Windows Form Applications in some special dialect of C++.

Other option is to encapsulate your code into DLL and use PInvoke to execute code from it. Than just create regular C# application to reuse your code.

Michal Sznajder
i'm not sure if he wanted it in c#. C++ is also available in winforms.
baeltazor
That's why I mention managed c++ as one option. Anyway question is so poor that it's hard to help...
Michal Sznajder