pragma startup and DJGPP
pragma startup and DJGPP
I would like to have init function in each of my libraries that would be invoked before any other function from that library (something like constructor for objects). Is there any way to do it in C using DJGPP?
Re:pragma startup and DJGPP
Well, that depends on your operating system...
Every good solution is obvious once you've found it.
Re:pragma startup and DJGPP
Win XPSolar wrote: Well, that depends on your operating system...
Re:pragma startup and DJGPP
A google for "windows library initialization" brought up this link into the MSDN.
Every good solution is obvious once you've found it.