Home All Groups Group Topic Archive Search About

CDO security dialogs hang

Author
6 Mar 2007 8:03 AM
jon.baekken
I'm developing a C++ application using cdo.dll 1.21s to access
Exchange via Outlook profiles. The problem is that the Outlook dialogs
that pop up, for instance the security dialog telling me that somebody
is trying to access my e-mail addresses (see linked picture), takes
forever to appear and to interact with. When pushing the buttons etc,
feedback is lagging for several seconds, making my application
practically impossible to test and debug.

I have tried to re-register the dll, and tried two different versions
(6.5.6980.13 and 6.5.7233.48). The other developers on my team are
running one of those CDOs, as well as the same versions of Windows XP
and Office 2003, and connecting to the same Exchange 2003 server, but
are not experiencing my problems.

See http://www.add-in-express.com/images/outlook-security-manager/outlook_security_warning_1.gif
for picture of dialog.

Has anybody experienced this problem and possibly found a solution?

Jon

Author
6 Mar 2007 4:26 PM
Dan Mitchell
jon.baek***@gmail.com wrote in
news:1173168184.680437.82790@j27g2000cwj.googlegroups.com:
> Has anybody experienced this problem and possibly found a solution?

See the "security warnings -- is my approach incorrect?" thread in this
group (last posting was yesterday).

-- dan
Author
7 Mar 2007 11:47 AM
jon.baekken
On Mar 6, 5:26 pm, Dan Mitchell <djmitche***@yahoo.com> wrote:
> jon.baek***@gmail.com wrote innews:1173168184.680437.82***@j27g2000cwj.googlegroups.com:
>
> > Has anybody experienced this problem and possibly found a solution?
>
>  See the "security warnings -- is my approach incorrect?" thread in this
> group (last posting was yesterday).
>
>  -- dan

Thanks, but I think my problem is a bit different. I don't mind the
security dialogs popping up as such, only that they are so slow and
little responsive. It takes many (up to 20) seconds for the dialog to
draw itself on the screen and to react on mouse clicks and keyboard
presses.

Jon
Author
7 Mar 2007 5:36 PM
Dan Mitchell
jon.baek***@gmail.com wrote in
news:1173268041.889578.190290@h3g2000cwc.googlegroups.com:
> Thanks, but I think my problem is a bit different. I don't mind the
> security dialogs popping up as such, only that they are so slow and
> little responsive. It takes many (up to 20) seconds for the dialog to
> draw itself on the screen and to react on mouse clicks and keyboard
> presses.

Okay, I see. How are you getting cdo.dll onto the systems that it's
running on? If it's by installing it as part of Outlook, you may just be
stuck with it, because you can't (legally) just cut and paste DLLs around
-- in that situation, your best bet is to use Redemption (www.dimastr.com)
which does the same things as CDO1.21, but without the security prompts.

As for why it's slow, sorry, I have no idea -- is Outlook's CPU spiked
high while the prompts are coming up or something? You could also use
something like procmon from sysinternals to see if anything shows up, but
I don't think there's going to be any way to fix it.

It's possible something here: http://www.slipstick.com/outlook/esecup.htm
might mention delays, but I've not heard of that problem before.

-- dan
Author
8 Mar 2007 8:29 AM
jon.baekken
On Mar 7, 6:36 pm, Dan Mitchell <djmitche***@yahoo.com> wrote:
Show quote
> jon.baek***@gmail.com wrote innews:1173268041.889578.190***@h3g2000cwc.googlegroups.com:
>
> > Thanks, but I think my problem is a bit different. I don't mind the
> > security dialogs popping up as such, only that they are so slow and
> > little responsive. It takes many (up to 20) seconds for the dialog to
> > draw itself on the screen and to react on mouse clicks and keyboard
> > presses.
>
>  Okay, I see. How are you getting cdo.dll onto the systems that it's
> running on? If it's by installing it as part of Outlook, you may just be
> stuck with it, because you can't (legally) just cut and paste DLLs around
> -- in that situation, your best bet is to use Redemption (www.dimastr.com)
> which does the same things as CDO1.21, but without the security prompts.

>  As for why it's slow, sorry, I have no idea -- is Outlook's CPU spiked
> high while the prompts are coming up or something? You could also use
> something like procmon from sysinternals to see if anything shows up, but
> I don't think there's going to be any way to fix it.
>
>  It's possible something here:http://www.slipstick.com/outlook/esecup.htm
> might mention delays, but I've not heard of that problem before.
>
>  -- dan

I'm using the CDO that came with Outlook, but I've also tried copying
in other versions and re-registering the DLL (isn't this "legal?").
Wish I could use redemption, but I'm maintaining a messy old
application that I'd rather not touch more than necessary.
Interestingly, everything worked well for weeks, then all of a sudden,
it started going slow. That is, on my computer. Everybody else's is
OK. Outlook's CPU use is nothing special, but I'll look into those
tools to see if they can help.

Thanks again,
Jon
Author
9 Mar 2007 12:09 AM
Dan Mitchell
jon.baek***@gmail.com wrote in
news:1173342587.096676.246970@30g2000cwc.googlegroups.com:
> I'm using the CDO that came with Outlook, but I've also tried copying
> in other versions and re-registering the DLL (isn't this "legal?").

I don't think so, no. There was once, a very long time ago, a version
of cdo.dll that was distributable on its own, but that got pulled -- now
there's the standalone mapi/cdo1.21 distribution, but that won't go on
the same PC as Outlook.

Other than that, I don't think it's okay to just shuffle DLLs around. I
would be very surprised if MS legal came after you if you copy things
around on developer PCs to test stuff out, but you aren't allowed to
just ship the Outlook 9x (for instance) version of CDO.DLL with your app
to get around problems that you find in newer ones.

> Interestingly, everything worked well for weeks, then all of a sudden,
> it started going slow. That is, on my computer. Everybody else's is
> OK. Outlook's CPU use is nothing special, but I'll look into those
> tools to see if they can help.

That's very strange. You could try asking in ms.public.outlook.program-
vba, the people there know about the security prompt. (just don't worry
if you get the same "see the page on slipstick" response the first time
you ask, that's the default response to this type of question.. :) )

-- dan
Author
9 Mar 2007 8:05 AM
Jon
>  That's very strange. You could try asking in ms.public.outlook.program-
> vba, the people there know about the security prompt. (just don't worry
> if you get the same "see the page on slipstick" response the first time
> you ask, that's the default response to this type of question.. :) )
>
>  -- dan

Will do.

Jon

AddThis Social Bookmark Button