RE: More Printing woes

new topic     » goto parent     » topic index » view thread      » older message » newer message

Derek,

This is how it looks now:

function myAllocate(integer pSize)
    atom lAddr
    atom lPreSize       
    integer lMemSize

    lAddr = allocate(pSize)
    mem_set(lAddr, pSize, 0)
    return lAddr

    -- old junk snipped --

end function


You are saying it could/should look like this?

function myAllocate(integer pSize)
    atom lAddr

    lAddr = allocate(pSize)
    mem_set(lAddr, 0, pSize)
    return lAddr
end function

-- Brian

Derek Parnell wrote:
> Greg,
> I've made a mistake in the include file "tk_mem.e".
> 
> In the routine "myAllocate", find the line ...
> 
>         mem_set( lAddr, lMemSize, 0)
> 
> and change it to ...
> 
>         mem_set( lAddr, 0, lMemSize)
> 
> This error was caused by me not remembering the correct order of 
> parameters
> and not checking the manual either. I changed this routine recently to 
> get
> around a shortcoming in Euphoria 2.4 that deals with Windows memory
> allocation.
> 
> Sorry for the inconvenience.
> 
> ----------------
> cheers,
> Derek Parnell
> 
> ----- Original Message -----
> From: "Greg Haberek" <g.haberek at comcast.net>
> To: "EUforum" <EUforum at topica.com>
> Sent: Friday, April 04, 2003 7:08 AM
> Subject: More Printing woes
> 
> 
> > Ok... after determining HOW to print, WHERE to print, and WHAT to print,
> now I can't Print!
> > grrr... woe is me. I downloaded the newest Win32Lib (0.58.03) per
> suggestion of Derek, since
> > getPageSetup() crashed. but what's worse is now it does nothing! neither
> does getPrinter()! Why?
> >
> >
> > TOPICA - Start your own email discussion group. FREE!
> >
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu