I have posted those patched header files on the web.  Thus other developers
having the same problem encountered may use those patched header files
directly.  I.e. who wish to use Sony SDK R5.0 under PODS may find these
files helpful.

http://www.doveport.com/en/detail1.php?download_idx=73

P.S. Doveport.com is a free web service for hosting file.

Best regards,
Stephen H.S. Lee


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stephen H.S. Lee
Sent: Thursday, August 17, 2006 12:34 AM
To: Palm Developer Forum
Subject: RE: Using SonySDK Functions under PODS


Overbeek & James,

Thank you very much for your information and hints.  The application can now
be built by PODS without errors.  

Many thanks.

Best regards,
Stephen H.S. Lee


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of JamesSturdevant
Sent: Wednesday, August 16, 2006 10:44 PM
To: Palm Developer Forum
Subject: Re: Using SonySDK Functions under PODS


Ton van Overbeek wrote:
> On 2006-08-16, Stephen H.S. Lee <[EMAIL PROTECTED]> wrote:
>> I have an application coded with SonySDK functions.  It was mainly
>> catering for the compatibility issue that came with the Sony Clie's 
>> Virtual Silk Screen.  The application could be made under Code 
>> Warrior successfully.
>>
>> However, after porting the application to PODS environment, errors
>> happened during the linking stage.  It is quite likely that those 
>> Sony specific functions could not be found in libraries.  Following 
>> references are undefined despite I did not call them directly.
>>
>> silkLibTrapResizeDispWin
>> silkLibTrapDisableResize
>> silkLibTrapEnableResize
>> VskTrapGetAPIVersion
>> VskTrapSetState
>>
>> Any way out?  Is there any missing library that I should include to
>> resolve the issue?
>>
>> OR, I have to remove all codes that use SonySDK.  Of course, the new
>> compiled application will no longer support Sony's Virtual Silk 
>> Screen feature.
>>
>> Thanks for any comments or advices in advance very much.
>>
>> Best regards,
>> Stephen H.S. Lee
> 
> If you are using an original version of the Sony SDK header files then 
> prc-tools (which PODS uses) will have problems. Sony used enums 
> instead of #defines for their trap definitions and the gcc compiler 
> cannot handle these definitions. There have been various perl scripts 
> floating around which can convert the

> Sony header files for you.
> For example look at sdk_enum_to_defines.pl, which can be found here:
>
http://astroinfo.cvs.sourceforge.net/astroinfo/astroinfo/source/sdk_enum_to_
defines.pl
> HTH
> 
> Ton van Overbeek
> 
The Perl script does a good job but, if I recall, misses the last entry 
in each enum list. It was easier to edit it by had after than to find 
the problem in the script. For my needs there were only three headers 
that needed modifying.

JamesS

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


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


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

Reply via email to