 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Daniel F Guest
|
Posted: Mon Nov 22, 2004 4:22 pm Post subject: #include <jpeg.hpp> gets me an error while installing |
|
|
Hello,
Iam creating a component that inherist from "TQRDBImage", so that i can read jpeg images and print them...
the thing is when i add the include file and try to install it i get this error :
"Cannot load package 'SPCOMP.' It contains unit 'Jconsts, 'which is also contained in package 'vcljpg60'"
seems to me he is trying to load two times the jpeg.hpp file and gets mess up.. but if i dont include the jpeg.hpp i cant use object TJPEGImage that will allow me to load jpeg images to my component.
Thx in advanced
Daniel F
p.s: End spam, respect privacy so that yours can be respected too.(Sooner or later it will get you to ...)
|
|
| Back to top |
|
 |
OBones Guest
|
Posted: Tue Nov 23, 2004 7:45 am Post subject: Re: #include <jpeg.hpp> gets me an error while installing |
|
|
Daniel F wrote:
| Quote: | Hello,
Iam creating a component that inherist from "TQRDBImage", so that i can read jpeg images and print them...
the thing is when i add the include file and try to install it i get this error :
"Cannot load package 'SPCOMP.' It contains unit 'Jconsts, 'which is also contained in package 'vcljpg60'"
seems to me he is trying to load two times the jpeg.hpp file and gets mess up.. but if i dont include the jpeg.hpp i cant use object TJPEGImage that will allow me to load jpeg images to my component.
Thx in advanced
Daniel F
p.s: End spam, respect privacy so that yours can be respected too.(Sooner or later it will get you to ...)
|
Just add vcljpg to the requires list of your package.
|
|
| Back to top |
|
 |
|
|
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
|
|