1. Include for doEvents

My interpreter says that doEvents has not been declared. That must mean 
that I need another include file. One of the posts mentioned Win32Lib 
docs. Do I need to get something more than the registered version of 
Euphoria in order to use doEvents?

Allen

new topic     » topic index » view message » categorize

2. Re: Include for doEvents

> -----Original Message-----
> From: Allen Robnett [mailto:alrobnett at alumni.princeton.edu]
> Subject: Include for doEvents
>
>
>
> My interpreter says that doEvents has not been declared. That
> must mean
> that I need another include file. One of the posts mentioned Win32Lib
> docs. Do I need to get something more than the registered version of
> Euphoria in order to use doEvents?
>

The routine 'doEvents()' comes with the library system called 'Win32lib', it
is not a Euphoria routine that is supported or distributed by RDS.

The assumption has been that you are using the win32lib library for coding
Windows programs. If you are not doing this, then you will need to find a
different way of doing the same thing. What is the library (or method) you
are using to code Windows programs with?

--
Derek

new topic     » goto parent     » topic index » view message » categorize

3. Re: Include for doEvents

----- Original Message ----- 
From: "Allen Robnett" <alrobnett at alumni.princeton.edu>
To: <EUforum at topica.com>
Subject: RE: Include for doEvents


> 
> 
> Derek,
> To date, I have worked on all of "one" Euphoria program. I have only run 
> it through the Ed testing option. I have not thought about how it might 
> interact with Windows.
> I have now downloaded the Win32Lib from your site, but have yet to unzip 
> it. I have scanned most of the HTML documents, and intend to print them 
> out for study.
> I have not found any instructions describing where to unzip the files. I 
> suppose that a separate Win32Lib directory would be appropriate. Would I 
> then add that file to the PATH in AUTOEXEC.BAT? (It has been more than a 
> decade since I did any such thing. It may have all changed since then.)
> I'm afraid that the equipment "lockup" that I mentioned earlier was due 
> to something more sinister than could be handled with doEvents. I will 
> submit another post regrding that problem.
> 

Oh I see. If you haven't coded Windows apps before then take it slowly as its a
steep learning curve. You need to think "event-driven" rather than
"process-driven" coding style.

You can unzip win32lib files into any directory. The unzip creates three
sub-directories, Include, Docs, and Demo. You will need to add the 'Include' path
to the EUINC environment variable. For example, if you unzip into C:\Win32lib,
you will get ...

C:\Win32Lib\Include
C:\Win32Lib\Docs
C:\Win32Lib\Demo

You will need to change EUINC ...

If you had (for example) ...

  EUINC=C:\EU_Utils

then change it to ...

  EUINC=C:\Win32lib\Include;C:\EU_Utils

-- 
Derek

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu