RE: SpinBall...

new topic     » topic index » view thread      » older message » newer message

Kat wrote:
> 
> 
> On 7 Jul 2004, at 11:18, Tommy Carlier wrote:
> 
> > 
> > posted by: Tommy Carlier <tommy.carlier at pandora.be>
> > 
> > Kat wrote:
> > > Spinball doesn't run here, i get this error:
> > > 
> > > D:\Euphoria\spinball\eucntrls.ew:12
> > > Win32LibVersion has not been declared
> > > if Win32LibVersion[1]=0 and Win32LibVersion[2]<60 then
> > > 
> > > Perhaps not all the required files are included in the .zip file? (They 
> > > should
> > > be, else you have people guessing what to do to make your app run.)
> > 
> > SpinBall needs 1 library: EuControls (eucntrls.ew), which is included.
> > EuControls needs Win32Lib, which is not included.
> > 
> > I never include Win32Lib in a .zip-file that is for Euphoria-developers. 
> > If you
> > want to use SpinBall, or LayoutPanels or other EuControls, you need 
> > Win32Lib.
> > Look in the Recent User Contributions: the description of SpinBall (and 
> > that of
> > LayoutPanels) clearly says that it "needs EuControls (included) and 
> > Win32Lib
> > (not included)".
> > 
> > > "else you have people guessing what to do to make your app run."
> > SpinBall is not an application, it's a control. It's meant to be used by
> > Euphoria-programmer that make Win32Lib-applications.
> > 
> > Is Win32Lib included in EuGrid? No. Is Win32Lib included in EDB? No. Is 
> > Win32Lib
> > included in IDE? No. Why not? Because they (and I) assume that people 
> > using
> > their tools/controls/applications already have Win32Lib.
> 
> Perhaps i should have said the required version of win32lib, and the 
> required 
> includes of win32lib. You are right, most of the 
> apps/tools/libs/whatever in 
> the user contribs have not included the necessary files to get them to 
> run 
> right out of the box. And not all win32lib require the same includes 
> that it 
> ships with, so it gets pretty messy sometimes, swapping in all the 
> versions 
> from 0.15b onwards into the /include or /bin dir of the applications. Or 
> reading 
> thru the source code to figure it out. Or firing up the 
> application/tool/demos/whatever, and chasing down the files that the 
> undeclared vars are declared in, only to find out the win32lib you 
> thought was 
> the correct one, isn't.
> 
> Kat,
> pondering microsoft selling Notepad without the required operating 
> system.
>

Kat,

It shouldn't be "messy"... You shouldn't be mixing and matching 
different versions of Win32Lib.  Derek has done a pretty good job of 
maintaining backwards-compatibility in Win32Lib.  Personally, I usually 
just extract Win32Lib to a folder in Euphoria\Include and have that path 
in my EUINC.  If I have different versions of Win32Lib, I might keep 
them around but rename them (to Win32Lib591 for example).  Then if I'm 
testing to see if something used to work but broke, I'll rename Win32Lib 
to Win32Lib601 and Win32Lib591 to Win32Lib and try again... pretty 
straightforward.

If you can't get something to work with the current release (0.6.0.1) 
and you can't figure out how to make it work then let us know and 
somebody can make the necessary tweaks for you.

-- Brian

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu