Search found 2 matches

by Peter_K
Fri Jul 01, 2011 12:58 pm
Forum: GFL SDK
Topic: Using progress callback
Replies: 2
Views: 2563

Re: Using progress callback

Code: Select all

gflGetDefaultLoadParams( lp );
No, I had this line, but procedure still wasn't called.

In my project, which is pretty much simple, I've walked around the problem with one of these gifs: http://www.cinemamuseum.ir/images/ajax-loader.gif
But I've never managed to run my callback function.
by Peter_K
Fri Mar 25, 2011 9:46 am
Forum: GFL SDK
Topic: Using progress callback
Replies: 2
Views: 2563

Using progress callback

Hello.

I'm trying to use progress callback procedure while loading a picture.
Here is the code (modified example from GflSDK\Delphi\Demo\Source\):

procedure ProgressCallback(percent: GFL_INT32; user_params: Pointer); stdcall;
begin
Application.MessageBox('Procedure is called', 'OK', MB_OK + MB ...