Silverfrost Forums

Welcome to our forums

Compiling DLLs - Warning libmain

2 Aug 2017 9:02 #19931

Hello, everyone,

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

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?

2 Aug 2017 11:45 #19933

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.

2 Aug 2017 2:11 #19936

Thanks!

Please login to reply.