Quote:
Originally posted by Bruce A. Baasch
You can use the following to conditionally compile:
#If (yourcondition) Then
Else
#End If
(yourcondition) must equate to a boolean True/False.
I don't know how to detect the operating platform during compilation, only during execution using the SysInfo control or API calls.
Good Luck,
|
Thank you for your quick response, but via API call I know too. In my case, I need to write a code during the compilation. Using API call, when I compile the code, the Delphi compiler doesn't care if I'm running in the Win2k or WinXP.
I need to cut some line of code for Win2k or WinXP.
Regards,
Muzilli
UIN 1572797