Re: Accessing Win API
- Posted by euman at bellsouth.net Apr 14, 2002
- 425 views
Hello, If you want to spend the rest of your life figuring out Win32lib then more power to you but if you really want a leg-up on Win API then, I would suggest getting a book and actually reading the explanations the author gives for each API routine...A C/C++ language book that got me started was Windows Programming Annotated Archives Code with Commentary by Herberb Schildt. Probably cant find this particular book anymore but there are dozens like it. Win32lib will only make your head swim simply because its far more advanced than you need as a beginner. Sorry Tone to step in there but if he doesnt know what API calls do then Win32lib wont help at all. Euman euman at bellsouth.net ...if the US Government were ever to get really serious about Internet security, the top players in Microsoft's management hierarchy would find themselves handcuffed, blindfolded, led onto a tarmac within some obscure Air Force base, and shot. -- Thomas C Greene (http://www.theregister.co.uk/content/55/23223.html) -- Kat will like this one! ----- Original Message ----- From: "Travis Beaty" <travis_beaty at mcleodusa.net> To: "EUforum" <EUforum at topica.com> Sent: Sunday, April 14, 2002 3:29 PM Subject: RE: Accessing Win API > > 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 > : > : > : > > > >