CDP Forum Forum Index CDP Forum
NOTE: The forum is being replaced by support.icd.no
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How would one turn a CDP static library to a shared library?

 
Post new topic   Reply to topic    CDP Forum Forum Index -> C++ programming
View previous topic :: View next topic  
Author Message
Imbrondir



Joined: 07 Jun 2007
Posts: 44

PostPosted: Thu 17 Apr 12:27:43 2008    Post subject: How would one turn a CDP static library to a shared library? Reply with quote

I've been thinking about making libraries plugins instead of static libs. It seems like the easiest thing in the world to do. Just make some code in CDP_Application->Libraries.h to LoadLibrary("./plugins/*.dll"). However it's obviously not enough to go to project settings->General->Configuration type and change from Static Library to Dynamic Library. On recompile I get 1700+ error messages in this format:

Code:
error LNK2001: unresolved external symbol "public: virtual void_thiscall CDPParma::CreateXML(class std::basic...etc"


Allso would there be any notable performance losses doing it this way?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    CDP Forum Forum Index -> C++ programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group