Posted: Wed Mar 26, 2003 1:48 pm
Restored from previous forum. Originally posted by KPiTN.
I want to use GdipGetImageWidth function from GdiPluss.dll
I use Windev
Width is an integer
ImageLoad is a variant
AppelDLL32("gdiplus.dll","GdipLoadImageFromFile","c:\MSI.jpg",ImageLoad)
AppelDLL32("gdiplus.dll","GdipGetImageWidth",ImageLoad,Width)
Trace(ImageLoad)
I suppose i must use GdipLoadImageFromFile to point my picture
But the problem is that ImageLoad must be a "GpImage **image"
see that here http://msdn.microsoft.com/library/defau ... gdicpp/gdi /gdi reference/flatimage.asp
How can i load the picture to use GdipGetImageWidth function by api?
It's not C or C++ , it's Windev
Scuse my english, i'm french
I want to use GdipGetImageWidth function from GdiPluss.dll
I use Windev
Width is an integer
ImageLoad is a variant
AppelDLL32("gdiplus.dll","GdipLoadImageFromFile","c:\MSI.jpg",ImageLoad)
AppelDLL32("gdiplus.dll","GdipGetImageWidth",ImageLoad,Width)
Trace(ImageLoad)
I suppose i must use GdipLoadImageFromFile to point my picture
But the problem is that ImageLoad must be a "GpImage **image"
see that here http://msdn.microsoft.com/library/defau ... gdicpp/gdi /gdi reference/flatimage.asp
How can i load the picture to use GdipGetImageWidth function by api?
It's not C or C++ , it's Windev
Scuse my english, i'm french