Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Compiling c++ application to a DLL for use in c#?

Status
Not open for further replies.

nexius

Programmer
Jul 8, 2000
109
CA
Hi

I've recently completed the engine part of a game i'm working on, and now I'm getting started on the editor. Thing is... I want to do the editor in c# but I don't want to re-write my entire engine...

So I've been playing around with DLL's lately, and have succeeded in compiling a small library of test functions that I can reference in C# using the DLLImport attribute. But the problem is that these methods can't call other methods or even each other... It tells me that the method it's trying to call has no "RVA" which I think means there's no address for the method.

Anybody have any experience with this?

Help very appreciated... this is giving me a headache.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top