1. RE: IDE question
- Posted by Judith Evans <camping at txcyber.com> Sep 30, 2003
- 468 views
When using IDE, the prj file is read by IDE and the exw file is generated by IDE. If you are looking at an existing prj and exw file, when you open IDE with the prj file, it does not know there is an "include database.e" statement in the exw file. There are basically two methods to provide that statement via the prj file. 1 - in an event for a control (or window) in Code Editor write the statement or 2 - use Menu Generate Tools/Manage Include Statements and add database.e which will generate the statement for you. You must also have the source for database.e in Euphoria/Include, in one of your EuINC folders or the same folder as your prj file and the path, if present, in Manage Include Statements must be the same. In the prj file the include files are under #Module. With recent prj files the path is in #PathModule. HTH --judith Jim writes: Hello, I have a project of the addressbook and I have the two files Addressbook7.exw and addressbook7.prj. When I run the project in IDE I get the message that it can't open c:\euphoria\demo\projects\DATABASE.e I edit the Addressbook.exw and find the include statement c:\euphoria\projects\\database.e. I delete this statement and then try to run from IDE addressbook7.prj. I still get the error. I do not find the include statement in the prj file? Jim
2. RE: IDE question
- Posted by Patrick.Barnes at transgrid.com.au Jan 29, 2003
- 445 views
No matter, I used call_proc(onClick[button], {}) instead. ----Original Message----- From: Barnes Patrick Subject: IDE question I have a problem with the ordering of code within the IDE. There is some code within the mainwin_onOpen event, that calls the procedure listed for the button_onClick event. Now, the way that the IDE has put the code into the exw means that the procedures are in the wrong order for the above to happen, and it can't find the procedure it needs. How do you change the order of things? ======================= Patrick Barnes Information Systems Group 201 Elizabeth St, Sydney Patrick.Barnes at transgrid.com.au Ext: 91-3583 Ph:(02) 9284-3583 Mob: 0410 751 044 *********************************************************************** *********************************************************************** TOPICA - Start your own email discussion group. FREE! *********************************************************************** ***********************************************************************
3. RE: IDE question
- Posted by Patrick.Barnes at transgrid.com.au Jan 29, 2003
- 464 views
Ahh, I wasn't sure how it was done. Well, the bulk of this program was written with an old IDE that used the older standard. Is there perhaps a tool (Judith) that will upgrade it? come to think of it, it would be possible I think to write a script to upgrade most win32lib programs from the old standard to the new. A few would have errors, but it shouldn't be too bad. -----Original Message----- From: Derek Parnell [mailto:ddparnell at bigpond.com] Subject: Re: IDE question On Thu, 30 Jan 2003 10:18:30 +1100, <Patrick.Barnes at transgrid.com.au> wrote: > > No matter, I used call_proc(onClick[button], {}) instead. > > ----Original Message----- > From: Barnes Patrick Sent: Thursday, 30 January 2003 10:05 > To: EUforum > Subject: IDE question > > > I have a problem with the ordering of code within the IDE. > There is some code within the mainwin_onOpen event, that calls the > procedure listed for the button_onClick event. > Now, the way that the IDE has put the code into the exw means that the > procedures are in the wrong order for the above to happen, and it can't > find the procedure it needs. How do you change the order of things? > > ======================= Patrick, may I suggest that you use ... VOID = invokeHandler(button, w32HClick,{}) instead of using the onClick variable. This will help future-proof your application. -- cheers, Derek Parnell TOPICA - Start your own email discussion group. FREE! *********************************************************************** ***********************************************************************