Compiling Rap component on non Rap RB version
Hi!
I wan't to distribute a component that has Rap functionnalities but it
won't compile because the "raFunc" file is not found. Is there a $IFDEF
I can use that indicates wheiter or not th RB version is "Rap enabled"?
Thanks
--
Daniel Lemire
Programmeur,
Conception Design Ware Inc.
Tél.: 819-868-8853
Fax : 819-868-8855
I wan't to distribute a component that has Rap functionnalities but it
won't compile because the "raFunc" file is not found. Is there a $IFDEF
I can use that indicates wheiter or not th RB version is "Rap enabled"?
Thanks
--
Daniel Lemire
Programmeur,
Conception Design Ware Inc.
Tél.: 819-868-8853
Fax : 819-868-8855
This discussion has been closed.
Comments
compile apps which contain RAP.
--
Cheers,
Tom Ollar
Digital Metaphors Corporation
http://www.digital-metaphors.com
info@digital-metaphors.com
enterprise. Some of then only have RB professionnal. I have a component
with Rap that I created for one of my client that have RB enterprise and I
also sold it to another client that doens't have RB enterprise. So I
basically want to use the same source code but it can be build in
different versions of RB.
I tried to look for defines that could be conditionnal like:
uses
ppCtrls
{$IFDEF RBENT} , rafunc {$ENDIF} ;
This would make the compiler add the Rap functions only if the type of RB
is enterprise thus giving the possibility to use the same code on many RB
versions.
--
Daniel Lemire
Programmeur,
Conception Design Ware Inc.
Tél.: 819-868-8853
Fax : 819-868-8855
{$DEFINE Pro}
These are already in ppIfDef.pas...
--
Cheers,
Tom Ollar
Digital Metaphors Corporation
http://www.digital-metaphors.com
info@digital-metaphors.com
--
Daniel Lemire
Programmeur,
Conception Design Ware Inc.
Tél.: 819-868-8853
Fax : 819-868-8855