Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
Last Go to last post Unread Go to first unread post
#1 Posted : Thursday, March 12, 2009 11:50:53 PM(UTC)
iambaeba1

Groups: Registered
Joined: 3/11/2009(UTC)
Posts: 4

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

 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Sunday, March 15, 2009 4:01:59 AM(UTC)

Adnan Ismail  
Guest

Groups: Guests
Joined: 5/23/2016(UTC)
Posts: 1,478

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?
 
#3 Posted : Sunday, March 15, 2009 3:25:59 PM(UTC)
iambaeba1

Groups: Registered
Joined: 3/11/2009(UTC)
Posts: 4

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



 
#4 Posted : Tuesday, March 17, 2009 6:25:35 AM(UTC)

Adnan Ismail  
Guest

Groups: Guests
Joined: 5/23/2016(UTC)
Posts: 1,478

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.
 
Similar Topics
Re: Ret code 0 (Function not successful) from L_FileInfo... (General Questions)
by ptrzeciak@dtcc.com 11/10/2008 9:13:15 AM(UTC)
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2016, Yet Another Forum.NET
This page was generated in 0.329 seconds.