can we cal gdi+ in fwh ?
and How ?
gdi+ have many important functions
gdi+
- Antonio Linares
- Site Admin
- Posts: 42519
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 75 times
- Contact:
Silvio,
This is a first test, but you have to use bcc582 or higher. It will not work with bcc55.
test.prg
This is a first test, but you have to use bcc582 or higher. It will not work with bcc55.
test.prg
Code: Select all | Expand
#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
- Antonio Linares
- Site Admin
- Posts: 42519
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 75 times
- Contact: