Print Thread
TLOBLocator.Assign & null LOB's
#1190 10/31/00 03:08 AM
Joined: Aug 2000
Posts: 21
Melbourne,VIC,Australia
S
Sonique Offline OP
Member
OP Offline
Member
S
Joined: Aug 2000
Posts: 21
Melbourne,VIC,Australia
Hi Marco & Co.,

Having recently upgraded to 3.4.3, I've been removing all my work-arounds for Object and LOB support, and in the process have discovered a new bug in TLOBLocator. I have a collection of LOB elements (strange but true). As I am processing each element, I create a new LOB Locator, then copy across the element using the Assign method as follows:

NewLOB.Assign(Obj.GetLOBElement(Index));

This works fine, except if the element is null (ie: IsNull = True), NewLOB is *not* null! Subsequently, code which calls NewLOB.Size (and I assume, other methods as well) fails (as the check for IsNull thinks the LOB is valid)

Somewhere later, when all the LOB Locators and Objects are cleaned up, I get AV's .... I haven't stepped through that code yet, but I guess it has to do with the above.

Re: TLOBLocator.Assign & null LOB's
#1191 11/13/00 10:44 PM
Joined: Aug 1999
Posts: 22,220
Member
Offline
Member
Joined: Aug 1999
Posts: 22,220
See related post .

------------------
Marco Kalter
Allround Automations


[This message has been edited by mkalter (edited 13 November 2000).]


Marco Kalter
Allround Automations

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.120s Queries: 13 (0.077s) Memory: 2.4987 MB (Peak: 3.0407 MB) Data Comp: Off Server Time: 2024-05-17 09:08:30 UTC
Valid HTML 5 and Valid CSS