Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!uflorida!reef.cis.ufl.edu!jdb From: jdb@reef.cis.ufl.edu (Brian K. W. Hook) Newsgroups: comp.windows.ms.programmer Subject: HELP! With Bitmaps.... Message-ID: <27506@uflorida.cis.ufl.EDU> Date: 18 Mar 91 23:59:01 GMT Sender: news@uflorida.cis.ufl.EDU Organization: UF CIS Dept. Lines: 30 My program is giving me an exception error 13, 0 whenever I reach WM_CREATE: hBitmap[0]=LoadBitmap(hInst,"boom"); It dies right there! WHY?! ARGH! Anyway, it works fine if I use the following: hBitmap[0]=LoadBitmap(NULL,"CONSTANT"); ^^^^^^^^^^^^----asstd. constants in SDK In other words, when I try to use my own bmps it dies flat out....I have 1. Put .BMP files in the .RC file 2. checked EVERYTHINg twice Please, what am I missing here? Oh, hInst is a static global variable of hInstance.... SETUP: 386-33 w/8MB of RAM 8MB swapfile Windows in enhanced mode BC++ 2.00 Windows 3.00 Brian