Alaska Software Inc. - Re: Method isInstalled always returns FALSE in Xbase 2.0
Username: Password:
AuthorTopic: Re: Method isInstalled always returns FALSE in Xbase 2.0
Andreas Gehrs-Pahl

View the complete thread for this message in:

Re: Method isInstalled always returns FALSE in Xbase 2.0
on Wed, 18 May 2016 07:11:56 -0400
Rens,

>#ifdef XB20  workaround (PDR 6739)
>When I compile with XBase 2.0, I define _XB20_, so the 'Chr(0)' gets added.

You could simply use the built-in define constant XPPVER in your code, which 
could look something like this:

#if XPPVER > 2000000     workaround (PDR 6739)

That way, you don't have to create a new define constant. Instead of version 
2000000, you could be even more specific, and use 2000482, as most changes, 
like new Function Names, etc., were introduced in build 2.00.483.

Hope that helps,

Andreas

Andreas Gehrs-Pahl
Absolute Software, LLC

phone: (989) 723-9927
email: Andreas@AbsoluteSoftwareLLC.com
web:   http://www.AbsoluteSoftwareLLC.com
[F]:   https://www.facebook.com/AbsoluteSoftwareLLC