VB .NET Class, can a C++ .DLL do things with it?

Darc

Well-known member
Joined
Apr 18, 2003
Messages
89
I made a Sprite class for a game (it doesnt actually have an image, but rather a number corresponding to an image) and Id like to use C++ to speed it up but how can I use a Win32 .DLL to read a .NET class?
 
Realistically, you cant, with regular C++. However, if you want to use C++.NET you can do it simply be referencing in the project. Otherwise theres not much you can do with it.

If you want speed, you might look into using Platform Invoke to call the Windows GDI32 APIs rather than using GDI+ (which is slightly slower).
 
Back
Top