TabStrips, OFN and Out of memory! - Callback Called Exit.See this.

----- Original Message -----
From: Laurent ROCHER <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 31, 2000 8:02 PM
Subject: Re: [perl-win32-gui] Open and Save a file


> Hello
>
> You probably use filter option.
>
> I have signal a bug in the GetOpenFileName in GUI.xs some month ago.
> The variable filterlen delare at line 6323 is not initialise to 0.
> So, when compute the length of the filter string for allocate it, the
result
> could be wrong.
>
> You can find in attach file a working version of GetOpenFileName with some
> addon
> and an GetSaveFileName function.
> If you can compile Win32::gui, you cab change GetOpenFileName function
with
> this code,
> or simply initialize filterlen to 0 at line 6323.
>
> Laurent.
>
> (Sorry for my english)
>
> ----- Original Message -----
> From: Jens Luedicke <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, January 31, 2000 12:57 AM
> Subject: Re: [perl-win32-gui] Open and Save a file
>
>
> > Hi there ...
> >
> > I implemented those fuctions into a menu (File: Load and Save)
> > and saved the contents of a simple RichEdit Window into a file.
> > Then I existed my little program, and started it again. When I wanted
> > to load the particular file, my program crashed, with the output in the
> > console window:
> >
> > Out of memory!
> > Callback called exit.
> >
> >
> > What is wrong there ?
> >
> > with friendly regards....
> >
> >            Jens Luedicke <[EMAIL PROTECTED]>
> >
>


Reply via email to