Problems using pJPEG, ppGIF,ppGIFImage in aRunTime package
Hi,
I have an EndUser solution compiled in a run-time package.
In this package I use pJPEG and ppGIF units.
When I compile, the compiler tells me that it implicity imports the pJPEG,
ppGIF and ppGIFImage units and then the Ide asks me to include "dclRBE1111"
package in my package.
But my package is a run-time one and dclRBE1111 is a design-time package, so
I answer no and accept the implicit import.
I must do this every time I compile my package, and I think you should move
these units in a run-time one.
This happens with both RB10 and RB11.
Thank you,
Massimiliano Trezzi.
I have an EndUser solution compiled in a run-time package.
In this package I use pJPEG and ppGIF units.
When I compile, the compiler tells me that it implicity imports the pJPEG,
ppGIF and ppGIFImage units and then the Ide asks me to include "dclRBE1111"
package in my package.
But my package is a run-time one and dclRBE1111 is a design-time package, so
I answer no and accept the implicit import.
I must do this every time I compile my package, and I think you should move
these units in a run-time one.
This happens with both RB10 and RB11.
Thank you,
Massimiliano Trezzi.
This discussion has been closed.
Comments
Thank for the feedback. This is something we can consider adding to a future
release.
For now, you should be able to place ppJPEG and ppGIF and ppGIFImgae in the
'contains' clause of your run-time package, or if you prefer, place them in
a separate run-time package.
I created a test using D2009 and RB 11 and the following compiles without
errors or warnings, or questions from the IDE...
package myTestPackage;
requires
rbRCL1112,
rtl,
vclimg; // this is vcljpg in prior Delphi versions
contains
ppJPEG,
ppGIFImage,
PPGIF;
end;
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com