The function name OnGetQueryRequest of my ocxServer objectPAL code has been
changed by mystery to
OnGetRequest. So I got two functions with the same name during that on the
objectPAL editor I got both different names. I changed it back like it
should be and it compiled ok after.
The reason I think is that I had 3 to 4 windows opened on differents
functions of this object and I switched from the selecteur menu to a
function that is already on an opened windows. It may be caused by an
updating conflict between my Paradox interface and my actions.
Your comments would be interesting about that.
Pierre
----- Original Message -----
From: "Pierre Charbonneau" <instru...@videotron.ca>
Newsgroups: corel.wpoffice.paradox-web
Sent: Tuesday, November 23, 2004 6:30 PM
Subject: Do you know this error ?
> I'm programming twice from scratch my ocxServer on a form and I have atfer
> many code handling this error (from french) at compliation on OnGetRequest
> method:
>
> "identifier attendu" meaning it need an identifier. Cursor is positionning
> on the TRY instruction.
>
> There's no error on the code and sometimes, the function menu selector of
> the ocxServer objecPAL functions doesn't update it's item when I change
> objectPAl section in the code editor.
>
> I have serious doubts about ocxServer editing bugs as I saw that it's
> display properties can't be change even if in the properties list it is
> so.
> It seems that this object conception has been round cornered.
>
> I will try a third time just by copy/paste my code in all sections,
> minimizing edition handling on this object. It's not funny.
>
> method OnGetRequest(requestOA OleAuto, responseOA OleAuto)
> [cursor point here]try
> ...request process code
> onFail
> --- error process code
> endTry
> return
>
> endMethod
>
> Pierre
>
>
> The reason I think is that I had 3 to 4 windows opened on differents
> functions of this object and I switched from the selecteur menu to a
> function that is already on an opened windows. It may be caused by an
> updating conflict between my Paradox interface and my actions.
>
This does happen and can cause problems. I've never tried to duplicate
it, but you can lose code this way.
Mark B.