Re: Win32 callbacks
- Posted by Daniel Berstein <daber at PAIR.COM> Oct 25, 1998
- 397 views
>Wow, you're really out there on the leading edge of technology. >I'm impressed that you were able to call the Euphoria routine at all. Je, je,je ;) >LRESULT CALLBACK WndProc (HWND hwnd, UINT iMsg, >WPARAM wParam, LPARAM lParam) BTW How do I get the application instance? EXW.EXE WinMain function get's this handle from Windows. It would be useful to be able to get this handle. I notice you handcoded 0 in window.exw. >I believe these are all 4-byte quantities. You had better add >4 arguments to your call, otherwise the stack will get messed up. >I *think* it should be __stdcall. I think that's what CALLBACK is defined >as. pascal might be the same as __stdcall. In Delphi (Object Pascal) you don't need the __, just put stdcall. Thanks alot Rob. Expect some cool things soon.... Regards, Daniel Berstein daber at pair.com