View previous topic :: View next topic |
Author |
Message |
viroxa
Joined: 28 Jul 2017 Posts: 78
|
Posted: Wed Aug 02, 2017 10:02 am Post subject: Compiling DLLs - Warning libmain |
|
|
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 |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7925 Location: Salford, UK
|
Posted: Wed Aug 02, 2017 12:45 pm Post subject: |
|
|
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 |
|
|
viroxa
Joined: 28 Jul 2017 Posts: 78
|
Posted: Wed Aug 02, 2017 3:11 pm Post subject: |
|
|
Thanks! |
|
Back to top |
|
|
|