[comp.windows.ms] HELP !!! - Load Bitmap File Not defined in .RC

rajesh@rtangri1.EBay.Sun.COM (Rajesh Tangri) (10/16/90)

I have a problem with Windows 3.0 SDK.  I'm saving a memory image into a
Bitmap file. This works perfect.  Another case in the same program must print
the Bitmap file saved via the other case.  In the print case, I load the
Bitmap file into hInstance using LoadBitmap GDI function.  LoadBitmap works
with a Bitmap file defined as BITMAP resource in the .RC file.  How can I
load a Bitmap file without defining it as a BITMAP resource ???  In other
words, how can I save at run-time and then print the file ???

PaintBrush asks the user for filename to print and I enter .bmp file and 
it works !!!  Damnnnn,  How does PaintBrush do it when I cannot ???

Please reply directly to me.  I will post all replies back to the net.