How to access Oxygene DLL from C++

I have use of a DLL compiled in Oxygene, no source. I want to use it in a C++ application, but GetProcAddress after LoadLibrary can’t find the public methods, perhaps because they are declared within a public class. Any ideas?

More specifically, the DLL has this:

type
MyClass = public class
private
protected
public

public method MyMethod;

An Oxygene app can simply do this:

DLLClass := New(MyClass );
DLLClass .MyMethod;

I don’t know how to do the same with C++, and GetProcAddress can’t find MyMethod directly.

Can you tell me what it’s compiled for ? Island? .NET?

It’s .NET.

I found a workaround, so I’m good.

2 Likes