can we cal gdi+ in fwh ?
and How ?
gdi+ have many important functions
#include "FiveWin.ch"
function Main()
GDIPLUSSTARTUP()
GDIPLUSSHUTDOWN()
MsgInfo( "ok" )
return nil
#pragma BEGINDUMP
#include <hbapi.h>
#include <windows.h>
#include <Gdiplus.h>
GdiplusStartupInput gdiplusStartupInput;
ULONG_PTR gdiplusToken;
HB_FUNC( GDIPLUSSTARTUP )
{
// Initialize GDI+
GdiplusStartup( &gdiplusToken, &gdiplusStartupInput, NULL );
}
HB_FUNC( GDIPLUSSHUTDOWN )
{
// Shutdown using gdiplus
GdiplusShutdown( gdiplusToken );
}
#pragma ENDDUMP
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 73 guests