Re: Problem with copying text to the Windows clipboard

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

@Bernie, Clarification about GloblaAlloc() Modern OS works in protected mode. This means that the OS allocate memory space for each application and other applications can't access that memory. Euphoria heap is in application memory space and that can't be accessed by the clipboard. This is why GlobalAlloc() is used. This function allocate memory on system wide heap. That is avalaible to all applications. So that the clipboard can access this data and copy it in its own memory space. I didn't study the euphoria source code but don't think it use GlobalAlloc() when a user use allocate(). If so the code should be corrected, this a major bug.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu