Mensaje    Asunto: Como usar GDI+ en una aplicacion C++ Builder 2007 Responder citando

como implemento un aplicacion GDI+ en una aplicacion Win32... utilizo C++ Builder 2007.. obtengo errores al compilar
El codigo utilizado es el siguiente:

//---------------------------------------------------------------------------
#define STRICT
#include <windows>
#pragma hdrstop
//---------------------------------------------------------------------------
#pragma argsused
#include <algorithm>
using std::min;
using std::max;
#include <gdiplus>


CHAR szWndClassName[] = "Ventana Principal";
CHAR szClassName[] = "Ventana Principal";

LRESULT CALLBACK WndProc(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam){
switch(Msg){
case WM_DESTROY:
PostQuitMessage(0);
break;
default:
return DefWindowProc(hWnd, Msg, wParam, lParam);
}
return 0;
}

WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
{
HWND hWnd;
WNDCLASSEX wce;
Gdiplus::GdiplusStartupInput gdiplusStartupInput;
ULONG_PTR gdiplusToken;

Gdiplus::GdiplusStartup(&gdiplusToken, &gdiplusStartupInput, NULL);

wce.cbSize = sizeof(wce);
wce.style = CS_OWNDC;
wce.lpfnWndProc = WndProc;
wce.cbClsExtra = 0;
wce.cbWndExtra = 0;
wce.hInstance = hInstance;
wce.hIcon = LoadIcon(NULL, IDI_APPLICATION);
wce.hCursor = LoadCursor(NULL, IDC_ARROW);
wce.hbrBackground = (HBRUSH)GetStockObject(WHITE_BRUSH);
wce.lpszMenuName = NULL;
wce.lpszClassName = szWndClassName;
wce.hIconSm = LoadIcon(NULL, IDC_ARROW);
RegisterClassEx(&wce);
hWnd = CreateWindow(szWndClassName, szClassName, WS_OVERLAPPEDWINDOW,
0, 0, 640, 480, NULL, NULL, hInstance, NULL);
ShowWindow(hWnd, SW_SHOWNORMAL);
UpdateWindow(hWnd);
MSG msg;
while(GetMessage(&msg, NULL, 0, 0)){
TranslateMessage(&msg);
DispatchMessage(&msg);
}
UnregisterClass(szWndClassName, hInstance);
Gdiplus::GdiplusShutdown(gdiplusToken);
return 0;
}
_________________
Intercambiar conocimientos C++ Builder