Re: A definitive answer to Win95 programming in Euphoria
- Posted by David Cuny <dcuny at LANSET.COM> Jun 18, 1998
- 572 views
Alan Tu wrote: > If one wants to write a program that doesn't use a console in Win95, (a > true Win95 program), how does one begin? If you want to write Win32 programs and *understand* what is happening, I'd highly recommend "Programming Windows 95" by Charles Petzold. You can take a lot of the code in the book and pretty much plug it into Euphoria. If you want to take the "cheap" route, there are a couple of Win32 tutorials in the net. No, I don't have the addresses. Search for "Win32" and "programming". The function calls to the Win32 library are not "built in" to Euphoria; you need to link them to from their DLLs (dynamic link libraries) using define_c_proc, define_c_func and open_dll. Sheer drudgery. Fortunately, a couple of days ago Jacques posted a set of wrappers, where all that is taken care of. So I'd highly recommend downloading that. If you just want to write Win32 code, I'd suggest downloading Win32Lib. It hides most of the ugly details of Win32 coding from you. There's a screen creator for Win32Lib posted, for visually laying out the controls on your window. Be warned that Win32Lib is still only in alpha release! You can still do a lot with it, though. -- David Cuny