Re: Outlook Redemption

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Dmitry Streblechenko \(MVP\) (dmitry_at_dimastr.com)
Date: 12/16/04


Date: Thu, 16 Dec 2004 13:30:27 -0700

Since you customized the dll to use custom class names and GUIDs, you need
to be careful about how you create the objects: if you use the regular
"new", the compiler hardcodes the class GUID, which is obviously missing.
Try to use something like

Type t = Type.GetTypeFromProgID("MyDll.MyMailItem");
SafeMailItem sItem = (SafeMailItem) Activator.CreateInstance(t);

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Glyn Meek" <gjmeek@earthlink.net> wrote in message
news:Sw8wd.576$RH4.284@newsread1.news.pas.earthlink.net...
>
>
> We have just purchased a development tool called Redemption for Outlook
> which lets us deal with that vagaries of interfacing to all the different
> versions of Outlook. Works wonderfully well (although the documentation is
> predictably DREADFUL!!).
>
>
> Our problem: When we install and then run our software on other computers,
> we get a runtime exception "Cannot create ActiveX control" in the routines
> where we are creating a new redemption object (like
> "SafeContactItem".renamed desktop_ContactITEM in our dll.). Again, this
is
> code works fine on a system where the desktop. dll HAS been registered -
ie
> my development system. We are using Visual Studio/2003 and Visual Basic,
and
> in the VS installation/Setup project, I have tried making the desktop.dll
> file register as vsdraCOM and vsdraCOMRelativePath.
>
> Does anyone else have experience of using this tool (we can't get hold of
> their support folks to save our lives, even though it cost us $199 for the
> software!!!!!). It seems to be a problem putting their dll into the
> registry!!
>
> HELPPPPPPP anyone?
>
>
>
> Glyn Meek
>
>



Relevant Pages

  • RE: COM Addin dll and HKEY_LOCAL_MACHINE
    ... registry for HKEY_LOCAL_MACHINE (HKLM). ... associate the designer objects with HKLM and compile the DLL so that it would ... Outlook ] ... > designer to register in HKEY_CURRENT_USER. ...
    (microsoft.public.vb.com)
  • Re: Word Cannot Find Its Data Source ~~~.olk
    ... > I'd like some confirmation about registering this DLL. ... DLL, just in case, but regsvr32 came up with a "missing entry point" error. ... as I would like to have an address book connection method that can be ... initiated from Word and "does everything", the "initiation from Outlook" ...
    (microsoft.public.word.mailmerge.fields)
  • Re: Outlook Redemption
    ... I guess you're the author of Outlook Redemption :-) ... the original poster says the DLL works fine on his development ... >> We have just purchased a development tool called Redemption for Outlook ... >> file register as vsdraCOM and vsdraCOMRelativePath. ...
    (microsoft.public.dotnet.framework)
  • Re: Outlook 2007 Message Store installation on Vista (User Control On)
    ... The one thing I did notice is that procmon is never showing that our DLL ... Could we be using an outdated method for Outlook 2007? ... install this on all operating systems and Outlook ... The issue boils down to adding our email account. ...
    (microsoft.public.win32.programmer.messaging)
  • Re: Outlook Redemption
    ... Actually Redemption allows to customize the dll to change the class names ... and GUIDs - this way the library does not even look like the original dll. ... .Net hardcodes some GUIDs at compile time, and the trick is trying to avoid ... >> and MAPI Developer Tool ...
    (microsoft.public.dotnet.framework)