BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

#include <jpeg.hpp> gets me an error while installing

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Development)
View previous topic :: View next topic  
Author Message
Daniel F
Guest





PostPosted: Mon Nov 22, 2004 4:22 pm    Post subject: #include <jpeg.hpp> gets me an error while installing Reply with 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 ...)
Back to top
OBones
Guest





PostPosted: Tue Nov 23, 2004 7:45 am    Post subject: Re: #include <jpeg.hpp> gets me an error while installing Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Development) 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, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.