WPCubed Product Support

WPOBJ_Image.pas uses FileCtrl

Platform: Borland C++ 6
I'm currently evaluating av upgrade of wptools from 5.x->6.07.
Compiling the new version adds the following dependencies.


vclx60.bpl='__fastcall Filectrl::initialization()'
vclx60.bpl='__fastcall Filectrl::Finalization()'
vclx60.bpl='__fastcall Filectrl::ForceDirectories(const System::AnsiString)'


because FileCtrl is used in WPOBJ_Image.pas.
But afaict the only thing used is ForceDirectories(Dir), which
simply delegates to SysUtils.ForceDirectories(Dir).

This might be a non-issue for most people, but we are trying hard
to minimize any kind of dependencies in our projects...

patrik.nyborg(a)genicore.se

#1 ♥ 0
4k Views 3 users read 1 min
support

Thanks,

I make it

{$IFNDEF DELPHI6ANDUP}, FileCtrl {$ENDIF}

#3 ♥ 0

Hi;

I found that FileCtrl is in WPPDFR1.pas; I removed it, and the unit compiles without errrors.

Is it posible to add this change in WPPDFR1.pas for furute patches?

Thank you.

Felipe

#4 ♥ 0
This category is archived. No new posts are possible.