How to Display/Update BMP in C (vs C++)
Posted on 1998-02-23
Using MS Visual C++, I have the following code in C++ (that changes the display of a Dialog Control - by changing the BITMAP loaded onto the control). I haven't found any way to accomplish this in C. The code that currently works is as follows:
DWORD dwResource = IDB_BITMAP1;
CStatis m_sKeyDispCtrl; // Dialog Ctrl to paint BMP on
m_hBitHandle = HBITMAP(keyPicture);
Any Idea on how to convert this to be used by a C (only) application? I thought about adding the C++ source to a project with only C modules, but it during linking, it gives me "Unresolved References to __argv, __argc.
Thanks in advance