Hi,

I don't know why pnojpeglib is blocking my application from opening bitmap resources.

See the code bellow


//if this line exists....
pnoJpeg_OpenLibrary(&pnoJpegRefNum);
.
.
.
MemHandle resH = DmGet1Resource( bitmapRsc, 1000);
// resH returns NULL here and the err points to a Db rsc do not exist.


But if I comment the pnoJpeg_OpenLibrary() line, DmGet1Resource works fine.

looks like the pnoJpeg_OpenLibrary is blocking the database opening.

any idea? or for example is there a command that I can put before DmGet1Resource to enforce open DB?

thanks

Erico

--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to