A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Redemption and Reg-Free COM, how-to?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 1st 07, 09:44 PM posted to microsoft.public.outlook.program_addins
Mike
external usenet poster
 
Posts: 332
Default Redemption and Reg-Free COM, how-to?

I am working on an add-in upgrade, and thought I'd try using RegFree COM for
an internal c++ component, and for the Redemption libraries. (I got the idea
from the Redemption website:
http://www.dimastr.com/redemption/se...htm#regfreecom) However, as soon as I
set 'Isolated=True' in VS2K5 Interop.Redemption properties, I get a build
error: "Problem isolating COM reference 'Redemption': No registered classes
were detected for this component." The dll is properly registered with
regsvr32 and resides in the ..\WINDOWS\System32 folder. Any thoughts anyone?
Thank you in advance.
  #2  
Old October 2nd 07, 10:32 PM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Redemption and Reg-Free COM, how-to?

Did you customize the dll? Are the Redemption registry keys in HKCR or
HKCU\Classes?
What is teh Windows version?

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

"Mike" wrote in message
...
I am working on an add-in upgrade, and thought I'd try using RegFree COM
for
an internal c++ component, and for the Redemption libraries. (I got the
idea
from the Redemption website:
http://www.dimastr.com/redemption/se...htm#regfreecom) However, as soon as I
set 'Isolated=True' in VS2K5 Interop.Redemption properties, I get a build
error: "Problem isolating COM reference 'Redemption': No registered
classes
were detected for this component." The dll is properly registered with
regsvr32 and resides in the ..\WINDOWS\System32 folder. Any thoughts
anyone?
Thank you in advance.



  #3  
Old October 2nd 07, 11:29 PM posted to microsoft.public.outlook.program_addins
Mike
external usenet poster
 
Posts: 332
Default Redemption and Reg-Free COM, how-to?

Yes, the dll is customized.
The Redemption keys are in HKCR.
Windows XP Pro.
Visual Studio 2K5.

Thanks Dmitry!


"Dmitry Streblechenko" wrote:

Did you customize the dll? Are the Redemption registry keys in HKCR or
HKCU\Classes?
What is teh Windows version?

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

"Mike" wrote in message
...
I am working on an add-in upgrade, and thought I'd try using RegFree COM
for
an internal c++ component, and for the Redemption libraries. (I got the
idea
from the Redemption website:
http://www.dimastr.com/redemption/se...htm#regfreecom) However, as soon as I
set 'Isolated=True' in VS2K5 Interop.Redemption properties, I get a build
error: "Problem isolating COM reference 'Redemption': No registered
classes
were detected for this component." The dll is properly registered with
regsvr32 and resides in the ..\WINDOWS\System32 folder. Any thoughts
anyone?
Thank you in advance.




  #4  
Old December 27th 07, 09:34 PM posted to microsoft.public.outlook.program_addins
Jim
external usenet poster
 
Posts: 230
Default Redemption and Reg-Free COM, how-to?


Did you ever figure this out mike? I'm getting th exact same problem. As
soon as I set Isolated = True, I get the isolating COM reference error.


"Mike" wrote:

Yes, the dll is customized.
The Redemption keys are in HKCR.
Windows XP Pro.
Visual Studio 2K5.

Thanks Dmitry!


"Dmitry Streblechenko" wrote:

Did you customize the dll? Are the Redemption registry keys in HKCR or
HKCU\Classes?
What is teh Windows version?

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

"Mike" wrote in message
...
I am working on an add-in upgrade, and thought I'd try using RegFree COM
for
an internal c++ component, and for the Redemption libraries. (I got the
idea
from the Redemption website:
http://www.dimastr.com/redemption/se...htm#regfreecom) However, as soon as I
set 'Isolated=True' in VS2K5 Interop.Redemption properties, I get a build
error: "Problem isolating COM reference 'Redemption': No registered
classes
were detected for this component." The dll is properly registered with
regsvr32 and resides in the ..\WINDOWS\System32 folder. Any thoughts
anyone?
Thank you in advance.




  #5  
Old December 28th 07, 06:32 AM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Redemption and Reg-Free COM, how-to?

The problem is that when Redemption.dll is customized, only the registry
names of the Redemption classes are changed, but not the underlying type
library (embedded as a resource in the dll).
When VS tries to locate the registry keys, it looks for the original class
names stored in the type library, not the modified class names.
If you are using registry-free COM, there is absolutely no reason to also
customize the dll since it will never be registered in the registry, and no
other app will ever see or use it.

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

"Jim" wrote in message
...

Did you ever figure this out mike? I'm getting th exact same problem. As
soon as I set Isolated = True, I get the isolating COM reference error.


"Mike" wrote:

Yes, the dll is customized.
The Redemption keys are in HKCR.
Windows XP Pro.
Visual Studio 2K5.

Thanks Dmitry!


"Dmitry Streblechenko" wrote:

Did you customize the dll? Are the Redemption registry keys in HKCR or
HKCU\Classes?
What is teh Windows version?

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

"Mike" wrote in message
...
I am working on an add-in upgrade, and thought I'd try using RegFree
COM
for
an internal c++ component, and for the Redemption libraries. (I got
the
idea
from the Redemption website:
http://www.dimastr.com/redemption/se...htm#regfreecom) However, as soon
as I
set 'Isolated=True' in VS2K5 Interop.Redemption properties, I get a
build
error: "Problem isolating COM reference 'Redemption': No registered
classes
were detected for this component." The dll is properly registered
with
regsvr32 and resides in the ..\WINDOWS\System32 folder. Any thoughts
anyone?
Thank you in advance.





 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
strong name and Redemption Rog Add-ins for Outlook 3 April 5th 06 05:03 PM
email using redemption Richard Outlook and VBA 10 March 24th 06 08:16 AM
Redemption Christoph Add-ins for Outlook 5 March 6th 06 03:26 PM
how to change busy/free time default from busy to free in calenda Dr. D Outlook - Calandaring 0 January 26th 06 04:30 AM
Redemption MAPITable Dmitry Streblechenko Add-ins for Outlook 1 January 12th 06 04:09 AM


All times are GMT +1. The time now is 08:43 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.