I'm usiging GdViewer4.GdViewer and GdPicture.Imaging ActiveX with WinDev 14.
When I run this code :
- Code: Select all
ActiveX1>>CreateImageFromFile(SAI_FIC)
ActiveX2>>SetNativeImage(ActiveX1>>GetNativeImage())
Trace(ActiveX2>>GetStat())
the following error occurs : "Invalid Image: Can not get picture height." (Message box with title = "GdViewer4")
The "Trace" methode display the code 2 (InvalidParameter)
ActiveX1 is a WinDev ActiveX field : GdPicture4.Imaging - Version = 5.99012031
ActiveX2 is a WinDev ActiveX field : GdViewer4.GdViewer - Version = 5.99012031
the SAI_FIC variable is a string containing the complete path of a jpeg file "C:\Users\Developpeur\Desktop\7f1.jpg" (see attachment)
Can you help me ?
Thanks
PS : Sorry for my poor english, but I'm french !
