#define irLibName "IrDA Library"

You should first do a SysLibFind then if that fails, do a SysLibLoad:

    err = SysLibFind(irLibName,&libRefNum);
    if(err != 0)
    {
        err = SysLibLoad(irLibName, irLibCrtr, &libRefNum);
    }

This way if the library is already loaded, you'll just get it's reference.
Otherwise you'll have to load it.  If everyone does this, the library won't
get loaded multiple times.  The IR library should already be loaded, so the
SysLibFind should be sufficient.

> -----Original Message-----
> From: Hamoudi, Nourredine [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 26, 1999 12:25 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: IrComm Question ?
> 
> 
> 
> But, I do not know the libCreator and the libType of the 
> IrComm Library.
> 3Com does not give these information in the readme file.
> Where can I find these info. Should I contact 3Com ?
> 
> Thanks
> 

Reply via email to