Put the bitmaps into the executable.
Modified: trunk/rosapps/tests/alphablend/alphablend.c
Added: trunk/rosapps/tests/alphablend/alphablend.rc
Modified: trunk/rosapps/tests/alphablend/alphablend.xml

Modified: trunk/rosapps/tests/alphablend/alphablend.c
--- trunk/rosapps/tests/alphablend/alphablend.c	2005-11-15 16:53:06 UTC (rev 19250)
+++ trunk/rosapps/tests/alphablend/alphablend.c	2005-11-15 17:52:27 UTC (rev 19251)
@@ -85,8 +85,8 @@
     BitBlt(hDC, 0, 0, bmp->bmWidth, bmp->bmHeight, HMemDC, 0, 0, SRCCOPY);
 
     /* load and apply alpha channel */
-    bmpalpha = LoadImage(HInst, TEXT("lenaalpha.bmp"), IMAGE_BITMAP,
-                            0, 0, LR_LOADFROMFILE);
+    bmpalpha = LoadImage(HInst, MAKEINTRESOURCE(2000), IMAGE_BITMAP,
+                            0, 0, 0);
     if(bmpalpha)
     {
       COLORREF *col = pBmpBits;
@@ -131,8 +131,8 @@
             /* load a bitmap from file */
             HBITMAP HBmp =
                /* static_cast<HBITMAP> */(
-                  LoadImage(HInst, filename, IMAGE_BITMAP,
-                            0, 0, LR_LOADFROMFILE)
+                  LoadImage(HInst, MAKEINTRESOURCE(1000), IMAGE_BITMAP,
+                            0, 0, 0)
                             );
             if (HBmp)
             {

Added: trunk/rosapps/tests/alphablend/alphablend.rc
--- trunk/rosapps/tests/alphablend/alphablend.rc	2005-11-15 16:53:06 UTC (rev 19250)
+++ trunk/rosapps/tests/alphablend/alphablend.rc	2005-11-15 17:52:27 UTC (rev 19251)
@@ -0,0 +1,3 @@
+
+1000            BITMAP  MOVEABLE PURE   "lena.bmp"
+2000		BITMAP	MOVEABLE PURE	"lenaalpha.bmp"

Modified: trunk/rosapps/tests/alphablend/alphablend.xml
--- trunk/rosapps/tests/alphablend/alphablend.xml	2005-11-15 16:53:06 UTC (rev 19250)
+++ trunk/rosapps/tests/alphablend/alphablend.xml	2005-11-15 17:52:27 UTC (rev 19251)
@@ -2,7 +2,9 @@
 	<define name="_WIN32_IE">0x0501</define>
 	<define name="_WIN32_WINNT">0x0501</define>
 	<define name="__USE_W32API" />
+	<include base="alphablend">.</include>
 	<library>kernel32</library>
 	<library>gdi32</library>
 	<file>alphablend.c</file>
+	<file>alphablend.rc</file>
 </module>