Welcome to LEAD Technologies Support Forum Login | Register | Faq  

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

Ret code 0 (Function not successful) from L_FileInfo...
Started by iambaeba1 at 03-13-2009 4:50. Topic has 3 replies.

Print Search « Previous Thread Next Thread »
  03-13-2009, 4:50
iambaeba1 is not online. Last active: 2/11/2011 7:01:25 AM iambaeba1

Not Ranked
Joined on 03-12-2009
Posts 4
Ret code 0 (Function not successful) from L_FileInfo...
Reply Quote
Can anyone tell me what that return code means exactly.

Followed code return 1 using Visual C++ 2008.
But this code return 0 using Visual C++ 6.0.

---
    FILEINFO               FileInfo;
    L_INT                    nRet;

    /* Obtain image file information */
    nRet =L_FileInfo (
        TEXT("test.bmp"),
        &FileInfo,
        sizeof(FILEINFO),
        0,
        NULL);
----

Thanks !!

Bae

PS : The source project is followed to link...

http://wwl1114.hanmail.net/Mail-bin/view_submsg.cgi?TM=Yc9Q727BFSM%2B8wCbiClDfEFgUzsNaGqGlnKzTVoXJq7xh9S%2Fj5sO2YELKM1QihDo6MWrRlXbm2VfxtSaSTnyMUwRN%2F0afvUJx65qPBH5XfBVhzmsU309LMYturaxdLNh6VzvekIlJco1hf7KWpNqbFbm1DZg7%2FvX9tvEzdDzzqNdrR6yHrsp3I4XWur7iWVJWZx1Hsk8n2e2m11xdfl2fA%3D%3D&MSGID=V000000000Fv8Lm&pos=2621&bodylen=144232&realname=LeadTest.7z&downtype=PC


   Report 
  03-15-2009, 9:01
Adnan Ismail is not online. Last active: 10/23/2011 9:47:56 AM Adnan Ismail



Top 10 Posts
Joined on 07-31-2006
Posts 2,722
Re: Ret code 0 (Function not successful) from L_FileInfo...
Reply Quote
You can find the meaning of the returned values in the help topic "Return Codes" in our LEADTOOLS Raster Imaging C DLL help file.

The return code 1 means that the function was executed successfully. The return code 0 means it failed to execute correctly.

Did you call this function on the same file? Which version of LEADTOOLS are you using and what build number of LEADTOOLS DLLs do you have?

Can you put the code you used and the image that shows the difference in a ZIP or RAR file and post it here?

Adnan Ismail
LEADTOOLS Technical Support

   Report 
  03-15-2009, 20:25
iambaeba1 is not online. Last active: 2/11/2011 7:01:25 AM iambaeba1

Not Ranked
Joined on 03-12-2009
Posts 4
Re: Ret code 0 (Function not successful) from L_FileInfo...
Reply Quote
You can find the meaning of the returned values in the help topic "Return Codes" in our LEADTOOLS Raster Imaging C DLL help file.
==>Yes, I know..

The return code 1 means that the function was executed successfully. The return code 0 means it failed to execute correctly.
==> Yes, I know..

Did you call this function on the same file? Which version of LEADTOOLS are you using and what build number of LEADTOOLS DLLs do you have?
==> Version is v16. LeadToold Image Pro Evaluation

Can you put the code you used and the image that shows the difference in a ZIP or RAR file and post it here?
==> I will re-post attched projects using zip-compression. The projects include the
sample image(test.bmp) and leadtools libraries.

ps : project source code link..

http://wwl1114.hanmail.net/Mail-bin/view_submsg.cgi?TM=Yc9Q727BFSM%2B8wCbiClDfEFgUzsNaGqGlnKzTVoXJq7xh9S%2Fj5sO2YELKM1QihDo6MWrRlXbm2VfxtSaSTnyMUwRN%2F0afvUJx65qPBH5XfBVhzmsU309LMYturaxdLNh6VzvekIlJcqEHu69qbcg5lbm1DZg7%2FvXQL0I5gAkUIyO0nSvx1BmGPqYPa1YEM2fIoT5EFB1xmJS1mLxCjobCw%3D%3D&MSGID=V000000000Fv8Lq&pos=2603&bodylen=346230&realname=LeadTest.zip&downtype=PC




   Report 
  03-17-2009, 11:25
Adnan Ismail is not online. Last active: 10/23/2011 9:47:56 AM Adnan Ismail



Top 10 Posts
Joined on 07-31-2006
Posts 2,722
Re: Ret code 0 (Function not successful) from L_FileInfo...
Reply Quote
I still did not get the project attached to our forums or from the link you provided. Please make sure that you do not click on the Preview button before posting. If you still face a problem sending the project, please send it to support@leadtools.com and mention this post.

Adnan Ismail
LEADTOOLS Technical Support

   Report 
Post
LEAD Technologi... » Developer » General » Ret code 0 (Function not successful) from L_FileInfo...

Powered by Community Server, by Telligent Systems