Welcome to LEAD Support Forum Login | Register | Faq  

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

-789 Error for L_EpnGetDefaultNamingOptions
Started by wipline at 06-04-2007 13:59. Topic has 1 replies.

Print Search « Previous Thread Next Thread »
  06-04-2007, 13:59
wipline is not online. Last active: 6/4/2007 6:53:52 PM wipline

Not Ranked
Joined on 12-13-2006
Posts 2
-789 Error for L_EpnGetDefaultNamingOptions
Reply Quote
I am using the latest download for ePrint v5. In fact I reloaded everything when I kept getting a -789 Error when calling
nRet = L_EpnGetDefaultNamingOptions ( &NamingOptions, sizeof ( EPNNAMINGOPTIONS ) );

-789 is a "wrong size of structure" error. It turns out after a lot of trial and error that 'sizeof ( EPNNAMINGOPTIONS )' returns 1143, but L_EpnGetDefaultNamingOptions is expecting a size of 1152. I changed all the standard ePrint header files, the ePrint LPKrn_n.lib, etc. Where should I be looking to fix either 'sizeof ( EPNNAMINGOPTIONS )' or L_EpnGetDefaultNamingOptions?

   Report 
  06-07-2007, 9:09
Qasem Lubani is not online. Last active: 8/27/2008 3:13:14 PM Qasem Lubani



Top 10 Posts
Joined on 08-13-2006
Posts 1,034
Re: -789 Error for L_EpnGetDefaultNamingOptions
Reply Quote
I have tested the issue here by creating a small project(Using visual studio 6) that only checks the sizeof (EPNNAMINGOPTIONS) using the latest build of LEADTOOLS ePrint5 and the structer size came back 1152.

Can you please create a small working project (not your full application) that show the size error and send it to me in a ZIP or RAR file.
Qasem Al-Lubani
LEAD Technical Support
www.leadtools.com
   Report 
Post
LEAD Support Fo... » Developer » ePrint API » -789 Error for L_EpnGetDefaultNamingOptions

Powered by Community Server, by Telligent Systems