Fwd: Re: [GEM Development] GEM Dialog Problems

Heinz Rath heinz.rath at gmx.at
Thu Oct 13 21:54:24 PDT 2005


hi

i am not sure anymore but if i remeber correcty you have to use
a {$M ......} compiler switch at the beginnin of your pascal
file to work correctly...
if i remember correctly it was
{$M 1024,0,16384}

could also be that this are other numbers.....

with nice greetings
heinz

SM> Hi Everyone,

SM> I am currently developing a GEM database application, with similar capabilities
SM> to the DOS version MS Works.

SM> It is progressing well, but I am looking for two tips and/or advice.

SM> 1. Has anyone ever constructed a dialogue in the RCS, and when it is called from
SM> the application with code like this (in Turbo Pascal using GEMBIND with some
SM> naming changes):

SM>         Form_Dialog(FMD_START);
SM>         Form_Dialog(FMD_GROW);
SM>         Hide_Mouse;
SM>         Obj_Draw(Dialog_Tree, root, max_depth, X, Y, W, H);
SM>         Show_Mouse;

SM>         Form_Do(Dialog_Tree, 0);

SM>         Form_Dialog(FMD_SHRINK);
SM>         Form_Dialog(FMD_FINISH);

SM> after the dialog is drawn and is on screen it freezes GEM at the point of
SM> Form_Do? (Note, the dialog just displays text and has two button and doesn't
SM> have any input lines.)

SM> I suspect I have messed up the stack at some previous point and just wondered if
SM> anyone has some tips in this area. (The Resources open fine in RCS but as this
SM> is all new to me I don't yet have much experience with AES programming to rule
SM> out all the possibilities.)

SM> 2. In terms of application development, what debugging tools have been used? At
SM> this stage I not yet tried Turbo Debugger, but I suspect the .APP extension may
SM> cause problems. Any ideas or general suggestions in this area?

SM> Thanks.

SM> Scott McDonald

SM> Scott McDonald PC Services
SM> ABN: 20 586 027 242
SM> PO Box 139 Newtown 2042
SM> Fax: 9564-2347
SM> Email: smpcs at bigpond.com
SM> Website: http://www.users.bigpond.com/smpcs
SM> "Resourceful Computing for Professional Teachers"



SM> _______________________________________________
SM> gem-dev mailing list
SM> gem-dev at simpits.org
SM> http://www.simpits.org/mailman/listinfo/gem-dev




More information about the gem-dev mailing list