简体   繁体   中英

Embedded C++ DLL in VB.NET

I didn't find answer to this from msdn or from google so I decided to ask it here.

Is it possible to write a DLL in C++, then use it embedded in vb.net? From resource file, etc? I want the DLL to stay inside the .net -application.

This way I could use C++ code directly from vb.net app, without having it in HDD.

Possible or not?

Make a C++ static library , and then reference it in a C++/CLI dynamic library project.
The static library will be "embedded" into the C++/CLI .Net library.

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