1. A definitive answer to Win95 programming in Euphoria
- Posted by Alan Tu <ATU5713 at COMPUSERVE.COM> Jun 18, 1998
- 593 views
If one wants to write a program that doesn't use a console in Win95, (a true Win95 program), how does one begin? --Alan =
2. Re: A definitive answer to Win95 programming in Euphoria
- Posted by Terry Constant <constant at FLASH.NET> Jun 18, 1998
- 603 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? > > --Alan > Alan, One suggestion. Get David Cuny's Win32Lib. He has several example programs. His Ex06.exw is a very simple Windows program that puts up a simple list. Then add a button to the list. You will be on your way. Or Ex04.exw which puts up a window with a button. An even simpler program to start with. -- Terry Constant mailto:constant at flash.net
3. Re: A definitive answer to Win95 programming in Euphoria
- Posted by Robert B Pilkington <bpilkington at JUNO.COM> Jun 18, 1998
- 572 views
>If one wants to write a program that doesn't use a console in Win95, >(a true Win95 program), how does one begin? You can use Win32lib, which will make coding dialogs and such easier, or you can code all the stuff to do that yourself... :) There are also other things that will help on the Recent User Contributions page, along with Win32lib. (The names of the stuff doesn't come to mind, but the stuff's there.... And on my hard drive somewhere... I have yet to really get into Win32 programming, though.) _____________________________________________________________________ You don't need to buy Internet access to use free Internet e-mail. Get completely free e-mail from Juno at http://www.juno.com Or call Juno at (800) 654-JUNO [654-5866]
4. Re: A definitive answer to Win95 programming in Euphoria
- Posted by David Cuny <dcuny at LANSET.COM> Jun 18, 1998
- 565 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
5. Re: A definitive answer to Win95 programming in Euphoria
- Posted by Alan Tu <ATU5713 at COMPUSERVE.COM> Jun 18, 1998
- 601 views
- Last edited Jun 19, 1998
>>>>> The function calls to the Win32 library are not "built in" to Euphoria; y= ou need to link them to from their DLLs (dynamic link libraries) using define_c_proc, define_c_func and open_dll. Sheer drudgery. <<<<< Now we're talking. So do you mean if I want to print to the screen, make= a beep, clear the screen, I need to call a function in a .DLL? And to know which function I need to consult these books and tutorials? --Alan =
6. Re: A definitive answer to Win95 programming in Euphoria
- Posted by bonn ortloff <kc7yrh at HOTMAIL.COM> Jun 19, 1998
- 589 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. < snip > > >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. Is _that_ what a wrapper is? a thing that has dll instructions already called out... er... something? "LEVIATHAN" ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com
7. Re: A definitive answer to Win95 programming in Euphoria
- Posted by David Cuny <dcuny at LANSET.COM> Jun 19, 1998
- 612 views
- Last edited Jun 20, 1998
bonn ortloff wrote: > >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. > > Is _that_ what a wrapper is? a thing that has dll instructions already > called out... er... something? > It's a more general wrapper. A "wrapper" is a function or procedure that hides a bunch of messy details behind a nice interface, or a simple function call. In the case of Jacques' code, he defines the prototypes, links to the DLLs, and builds data structures that the functions need. And all you need to do is a high level call to the "wrapper", and not concern yourself with the messy details. -- David Cuny