Re: Eu4 win32lib, IDE

new topic     » goto parent     » topic index » view thread      » older message » newer message
DerekParnell said...
DerekParnell said...
ChrisB said...

Also has the 'pixel' related error in translating / compiling with openwatcom been fixed?

No. I forgot about this one and I can't find a ticket for it. I'll create the ticket and try to get it working ASAP.

Hmmm ... I've just test this and the error that occurs is not how it was originally described.

---- 
pixel(1,2) 
---- 

When I run the program above I get ...

C:\Projects\eu_proj\eu40\tools\euweb\trunk\source>eui testp 
 
testp.ex:3 
Unsupported Op Code 
 
--> See ex.err 

When I translate it I get ...

C:\Projects\eu_proj\eu40\tools\euweb\trunk\source>euc testp 
Translating code, pass: 1 2 3  generating 
Compiling with Watcom 
Compiling  12% init-.c 
Compiling  50% testp.c 
Compiling  75% main-.c 
Linking 100% testp.exe 
 
C:\Projects\eu_proj\eu40\tools\euweb\trunk\source>testp 
 
C:\Projects\eu_proj\eu40\tools\euweb\trunk\source> 
So it seems to me that this has been resolved already. If you are trying to run programs that call pixel() (eg. existing DOS programs) in Eu4 you have some choices.

  • Update the apps source code to remove the call.
  • Update the apps source code to avoid the call.
ifdef MSDOS then 
    pixel(x,y) 
end ifdef 

Hi

Looks like there's been a revision change which I've missed then. I think I was using r2670 (off the top of my head), and I'm trying to stick to beta releases only at the moment.

Thanks

Chris

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

Search



Quick Links

User menu

Not signed in.

Misc Menu