Re: Difference between Eu4.0 and Eu3.1.1
- Posted by mattlewis (admin) Nov 29, 2008
- 1121 views
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