Im writing a plug-in which has a code resource.
In this plug-in, SysLibFind("Net.lib", &refNum) is called.
And my app prc calls this plug-in.
But actually in the plug-in, SysLibFind("Net.lib", &refNum) always returns
sysErrLibNotFound.

I checked Dev support knowledge base article about plug-in

http://oasis.palm.com/devzone/knowledgebasearticle.cfm?article_id=1157

I modified an entry point in this sample plug-in like this:
--- begin---
DWord PlugInMain( myPlugInParamBlockPtr plugInParamsP )
{
     DWord libRefNum;
     Err err;

     // This is necessary for the dev environment to download the standalone
     // *.prc file correctly.
     VoidPtr bogusP = (VoidPtr)&PilotMain;

     // Added.
     err = SysLibFind("Net.lib", &libRefNum);

     return err;
}
--- end ---
Still, SysLibFind() returns sysErrLibNotFound...

Has anybody else seen this?
Am I missing anything?


---
Hiroyuki Okamoto


Reply via email to