Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

Delphi 6 - Lead V14 patch causes Error - 789 Invalid structure size
Started by Jerry at 10-07-2005 20:14. Topic has 5 replies.

Print Search « Previous Thread Next Thread »
  10-07-2005, 20:14
Jerry is not online. Last active: 10/8/2005 1:18:28 AM Jerry

Not Ranked
Joined on 10-08-2005
Posts 4
Delphi 6 - Lead V14 patch causes Error - 789 Invalid structure size
Reply Quote
We upgraded our V14 with the latest patches.  Since upgrading, we receive the following error for any databound lead image (TLeadImage).

LEAD1
Error code: -789
DataField: Invalid structure size.

This happens when the datasource is set active and the image is not null.  Clicking OK on the error will allow the image to load.  We tried it with the example "Using LEADTOOLS with Data Controls (Delphi)" using the IMAGES.DB and received the same error.

We could revert back to our Lead version before the patch, but we are looking at moving to Delphi 2005 so we will need the patch.

Any help is appreciated.

Thanks,

Jerry



   Report 
  10-12-2005, 13:44
Amin is not online. Last active: 9/28/2008 5:38:40 AM Amin



Top 10 Posts
Joined on 06-27-2005
Posts 748
Re: Delphi 6 - Lead V14 patch causes Error - 789 Invalid structure size
Reply Quote
Jerry,
I tested the help sample you mentioned using the current build and the problem did not appear here. (ltfil14N.DLL, ltkrn14n.dll and other files have version info 14.0.0.43).
Are you sure you applied the patches correctly? Here's the procedure to do that:

1. Run Delphi (or C++ Builder) and remove the LEADTOOLS packages using the Components->Packages menu
2. Extract the ZIP file contents to the same folder that has LEADTOOLS, with subfolders, to overwrite
any older files.
3. Copy the BPL files from LEADTOOLS14\LIB\VCL\Delphi? to LEADTOOLS14\Redist\vcl
4. Copy the same BPL files to your Windows SYS folder (SYSTEM on Win95/98/ME, SYSTEM32 on NT/2000/XP)
5. Copy the DLL and OCX files form the LEADTOOLS14\Redist to the SYS folderr
6. Add the LEAD packages again to Delphi from LEADTOOLS14\LIB\VCL\Delphi?.


Amin Dodin
LEADTOOLS Technical Support

   Report 
  10-14-2005, 14:12
Jerry is not online. Last active: 10/8/2005 1:18:28 AM Jerry

Not Ranked
Joined on 10-08-2005
Posts 4
Re: Delphi 6 - Lead V14 patch causes Error - 789 Invalid structure size
Reply Quote
Amin,

Thanks for the rely.  I tried your steps, but it still did not work.  I uninstalled and reinstalled version 14, then followed your steps, but it still did not work.

FYI, it only gives this error in Delphi 6.  Delphi 2005 does not return the error.  I can work around it by waiting to install this patch when we go to Delphi 2005.

Any other suggestions?

Thanks,

Jerry

   Report 
  10-21-2005, 13:42
Travis is not online. Last active: 9/26/2008 11:27:59 AM Travis



Top 10 Posts
Joined on 07-07-2003
In house
Posts 286
Re: Delphi 6 - Lead V14 patch causes Error - 789 Invalid structure size
Reply Quote

I also tried this on a clean machine using BPL's with a modified date of 10/07/05.  I performed all the steps of the tutorial and ran the project.  It worked with no issues. 

Please make sure you're BPL's have a modified date of 10/07/05 and your DLLs are of the version 14.0.0.44.


Travis Montgomery
LEAD Technical Support
   Report 
  01-03-2006, 10:20
elliott@tikinasoftware.com is not online. Last active: 1/3/2006 3:15:21 PM elliott@tikinasoftware.com

Top 500 Posts
Joined on 02-27-2004
Posts 6
Re: Delphi 6 - Lead V14 patch causes Error - 789 Invalid structure size
Reply Quote
I am having the same problem with Delphi 6. I noticed that on latest patch there are no Delphi 6 BPL's. There are Delphi 7 and above. The latest Delphi 6 BPL's that I have are dated 8/1/2005. Is there a way that I can get the patch that includes the files that you mention?
If you can please send the patch as an email attachment to me at emehrbach@hotmail.com or elliott@tikinasoftware.com.
Thanks for your help with this.

Elliott Mehrbach
elliott@tikinasoftware.com



   Report 
  01-05-2006, 9:06
Maen Hasan is not online. Last active: 10/5/2008 10:18:54 AM Maen Hasan



Top 10 Posts
Joined on 08-05-2004
Posts 1,747
Re: Delphi 6 - Lead V14 patch causes Error - 789 Invalid structure size
Reply Quote
Hello,

I 'm afraid that we don't have Delphi6 lib files any more in the setup or the patch.
However, they might be returned to the patch and the setup in the future.

If you still need more information about the patches, please contact LEADTOOLS support department at support@leadtools.com.

Thanks,
Maen Badwan
LEADTOOLS Technical Support

   Report 
Post
LEAD Support Fo... » Developer » Database » Delphi 6 - Lead V14 patch causes Error - 789 Invalid structure size

Powered by Community Server, by Telligent Systems