wpcubed.com Forum Index wpcubed.com
WPCubed GmbH Support Forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Could not compile used unit 'WPGrprop.pas' -

 
Post new topic   Reply to topic    wpcubed.com Forum Index -> WPForm
View previous topic :: View next topic  
Author Message
rshort



Joined: 15 Feb 2010
Posts: 2

PostPosted: Mon Feb 15, 2010 6:13 pm    Post subject: Could not compile used unit 'WPGrprop.pas' - Reply with quote

Help - I had to upgrade my hardware and rebuild the Delphi Components. I experienced an issue regarding WPForm2 compiling into the WPTools5 Bundle. Here is the stats and actions taken.

0) XP Professional - Delphi 5 Pro - Environment paths all set
1) All bpl deleted with D5 closed.
2) Installed in directories
Program Files\wPDF3
Program Files\wpForm2
Program Files\wpShared
Program Files\wpTools5
2a) The PremSource files were copied over to the "Program Files\wpTools5\D5\"
2b) WPFRtf copied to WPFRtf5
3) cut-n-paste from WPINC
{$DEFINE WPREPORTER} //= WPReporter addon, part of "Bundle"!
// http://www.wpcubed.com/products/wpreporter/index.htm
{.$DEFINE WPQUICK4} //=Support for Quickreport 4 - please ask for pricing
{.$DEFINE WPSPELL} //= spellcheck addon.
// http://www.wpcubed.com/products/wpspell/
{$DEFINE WPPREMIUM} //= addon for footnotes and text boxes
// http://www.wpcubed.com/products/wptools/premium/
{$DEFINE WPPDFEX} //= link in wPDF, our PDF addon
// Include the WPShared library right into the WPTools package
{$DEFINE INCLUDE_WPSHARED}
// Include our product WPForm right into WPTools
{$DEFINE INCLUDE_WPFORM}

The D5 Component Palette shows tabs for
WPTools/WP-SHared/WPReporter/wPDF


Error txt from compiling using - WPTools5_D5.dpk
[Warning] WPBltStyleDlg.pas(135): Return value of function 'TWPBulletStyleDialog.EditStyleNums' might be undefined
[Hint] WPBltStyleDlg.pas(95): Variable 's' is declared but never used in 'TWPBulletStyleDialog.EditStyleNums'
[Error] wpf_inc.inc(103): Invalid compiler directive: 'WARN'
[Error] wpf_inc.inc(104): Invalid compiler directive: 'WARN'
[Error] wpf_inc.inc(105): Invalid compiler directive: 'WARN'
[Error] wpf_inc.inc(103): Invalid compiler directive: 'WARN'
[Error] wpf_inc.inc(104): Invalid compiler directive: 'WARN'
[Error] wpf_inc.inc(105): Invalid compiler directive: 'WARN'
[Error] wpf_inc.inc(103): Invalid compiler directive: 'WARN'
[Error] wpf_inc.inc(104): Invalid compiler directive: 'WARN'
[Error] wpf_inc.inc(105): Invalid compiler directive: 'WARN'
[Fatal Error] wpfrm.pas(18): Could not compile used unit 'WPGrprop.pas'

What have I missed?

This is a Cut-n-paste from WPForm2\D5\wpf_inc.inc
{.$DEFINE NODBUNITS} { enable this define if you have C++Builder Standard }
{$DEFINE WPF_USEWP} // Activate this define to use and link WPTools into the
// designtime enviroment Note: to use WPTools in your projects add unit
// WPFRtf to the uses clause of one of the units
{.$DEFINE USEWPFPRINTER} { Use different printer units named printers_wpf.pas }
{.$DEFINE WPDEBUG} // Create debugging symbols

After WPForm install is when to include the WPFRtf in the uses clauses right?
_________________
If we can build a way to think in peace, we can build civilization that live in peace
Back to top
View user's profile Send private message Visit poster's website
rshort



Joined: 15 Feb 2010
Posts: 2

PostPosted: Mon Feb 15, 2010 6:28 pm    Post subject: Reply with quote

correction to the above 2b)

WPForm2\D5\WPFRTF5.pas copied to WPFRtf.pas
_________________
If we can build a way to think in peace, we can build civilization that live in peace
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    wpcubed.com Forum Index -> WPForm All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group