View Single Post
  #3  
Old January 12th 09, 09:42 PM posted to microsoft.public.outlook.program_addins
Byron
external usenet poster
 
Posts: 9
Default Redemption Compiler problem

I'm not using ATL.




On Jan 12, 3:01*pm, wrote:
On Jan 12, 11:46*am, Byron wrote:





I'm not well versed enough in COM to troubleshoot this problem. *Any
help or suggestions will be greatly appreciated. *TIA.


I am trying to use Redemption but I'm having trouble getting past a
compiler error. *The error is:


*c:\.......\OlSmPlug-In\ItemEventHandler.cpp(882): error C2079:
'sMailItem' uses undefined struct 'Redemption::SafeMailItem'.


Here is the simple decleration in my code in ItemEventHandler.cpp
(882)


Redemption::SafeMailItem sMailItem;


I ran the installer file you provide as part of the Redemption
download. *Redemption does show up in Outlook's Add-In Manager and
it's checked. *Here is my import statement and my SafeMailItem
decleration. *#import "C:\\Program Files\\Redemption\\Redemption.dll"
The import statement is in the same header file as the office
mso.dll. *I have no problem importing the Office/Outlook files.


The redemption.tlh and redemption.tli files are created in my Debug
directory. *SafeMailItem is declared in the tlh file.


Here is my system info:


Window XP Pro


MS Visual Studio 2003 version7.1.6030


Outlook 2002 SP3 version 10.6838.6845


Redemption 4.6.0.924


You have to create an instance of the Redemption SafeMailItem and
initialize it. *Are you using ATL?- Hide quoted text -

- Show quoted text -


Ads