Page 1 of 1
pragma startup and DJGPP
Posted: Sat Mar 18, 2006 3:29 am
by crackers
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
Posted: Sat Mar 18, 2006 3:49 am
by Solar
Well, that depends on your operating system...
Re:pragma startup and DJGPP
Posted: Sat Mar 18, 2006 10:12 am
by crackers
Solar wrote:
Well, that depends on your operating system...
Win XP
Re:pragma startup and DJGPP
Posted: Sat Mar 18, 2006 1:11 pm
by Solar
A google for "windows library initialization" brought up
this link into the MSDN.