Introduction
The Cards.dll includes bitmaps of playing cards as resources. It can be useful for developing card games.
Using the code
There was actually no coding involved in producing the DLL, as a matter of fact, it is just a convenient way of storing a large number of bitmaps that could be used in several programs. The code section below is an example of how to load a bitmap from Cards.dll.
#include "Cards.h"
HMODULE <code>hModule</CODE> = LoadLibrary("Path\\To\\Cards.dll");
HBITMAP <CODE>hBitmpap</CODE> =
LoadBitmap(<CODE>hModule</CODE>,MAKEINTRESOURCE(IDB_H01)));
FreeLibrary(<CODE>hModule</CODE>);
History
This is my first update. Suggestions are well accepted!
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.