1. Where find win32lib?

Hello, good morning to all

When I try to download the library win32lib, the link "http://sourceforge.net/projects/win32libex/" is pointing to IDE-2012-08-26.zip

Where can I find the library win32lib?

new topic     » topic index » view message » categorize

2. Re: Where find win32lib?

sergelli said...

Hello, good morning to all

When I try to download the library win32lib, the link "http://sourceforge.net/projects/win32libex/" is pointing to IDE-2012-08-26.zip

Where can I find the library win32lib?

You can click on the "Files" tab right above that to get to the rest of the files. Sourceforge usually defaults to whatever the last upload was. I think you want to go here:

http://sourceforge.net/projects/win32libex/files/v_0_70_20/

Matt

new topic     » goto parent     » topic index » view message » categorize

3. Re: Where find win32lib?

Ok. Thanks Matt
When I use this copy with EU4, this error is happening

C:\EUPHORIA\WIN32LIB\INCLUDE\WIN32lib.ew:4033
<0090>:: found reserved word 'routine' but was expecting a parameter name instead. 
global procedure setHandler( object id, object htype, object routine) 
                                                                   ^ 
--- Defined Words --- 
EU4 
EU4_0 
EU4_0_5 
WINDOWS 
WIN32 
GUI 
EUI 
------------------- 

This is not happening on all machines, so have changed the file win32Lib but not resolved. What else can I do to solve this?

new topic     » goto parent     » topic index » view message » categorize

4. Re: Where find win32lib?

sergelli said...

Ok. Thanks Matt
When I use this copy with EU4, this error is happening

C:\EUPHORIA\WIN32LIB\INCLUDE\WIN32lib.ew:4033
<0090>:: found reserved word 'routine' but was expecting a parameter name instead. 
global procedure setHandler( object id, object htype, object routine) 
 

This is not happening on all machines, so have changed the file win32Lib but not resolved. What else can I do to solve this?

You are probably NOT using the version of the library you think you are.

The latest version has this ...

global procedure setHandler( object id, object htype, object pRoutine) 

and doesn't have the definition you are seeing in the error message.

global procedure setHandler( object id, object htype, object routine) 

Check your list of include directories to see if you are the order and/or spelling correct.

new topic     » goto parent     » topic index » view message » categorize

5. Re: Where find win32lib?

OK, In haste, I took the old version.
But now, with the correct version, I'm noticing that the function below, still producing a "logic error"...

 fon1=getFontSize(EditBox)        -- Gets font metrics for id's current font. { width, height } of average character. 

...then according to your instructions in a previous post, (http://openeuphoria.org/forum/120424.wc#120424) I make a change into "w32resorces.ew" and solves that problemm

But it is not correct to corrupt a file in a library, OK? So I think I'm using a code improperly.
What would be the correct way to get the size of a font?

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu