I can't get the d_bitmap_proc() or d_icon_proc() GUI object to work!

Description

I can't get the d_bitmap_proc() or d_icon_proc() GUI object to work!
You are probably trying to initialise the dialog structure with a pointer to your bitmap, right? That won't work because the dialog is created at compile time, but the bitmap is only loaded at runtime, so the compiler doesn't yet know where it will be located. You need to fill in the dialog structure with a NULL pointer, and then copy the real bitmap pointer into the dp field as part of your program init code, after you've loaded the bitmap into memory.