Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
I made a Sprite class for a game (it doesn't actually have an image, but rather a number corresponding to an image) and I'd like to use C++ to speed it up but how can I use a Win32 .DLL to read a .NET class?
  • *Experts*
Posted

Realistically, you can't, with regular C++. However, if you want to use C++.NET you can do it simply be referencing in the project. Otherwise there's 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).

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...