nanogui@linuxhacker.org

nanogui@linuxhacker.org


Subject: Re: [linuxce-devel] Re: FLTK Port, list of Win32 functions...
From: shane.isupportlive.com
Date: Sun, 5 Mar 2000 01:09:11 +0000

> : > GlobalAlloc
> : > GlobalLock
> : > GlobalUnlock
> :
> : But chunks of this are Win32 memory allocators and have nothing to do with
> : a GUI
> 
> True.  So either fltk gets changed with an ifdef or I munge these into the
> following:
>     GlobalAlloc    malloc
>     GlobalFree    free
>     GlobalLock    nop
>     GlockUnlock  nop
> 
> the problem is, many win32 programs use GlobalAllocXXX.  Maybe just a define
> in fltk sources is the best idea....

Agreed.  They do have nothing to do with the GUI.  I'll just macro
redefine it, or re-write the section that these items came up in.  (I
believe they were only referenced in one file, the win32 specific
file.  I'm thinking of re-writing this anyway into a file specifically
for microwindows.)

Thanks Alan & Greg,
Shane.

nanogui@linuxhacker.org