40e Subj : Re: invoking bitmaps To : borland.public.cpp.borlandcpp From : Jan Vernimmen Date : Sun Nov 14 2004 03:10 pm Jack, In the BC5 software there are two examples how to handle external bitmaps: BC5\examples\series\GDIDIB BC5\examples\series\GDIPRINT Looking to this examples I succeeded in loading external bitmaps and also sent them to a printer. Jan Vernimmen. Gary Setter wrote: > "Jack Sawatzky" wrote in message > news:419581fd@newsgroups.borland.com... > >>The LoadBitmap function has the following parameter >> >>HINSTNACE: The instance handle of the module whose executable >>file contains the bitmap to be loaded. >> >>What is a module? >> >>The bitmap I want to use is a separate file, it is not in an executable >>file. How do I use this function? >> >>Thank you. > > If you want to load a bitmap from an external file, LoadBitmap is not the > function for you. LoadBitmap, like LoadString and other is for loading from > a resource in an exe or dll. > . 0