Original Post
Will a class made in Delphi be accessible from C++ on Windows?
void Signature(void* Pointer)
{
PObject(Pointer)->ShowMessage("Why do we need so many pointers?");
};
quote:
Original post by Eli Gottlieb
Thank you LessBread. Fruny, you have no idea what the question was.
quote:
Original post by Fruny
No.
For example, C strings are NULL-terminated, while Pascal strings hold the length of the string in their first byte. Therefore, you cannot pass a C string to a Pascal function, and conversely.
You have to use a framework like COM or CORBA that do the translation for you.
This topic has been locked by a moderator. New replies are not allowed.
With your permission, GameDev.net uses analytics cookies to understand how people use the platform. You can accept analytics or continue with necessary cookies only. Learn more