Hi, Matthew, thanks for your kindly help!
I have downloaded your JPEGView source code. I think I need some time
to understand it as I am very new to explore Palm programming.

Just went through your code roughly, tring to find the part of the
code where you used the library. But strangly, I can't find much
places you use any structures or functions derived from the library.
Almost all the functions in your code are from Palm APIs.
To be frankly, your code is not very long, do I miss anything?

The only part of the code I found have somthing from the library is as below,
--------------------------------------------------------------------------------------------------
result = PceNativeCall(
    (NativeFuncType*)"ARMlet.dll\0NativeFunction", // default dll path
is the location of PalmSim.exe
    myUserData);
-----------------------------------------------------------------------------------------------------
A quite strange usage, my first time to see.

Also, I am very curious about this function: FrmVFSOpen() in the
following code, as it looks so like a standard API of form or VFS
operation from Palm. But I cannot find it from Palm APIs. Also cannot
find definition from your code and JEPG lib. Did you get it from
anywhere else?
-------------------------------------------------------------------------------------------
if ( FrmVFSOpen (&vn, Preferences.Path, Preferences.LastFile) ) {
        Preferences.Volume = vn;
        FrmDrawForm(formP);
      }
--------------------------------------------------------------------------------------------


Thanks
Vicky



On Tue, 18 Jan 2005 00:23:52 -0800, Matthew Bevan
<[EMAIL PROTECTED]> wrote:
> Howdy!
> 
> This is the first time I've been directly referenced by someone... my goal of
> some day becoming more well known than Ben Combee may actually come true! ;-P
> 
> > Whereas, I loss myself immediatly, as I can not find any documents
> > about this library. Even has no text file to explain the directary and
> > file structure, what folder is for what, what it supposed, what it can
> > do, how to use it, how to use those files, none of the things has
> > description.
> 
> The PalmOS port of the C code is almost identical in file structure to the C
> code itself.  Documentation on the Independent JPEG Group's code may come in
> handy.
> 
> Truth be told, I never really understood the file structure, either.  In my
> project I simply include one of the pre-built ARMC resources.  I believe the
> resource I used is located at Palm/testArmlet2/ARMC0001.bin in the ZIP file.
> 
> I'll upload the source code to my JPEGView program to see if it helps you
> understand that specific ARMlet a little better.  You will not be able to
> compile JPEGView as-is due to it using an in-house code library.
> 
> > So, I would like to know are there any person know how to use this
> > library, or just show me the way where to find help will be a great
> > help to me.
> 
> The original author of the port is the man to ask - Matthew Fleming.  I wonder
> if he's still around...
> 
> The code for JPEGView is available from:
> http://www.marginsoftware.com/attachments/JPEGView-1.2.zip
> 
> > Understand Mattew Bevan had ever used this library a lot, so could you
> > give me some guide, I will be greate appreciate.
> 
> > Because this lib is ARM-native, so I think it may be better to used to
> > develop application on palm cobalt, isn't it?
> 
> The JPEG decoder ARMlet will work on any PalmOS 5+ device.  Any application
> which uses this decoder could be PalmOS 3-4 compatible if a 68k JPEG decoder
> was written and appropriate tests placed in the code.
> 
> --
> Matthew Bevan, Margin Software
> - Re-inventing the wheel, every time.
> 
> Hanlon's Razor:
>        Never attribute to malice that which is adequately explained by
> stupidity.
> 
> --
> For information on using the Palm Developer Forums, or to unsubscribe, please 
> see http://www.palmos.com/dev/support/forums/
>

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

Reply via email to