Click here to Skip to main content
15,919,479 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hey guys,
i am to create a windows form application in vc++ working with images using opencv.
but,i guess the property setting is different from the normal console applications of vc++.If any one could help iut would be really appreciated..
Posted
Updated 18-Apr-12 22:04pm
v2
Comments
Sergey Alexandrovich Kryukov 19-Apr-12 13:13pm    
Do you mean C++/CLI?
--SA

1 solution

As OpenCV is written in C++, developing a mixed-mode (managed + unmanaged) project using both C++ and C++/CLI would be a good choice, especially if compared with possible hassles of P/Invoke. You can directly wrap all the OpenCV API in managed "ref" classes and structure and then use it in your .NET code, with System.Windows.Forms or not.

—SA
 
Share this answer
 
Comments
Member 3152649 8-May-12 8:15am    
Would you provide a small example to illustrate e solution? I am having never done anything mixed mode and it would be nice to have a sln that would illustrate this.

Thank you!
Sergey Alexandrovich Kryukov 8-May-12 12:46pm    
I don't know how to make it a short text, would take too much time. You need just to start, it's easier that it may seem.
--SA

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