We are trying to run a win32 application on wine and linux. The
application is starting and ultimatly fails with the following message.

LOCAL_GetBlock not enough space in GDI local heap (01d7) for 60 bytes

The application does quite a lot before failing. It does ODBC access to a
sybase server, brings its splash screen, then its main windows. Note that
this application main window use quite a few widgets. It is made of a
notebook object with several data browsers and input fields distributed in
the various pages.

Trying to pinpoint the offending piece of code (This is our own
application, so we have to source), we think it is not any code in
particular, but simply because there are two many widgets. Commenting out
the area where our app fails, we get a little further and fails in another
window.

I would expect that a 32 bit application is not using the 16 bits heap
much (--debugmsg +heap shows differently). Am I missing something ?

The application is built using the wxWindow 1.66 toolkit.

We came to the following conclusion (and we are no windows expert). Anyone
may comment ?

        It is a limitation in wine. Its GDI library is still using a lot
        of 16 bits object.

        It is a limitation in win32. Is has to use 16 bits heap objects
        (then why our app is working correctly in windows and windows NT)

        Something odd is happening somewhere and confuse wine, so the
        error above does not mean much.

We are getting this with the latest CVS version (well, updated may 25)


---------------------------------------------------------
Jacques Gelinas <[EMAIL PROTECTED]>
virtualfs: Automounting floppy, CDs, network share, etc...
http://www.solucorp.qc.ca/

Reply via email to