There is a sample project for CW for Palm OS V9 on the page at
http://www.absoluteword.com/jpglib/. Look at that and see how it
works there.
On 3/6/07, Sruthi <[EMAIL PROTECTED]> wrote:
Hi Ben..
Thanks for your speedy reply.. What we are trying to accomplish is to
integrate a jpeg library got from net(http://www.absoluteword.com/jpglib/). We
tried as you suggested by adding the jpegLibrary.lib and jpegLibrary.h file
into our project. There were no compilation errors. But while running we were
not able to pass through the function call jpegDecompress() and
jpegFreeBitmap(). We are getting link error explaining that these functions are
undefined. We couldnt find definitions for these functions in the code. So we
assume these are defined in library and the library is not correctly loaded
into the application.
We tried finding the library programatically using the following steps.
UInt16 refNumP;
UInt32 libType;
UInt32 libCreator;
Err err,err1;
err = SysLibFind ("jpegLibrary",&refNumP);
err1 =SysLibLoad('appl', 'JpgT', &refNumP);
ErrFatalDisplayIf(err1, "Cannot load jpeg Library!");
We were always getting the error message.
Please be kind enough to go through this code segment and guide us in
resolving this issue.
Thanks...
Sruthi
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/