🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #11163

jpg to bmp

#11163
From: Marco
Date: Tue, 24 Feb 2004 15:03
13 lines
1122 bytes
Hi everyone,

This is my source code:

  TPicture* pict = new TPicture();
  pict->LoadFromFile ("Image.bmp")

I have to load ico, jpg, jpeg and wmf image files but "LoadFromFile" return a graphics exception.
How can i solve this problem?  

Thanks in advance!!
Marco
Technical Details
Message-ID: <403b67b8$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,a60a0221cf5ef0cb,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-02-24 07:16:17 PST
From: "Marco" <mliorti@libero.it>
Sender: "Marco" <mliorti@libero.it>
Reply-To: "Marco" <mliorti@libero.it>
Subject: jpg to bmp
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 195.103.152.67     
X-Forwarded-For: 130.130.63.116, 195.103.152.85
NNTP-Posting-Host: 207.105.83.66
Message-ID: <403b67b8$1@newsgroups.borland.com>
Date: 24 Feb 2004 07:03:20 -0800
X-Trace: newsgroups.borland.com 1077635000 207.105.83.66 (24 Feb 2004 07:03:20 -0800)
Lines: 14
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail