Subject Re: delphi 2009 and query.open (ERROR ACESS VIOLATION)
Author crazymenconnected
Hello, this is the link to the thread i was talking about!

http://tech.groups.yahoo.com/group/IBObjects/message/44012

cheers
Luis Semedo Duarte

--- In IBObjects@yahoogroups.com, "Valdemir \(yahoo\)" <valdemirjs@...> wrote:
>
> Luis and I
> thanks for your reply
>
> but when I look in the SEDS yahoo for "GetBookmark - The Fix"
> 7 messages found in previous years
>
> I searched the Access Violation and Delphi 2009 also did not find, you could help me find?
>
>
>
> From: crazymenconnected
> Sent: Wednesday, September 09, 2009 2:01 PM
> To: IBObjects@yahoogroups.com
> Subject: [IBO] Re: delphi 2009 and query.open (ERROR ACESS VIOLATION)
>
>
> Hello, how are you?
>
> That bug is know, but Jason forgot to include the fix on this release!
>
> Look for a post on this group with the name "GetBookmark - The Fix".
> m. Th. Fixed this issue some time ago!
>
> Hope this helped...
>
> Luis Semedo Duarte
>
> --- In IBObjects@yahoogroups.com, "Valdemir \(yahoo\)" <valdemirjs@> wrote:
> >
> > pardon my English, I'm using the google translator
> >
> > When you run the following query
> >
> > SELECT TIPO
> > FROM LOGRADOURO
> > WHERE UPPER(TIPO) <> 'OUTRO'
> > ORDER BY TIPO
> >
> > using Delphi 2009 and IBO 4.9.5
> > of an access error violation
> > by debug I saw that the function
> >
> > function TIBODataSet.GetBookmark: TBookmark;
> > var
> > B: AnsiString;
> > begin
> > B := GetBookmarkStr;
> > Result := nil;
> > if B <> '' then
> > begin
> > Result := AllocMem( BookmarkSize );
> > {$IFDEF IBO_VCL2009_OR_GREATER}
> > Move( pointer( B )^, Result[0], BookmarkSize );
> > {$ELSE}
> > Move( pointer( B )^, Result^, BookmarkSize );
> > {$ENDIF}
> > end;
> > end;
> >
> >
> > more specifically the line
> > Move( pointer( B )^, Result[0], BookmarkSize );
> >
> >
> > the error when I open the query command
> > qryLogradouro.Open;
> >
> > if I open the query command within the delphi not including the error I see, the error
> >
> > only appears when I run the program
> >
> > this error is giving in all my paintings .. independent of the query I sent this to be
> >
> > one of the simplest
> >
> > the table structure in the path is
> >
> > CREATE TABLE LOGRADOURO (
> > ID INTEGER NOT NULL,
> > TIPO VARCHAR(20) COLLATE WIN_PTBR
> > );
> >
> > ALTER TABLE LOGRADOURO ADD CONSTRAINT PK_LOGRADOURO PRIMARY KEY (ID);
> >
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>
>
>
>
> [Non-text portions of this message have been removed]
>