Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

TBitmap: which unit to use?

0 views
Skip to first unread message

Ed Mittelstedt

unread,
Jan 9, 1997, 3:00:00 AM1/9/97
to

The docs say simply to include Graphics. But when I try to compile it
stops on an error with the LoadResourceFromName method. I copied a
bunch of Units from a form I know worked, but I haven't had the time
to figure out which units it actually needs. Anyone figure this out?

Ed
gi...@clark.net


Ray Lischner

unread,
Jan 9, 1997, 3:00:00 AM1/9/97
to

On Thu, 09 Jan 1997 14:40:47 GMT, gi...@clark.net (Ed Mittelstedt)
wrote:

Check the order of the units. Windows also declares TBitmap as a
record type. (Or you might be using D1, which does not have the
LoadResourceFromName method.)

--
Ray Lischner, Tempest Software, Inc., Corvallis, Oregon, USA
Author of Secrets of Delphi 2 (http://www.tempest-sw.com/secrets/)

Mark Smits

unread,
Jan 13, 1997, 3:00:00 AM1/13/97
to

gi...@clark.net (Ed Mittelstedt) wrote:

>The docs say simply to include Graphics. But when I try to compile it
>stops on an error with the LoadResourceFromName method. I copied a
>bunch of Units from a form I know worked, but I haven't had the time
>to figure out which units it actually needs. Anyone figure this out?

Yuo probable need SysUtils, Classes and Windows.


0 new messages