Page 1 of 1

Knowing the compiled exe type from inside it?

Posted: Wed Jan 18, 2012 1:01 pm
by Tuxedo
Hi ALL!
The subject of the topic was a bit weir dI know...but dunno how to explain...
Lets try it:

I'm thinking to a way to autoconfigure an Hollywood program after that it was compiled so I can wrote only one script and than it will autoconfigure after compiling...
SO, I sk if there was any way(and if not if that can be introduced easly) to get the OS type of the exe of Hollywood that are running so I can get some choices inside my code without broke anything compiling it for a system or another...
A sort of CONSTANT auto setted up by the compiler itself ofr maybe inside the player when linking...

I hope that was celar...

Re: Knowing the compiled exe type from inside it?

Posted: Fri Jan 20, 2012 5:23 pm
by airsoftsoftwair
That's possible using the GetVersion() command and looking in the "Platform" field.

Re: Knowing the compiled exe type from inside it?

Posted: Fri Jan 20, 2012 7:09 pm
by Tuxedo
Perfect! Thank you!