error in CleanupStack::PopAndDestroy()
| Thu, 2007-11-15 13:19 | |
|
Hi, Errors:----- 1.'CleanupStack::PopAndDestroy()' (static) Where:-------- #define KDirPictures PathInfo::ImagesPath() TFileName AttachmentFile(KDirPictures); |
|
| Thu, 2007-11-15 13:19 | |
|
Hi, Errors:----- 1.'CleanupStack::PopAndDestroy()' (static) Where:-------- #define KDirPictures PathInfo::ImagesPath() TFileName AttachmentFile(KDirPictures); |
|
Forum posts: 672
PopAndDestroy expects to have a pointer as a parameter. RFile object is not a pointer. Do PopAndDestroy(&attachment) instead.
Forum posts: 37
thanks it works