Archived

This topic is now archived and is closed to further replies.

MajesticKnight

Using DLLs

Recommended Posts

Can you export and import classes also in DLLs? or can you only export and import functions? "Computers are incredibly fast, accurate and stupid. Human beings are incredibly slow, inaccurate and brilliant. Together they are powerful beyond imagination." - Albert Einstein ------------------------------ Dan Ronning Founder, Lead Programmer Majestic Knight Game Dev.

Share this post


Link to post
Share on other sites
I have heard that exporting classes from a DLL doesn''t work well because different compilers mangle the class method signatures in different ways. So you could get it to work if you were willing to say completely within Visual Studio, but other compilers might have trouble calling exported class methods from a Visual Studio DLL.

Maybe you could use COM objects?

----------------------------------------
Let be be finale of seem, seems to me.
----------------------------------------

Shedletsky''s Code Library:

Open source projects and demos

Share this post


Link to post
Share on other sites
Yup u can very well export classes from DLLs.

You just need to specify that in the def file.







Share this post


Link to post
Share on other sites