I have a small library which looks like this:
# include "StringLibrary.h"
PalmString::PalmString(char q[])
{
StrCopy(str,q);
}
void PalmString::concat(PalmString s2)
{
if(StrLen(str) + StrLen(s2.str) < 10)
StrCat(str,s2.str);
}
StringLibrary.h looks like this:
class PalmString
{
private:
char str[10];
public:
//Constructor
PalmString(char p[]);
//Function to concatenate
void concat(PalmString);
};
What are all the options that i should set for this library.
(Like setting in target ....etc )
In my application i am calling it like this:
err = SysLibFind(sampleLibName, &GSampleLibRefNum);
err = SysLibLoad(sampleLibTypeID, sampleLibCreatorID,
&GSampleLibRefNum);
(All vars initialized appropriately)
Please tell me
1. Options that i should set for this library file.
2. Method for calling it from my application
I am using Palm OS emulator with Palm os Ver 3.1.
I cannot understand how SysLibLoad will load a library file in my
desktop!!
I tried moving library file onto emulator but with no success.
I am struggling with this.
Plase help me out.
I have tried looking into ex from palmos.com.
But it's not compling on my machine.
Thanks in advance
--
Anne Srinivas
Software Engineer
InfoTech Enterprises Ltd.
Plot No 11,Infocity,
Software Units Layout,
Madhapur,Hyderabad 33
E-Mail :
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Tel (Office) : 3100855
Tel (Resi) : 3033761
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/