forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Compiling DLLs - Warning libmain

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Plato
View previous topic :: View next topic  
Author Message
viroxa



Joined: 28 Jul 2017
Posts: 78

PostPosted: Wed Aug 02, 2017 10:02 am    Post subject: Compiling DLLs - Warning libmain Reply with quote

Hello, everyone,

when compiling DLLs from Plato (v. 4.75) I always get this warning:

Quote:
WARNING - Default LibMain being provided


It doesn't seem to effect the functionality of the DLL though, so I was wondering:

What is libmain and is it OK to use the default?
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7912
Location: Salford, UK

PostPosted: Wed Aug 02, 2017 12:45 pm    Post subject: Reply with quote

libmain is the equivalent in a DLL to the main program in and executable.
It provides the entry point when the DLL is loaded. Yes it is OK to use the default provided by the linker.
Back to top
View user's profile Send private message AIM Address
viroxa



Joined: 28 Jul 2017
Posts: 78

PostPosted: Wed Aug 02, 2017 3:11 pm    Post subject: Reply with quote

Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Plato All times are GMT + 1 Hour
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