Re: Difference between Eu4.0 and Eu3.1.1

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

Hello Matt,

trying to explore the GTK library with Windows I found that I have to use the cdecl convention with call_back functions. But there is still a difference between Eu3.1.1 and Eu4.0 (rev 1234 which I expect to be the same as the alpha release). To show the problem I added a bug in window.exw of the demo folder and changed this in about line 148:

...
...

constant pointer=C_INT 
global function WndProc(atom hwnd, atom iMsg, atom wParam, pointer lParam)\\ 
-- callback routine to handle Window class 

...
...

That's really odd. I wouldn't expect that to work at all, since pointer isn't a type. Can you shorten it so that it just uses a callback?

Matt

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

Search



Quick Links

User menu

Not signed in.

Misc Menu