Search found 21 matches

by Zai++
Mon Apr 09, 2012 1:23 pm
Forum: GFL SDK
Topic: GFL_LOAD_PARAMS::GFL_LOAD_CALLBACKS::AllocateBitmap
Replies: 1
Views: 2297

GFL_LOAD_PARAMS::GFL_LOAD_CALLBACKS::AllocateBitmap

Continuing 2.90 to 3.40 upgrade. Good evening. Loading files with gflLoadBitmap I used GFL_LOAD_PARAMS::GFL_LOAD_CALLBACKS::AllocateBitmap to load bitmap into my own structure. My Callback function was something like this: void* GFLAPI MY_CALLBACK_FUNCTION(GFL_INT32 width, GFL_INT32 height, GFL_INT3...
by Zai++
Mon Apr 09, 2012 12:53 pm
Forum: GFL SDK
Topic: GFL for MinGW
Replies: 2
Views: 2478

Re: GFL for MinGW

I apprehended it, but hoped for the best :)
So, LoadLibrary-way is waiting for me.
by Zai++
Fri Apr 06, 2012 1:19 pm
Forum: GFL SDK
Topic: GFL for Borland
Replies: 1
Views: 2118

GFL for Borland

One more question.
As I found, GFL SDK 3.40 has no libgfl.lib for Borland compiler, only for MS. I used 2.90 and failed to update to 3.40.
Dear Developers, could you make а new Borland lib?
by Zai++
Thu Apr 05, 2012 11:42 am
Forum: GFL SDK
Topic: GFL for MinGW
Replies: 2
Views: 2478

GFL for MinGW

Hello.
I'm workng with CodeBlocks on Windows, using GCC (MinGW).
Is there a proper GFL for it? Where can I download it? And what version of GCC is maintained?
by Zai++
Sun Jul 05, 2009 9:32 pm
Forum: GFL SDK
Topic: VC++2008, libgfl290 & WIN32 macro
Replies: 2
Views: 1964

Re: VC++2008, libgfl290 & WIN32 macro

thanks :)
by Zai++
Thu Nov 20, 2008 6:06 pm
Forum: GFL SDK
Topic: GFLAx is free now
Replies: 1
Views: 16596

because of the world financial crisis Pierre stuggles against his software overstocking
:mrgreen:
by Zai++
Mon Nov 17, 2008 3:50 pm
Forum: GFL SDK
Topic: GFL SDK v2.90 Unicode Error
Replies: 3
Views: 1714

A-a-a! There are two versions of lib. I didn't pay attantion.
sorry for a stupid question

But what for did you make two VC++ versions, if the unicode version works both with ansi and unicode??
by Zai++
Thu Nov 13, 2008 1:17 pm
Forum: GFL SDK
Topic: GFL SDK v2.90 Unicode Error
Replies: 3
Views: 1714

GFL SDK v2.90 Unicode Error

Unicode versions of Load ans Save functions fail both in С++Builder and Visual C++. This ANSI code works correct: gflLibraryInit(); GFL_BITMAP* B; GFL_LOAD_PARAMS LP; gflGetDefaultLoadParams(&LP); gflLoadBitmap("C:\\src.bmp",&B,&LP,NULL); GFL_SAVE_PARAMS SP; gflGetDefaultSaveParams(&SP); SP.FormatIn...
by Zai++
Tue Nov 11, 2008 5:23 pm
Forum: GFL SDK
Topic: VC++2008, libgfl290 & WIN32 macro
Replies: 2
Views: 1964

VC++2008, libgfl290 & WIN32 macro

VC++2008, libgfl290 : D:\Program Files\Microsoft Visual Studio 9.0\VC\include\Layer3\libgfl.h(62) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory #if defined(WIN32) #include <basetsd> typedef INT8 GFL_INT8; typedef UINT8 GFL_UINT8; ... #else #include <stdint> //l...
by Zai++
Fri Nov 07, 2008 12:09 pm
Forum: GFL SDK
Topic: GFL SDK v2.90 gflResize Error
Replies: 7
Views: 2518

> you have special functions to translate this kind of Bitmap

translating needs much time and memory, especially with large images
I don't want to waste resources just copying megabytes

I prefer to use undocumented features and .. :) .. am ready for future troubles
by Zai++
Thu Nov 06, 2008 2:28 pm
Forum: GFL SDK
Topic: GFL SDK v2.90 gflResize Error
Replies: 7
Views: 2518

Thanks for your cooperation :) The problem is solved! The description is below (if you are interested in) gflResize works correct when the function uses GFL_BITMAPs with their own data, I mean, GFL_BITMAP::Data points to a memory created with gflAllockBitmap, gflLoadBitmap etc. But I use GFL_BITMAP ...
by Zai++
Wed Nov 05, 2008 3:36 pm
Forum: GFL SDK
Topic: GFL SDK v2.90 gflResize Error
Replies: 7
Views: 2518

>I made a similar mistake writing the same bitmap in Src and Dest. It's not a mistake. In previous version when gflResize got a pointer to NULL in Dst parametr it created a new GFL_BITMAP object and now it fails. >You should write NULL directly to resize in the Src bitmap (written in the help). I do...
by Zai++
Wed Nov 05, 2008 1:41 pm
Forum: GFL SDK
Topic: gflSaveBitmap/gflSaveBitmapW
Replies: 2
Views: 1364

Very unusual behaviour...
by Zai++
Wed Oct 29, 2008 12:43 pm
Forum: GFL SDK
Topic: gflSaveBitmap/gflSaveBitmapW
Replies: 2
Views: 1364

gflSaveBitmap/gflSaveBitmapW

the filename parametr in gflSaveBitmap function has char* type - const is missed
could you add const in next version?

the same about gflSaveBitmapW and const wchar_t*
by Zai++
Wed Oct 29, 2008 12:24 pm
Forum: GFL SDK
Topic: GFL SDK v2.90 gflResize Error
Replies: 7
Views: 2518

GFL SDK v2.90 gflResize Error

This code worked successfully on 267 version, but it fails on 290:

Code: Select all

 GFL_BITMAP* Dst=NULL;
//Src - pointer to existing bitmap 
 gflResize(Src, &Dst, SaveW, SaveH, .., ..);
Access violation in module LIBGFL290.DLL
:(