RE: namespace modifier

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

Hi Jasper,

Namespace modifiers are part of the latest version of Euphoria. You will 
have to download & install it. The documentation  describes what 
namespace modifiers are in detail.

All it means for my DIB's code is this:

If you are using win32lib then you 'include' the library at the top of 
your code but add a namespace modifier label..

include win32lib as w32 -- the label "w32" is user-definable

then, in the code, all references to getDC() & releaseDC() become..

w32:getDC()
w32:releaseDC()

You say that you want to "learn more about DIB's hoping that [you] can 
find out how to print a Pixmap".

Please note that DIBs are not quite the same as Pixmaps (supported in 
win32lib.ew) and I don't have a clue to how they might be printed to 
paper (if that is what you mean).

Perhaps some win32 guru can complete the answer...

Mike

jaspers_post at hotmail.com wrote:
> Hi Mike and all others,
> 
> I've been "working" with your DIB-package. My aim was ro learn more 
> about DIB's hoping that I can find out how to print a Pixmap. The readme 
> 
> says:
> 
> 1. Will now work with both win32lib.ew and Andrea's EuWinGui.ew but 
> win32lib users
> must attach namespace modifier to getDC() & releaseDC() when copying to 
> a window.
> 
> I want to use some win32lib-functions. I've searched in the 
> documentation of both Euphoria and Win32lib but couldn't find it: what 
> is a namespace modifier and where do I get it?
> 
> Bye,
> 
> Jasper.
> 
> 



vulcan at win.co.nz

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

Search



Quick Links

User menu

Not signed in.

Misc Menu