RE: Accessing Win API
- Posted by Travis Beaty <travis_beaty at mcleodusa.net> Apr 14, 2002
- 415 views
Hello Marcus! One of the reasons that I started working with Euphoria was because of the fact that I couldn't understand the Windows API for the life of me, but I wanted to write Windows apps. That also made me zero in on win32lib.ew instantly, which back then was much more limited than it is now. As I looked through the source code of win32lib, I discovered how it worked, suddenly the Windows API began to make a LOT more sense to me. So I'd also suggest you take a look at the innards of win32lib.ew, which will give you some insight into the workings of the API that it wraps. Hope I've helped you some, Travis Beaty Evans, Colorado. "The Arkansas legislature passed a law that states that the Arkansas River can rise no higher than to the Main Street bridge in Little Rock." : -----Original Message----- : From: Bernie Ryan [mailto:xotron at localnet.com] : Sent: Sunday, April 14, 2002 9:56 AM : To: EUforum : Subject: RE: Accessing Win API : : : lists at wordit.com wrote: : > On 13.04.02 at 17:26 Wolf wrote: : > >You *could* be a bit more specific : > : > The API function is "ReadDirectoryChangesW". : > : > If anybody could give me a basic outline on how to get started it : would : > be a great help. I'm not familiar with Win32 API, so that makes a : bit : > more difficult. : > : > : > >There are literally thousands of examples in hundred's of programs : on : > the : > >EU contributions page, as well as examples in : > >Euphoria\Demo\Win32 : > : > >It's all done thru link_dll, define_c_func, define_c_proc... one : > way or : > >another... : > : > Any example in particular that might be good for newbies? : > : > Thanks, : > : : Marcus: : I would suggest that if you don't have any knowledge of : win32 programming that you start with something simpler. : If you read the doucuments that come with Euphoria then : in the Euphoria\demo\win32 directory you will find : a example program called window.exw which is what you have : to do just to create a window. If this is too difficult to : understand then use the win32lib which handles all the complicated : things for you. The function above is a unicode function : and you will need to create unicode strings to use it. : Bernie : : :