简体   繁体   中英

Is it possible to integrate win32 api window in c# form?

I have ac# form and a window created with win32 api in c++(the code is compiled as static lib, but I can compile it as dll). Is it possible to link and run the code that creates/displays the window from c#?

Thanks!

I made all my winapi functions in a dll and called them from c#. With this I can create a window in c++ using winapi that has ac# form as parent window.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM