// _LIT(Ktxt,"SymbianDll.DLL");//宏定义指定要调用的dll
// RLibrary library;//调用库函数类
// TFileName file;
// RFs fs;
// HBufC8* nBuffer = HBufC8::NewL(32);
// CBitmapScaler* nScaler = CBitmapScaler::NewL();
// EntryPointfuncPtr decode_barcode = NULL;
// CFbsBitmap* nDestBitmap = new(ELeave) CFbsBitmap();
// CleanupStack::PushL(nDestBitmap);
// User::LeaveIfError(nDestBitmap->Create(TSize(640, 480), EGray256));
// nScaler->Scale(&iStatus, *iBitmapSave, *nDestBitmap);
// nDestBitmap->Save(*aNewFilePathAndName);
// User::LeaveIfError(fs.Connect());
// file=Ktxt;
// User::LeaveIfError(library.Load(file));//如果失败就退出
//
// decode_barcode = (EntryPointfuncPtr)library.Lookup ( 1 );
// decode_barcode(nDestBitmap,640,480,nBuffer);
// library.Close();//关闭调用