c++ - DMC pragma startup or equivalent?
- xharbour_deletethis telkom.net.id (Andi Jahja) (7/7) Feb 05 2011 Hello,
- Walter Bright (3/9) Feb 19 2011 Probably the easiest way is to make a C++ file (DMC will compile C++ fil...
Hello, I need to compile a program in C (not C++) mode and I also need a function to be executed as start-up before any other functions. IOW, I need something like Borland C "#pragma startup xxx" How could I do this with DMC? Thanks Andi
Feb 05 2011
Andi Jahja wrote:I need to compile a program in C (not C++) mode and I also need a function to be executed as start-up before any other functions. IOW, I need something like Borland C "#pragma startup xxx" How could I do this with DMC?Probably the easiest way is to make a C++ file (DMC will compile C++ files) and put the code in a static constructor.
Feb 19 2011