1. w32 lib errors with eu4

programs that use w32forms.ew (as far as I can ascertain, any programs, but at least Magic designer by Andrew Katz, and arena in the demos of winn32 lib), produce include type errors

Magic designer

Designer.exw:2446 
Errors resolving the following references: 
        C:\EUPHORIA\win32lib0704\include\w32forms.ew (2430): create 
        C:\EUPHORIA\win32lib0704\include\w32forms.ew (2434): create 
        C:\EUPHORIA\win32lib0704\include\w32forms.ew (2440): create 
        C:\EUPHORIA\win32lib0704\include\w32forms.ew (2446): create 
 
            lBarId = create(FlatToolBar, "", lID, 0, 0, 0, lTemp, 0) 
                                       ^ 
 
 
Press Enter 

and arena

 
C:\EUPHORIA\win32lib0704\include\w32forms.ew:2928 in procedure createForm() 
invalid routine id 
 
... called from arena.exw:174 in function main() 
 
... called from C:\EUPHORIA\win32lib0704\include\win32lib.ew:25150 in procedure 
startApp() 
 
... called from C:\EUPHORIA\win32lib0704\include\w32start.ew:96 
 
--> See ex.err 
 
 
Press Enter... 

I've tried some superficial modifications to includes, but this is a little beyond me.

w32lib 0704, win xp, eu4.0a2

Chris

new topic     » topic index » view message » categorize

2. Re: w32 lib errors with eu4

Hi

Anyone? Quite a few of the win32lib demos are also not working (w32forms producing invalid routine ids, supposedly created in win32lib)

Chris

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

3. Re: w32 lib errors with eu4

ChrisB said...

Hi

Anyone? Quite a few of the win32lib demos are also not working (w32forms producing invalid routine ids, supposedly created in win32lib)

I'll take a look. I suspect this may be related to bug 18, which was fixed after the release of the second alpha (at least the routine_id issue).

Matt

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

4. Re: w32 lib errors with eu4

Ta

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

5. Re: w32 lib errors with eu4

Chris,

Does RunDemos.exw work under eu4?

Dan

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

6. Re: w32 lib errors with eu4

DanM said...

Does RunDemos.exw work under eu4?

Yes. I ran a few of the demos. #1 does not work because it uses a variable named break, which is a keyword in eu4. There are probably other cases like this in there.

Matt

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

7. Re: w32 lib errors with eu4

ChrisB said...

Magic designer

Designer.exw:2446 
Errors resolving the following references: 
        C:\EUPHORIA\win32lib0704\include\w32forms.ew (2430): create 
        C:\EUPHORIA\win32lib0704\include\w32forms.ew (2434): create 
        C:\EUPHORIA\win32lib0704\include\w32forms.ew (2440): create 
        C:\EUPHORIA\win32lib0704\include\w32forms.ew (2446): create 
 
            lBarId = create(FlatToolBar, "", lID, 0, 0, 0, lTemp, 0) 
 

The issue here is that he has a file called sb.e which defines a global function create. And w32forms.ew does not include win32lib.ew, and so can't differentiate between the win32lib create and sb.e's. If you add include win32lib.ew, it will work. I've entered a bug report on sourceforge for win32lib.

ChrisB said...

and arena

C:\EUPHORIA\win32lib0704\include\w32forms.ew:2928 in procedure createForm() 
invalid routine id 
 
... called from arena.exw:174 in function main() 
 

This is working for me (r1354), so I think it was bug #18 that was causing this.

Matt

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

8. Re: w32 lib errors with eu4

Hi

Thanks Matt

Has this version been released as an alpha build?

Chris

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

9. Re: w32 lib errors with eu4

ChrisB said...

Has this version been released as an alpha build?

No, the last release was r1280. The bug tracking page lists bugs and releases (at the bottom).

Matt

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

10. Re: w32 lib errors with eu4

Thanks Matt

Did you mean that RunDemos.exw itself ran ok, but the first numbered example, EX01.exw didn't(didn't run on it's own, or wouldn't run from within RunDemos.exw?)? There's no break var in either RunDemos nor exo1.exw as far as I can see. Or are you speaking of some other #1 demo?

Dan

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

11. Re: w32 lib errors with eu4

DanM said...

Did you mean that RunDemos.exw itself ran ok, but the first numbered example, EX01.exw didn't(didn't run on it's own, or wouldn't run from within RunDemos.exw?)? There's no break var in either RunDemos nor exo1.exw as far as I can see. Or are you speaking of some other #1 demo?

RunDemos.exw works just fine, as do the demos themselves.

Apparently, I clicked something before the first demo, and didn't realize it. Grepping the demos directory, it looks like it's ListTreeView.exw that defines integer break on line 214.

Matt

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

12. Re: w32 lib errors with eu4

Matt,

Glad to hear RunDemos runs under eu4 smile

is there a grep for windows? The XP search functions is worthless.

Dan

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

13. Re: w32 lib errors with eu4

DanM said...

Matt,

Glad to hear RunDemos runs under eu4 smile

is there a grep for windows? The XP search functions is worthless.

Dan

nevermind, I remembered google.

Dan

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

14. Re: w32 lib errors with eu4

DanM said...

Glad to hear RunDemos runs under eu4 smile

is there a grep for windows? The XP search functions is worthless.

I put GnuWin32 on any Windows box I use. You could also install CygwinI tend to have that, too, as it allows me to ssh into *nix boxes, including using GUI apps through X.

Matt

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

Search



Quick Links

User menu

Not signed in.

Misc Menu