Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Overcoming the Outlook Security Update

19 views
Skip to first unread message

John Lewis

unread,
Feb 2, 2006, 11:35:56 AM2/2/06
to
Hi All

If like myself you get fed-up with Outlook popping up the message
'Someone is trying to access Outlook.. etc" when you connect with
Outlook in your VO app, then the link below is a solution to overcome
that problem.

http://gethelp.devx.com/techtips/exo_pro/10min/10min1200/10min1200-2.asp

It involves downloading a file from Microsoft and setting up some
permissions. The download link and full instructions are provided in
this article.

Alternatively I have found that there are 2 dll files which are
patched when the security patch is applied. These are:

Outllib.dll residing in your Office folder, (e.g. C:\Program
Files\Microsoft Office\Office)

and

Outllibr.dll residing in your 1033 folder, (e.g. C:\Program
Files\Microsoft Office\Office\1033)

By replacing these with the original files from your Office CD then
you will not get the nagging prompt from Outlook, but obviously your
system is now at risk from a worm etc

I hope this is of some help.

Regards to all

John Lewis

@je

unread,
Feb 2, 2006, 4:48:01 PM2/2/06
to
John, additionally when you would like to have the security in place but
just a better way to manage it have a look at the Advanced Security tool
from Mapilab. http://www.mapilab.com/download/#security
When you install this tool you get one prompt and can allow access to
specific applications.

Ed

"John Lewis" <datapro_...@dial.pipex.com> wrote in message
news:pdc4u1dj18o347ehm...@4ax.com...

John Lewis

unread,
Feb 3, 2006, 3:43:38 AM2/3/06
to
Hi Ed,

What is the cost, it does not list the cost for the advanced security
module? How is it used?

Regards

John

Stephen Quinn

unread,
Feb 3, 2006, 9:49:18 PM2/3/06
to
John

> What is the cost, it does not list the cost for the advanced security
> module?

It's free - see the product description page

> How is it used?
Read the docs

HTH
Steve


John Lewis

unread,
Feb 4, 2006, 6:40:29 AM2/4/06
to
tried it but it runs very slowly. It's even slower than a utility
which does the agreeing to the security prompts automatically.

It would be fine for single emails but not practical for sending many.

Regards

John

On Sat, 04 Feb 2006 02:49:18 GMT, in comp.lang.clipper.visual-objects
you wrote:

@je

unread,
Feb 4, 2006, 9:15:42 PM2/4/06
to
I think you don't get the point John, you (or the user of the app) only have
to Check always allow access for your application once, after that your
users will never see it again.

Ed


"John Lewis" <datapro_...@dial.pipex.com> wrote in message

news:1l49u1t0nepmojs49...@4ax.com...

John Lewis

unread,
Feb 5, 2006, 5:23:15 AM2/5/06
to
Hi Ed,

I do get the point, I allowed my app to call Outlook and I as you say
I don't see the pop-up security windows, BUT, if I am sending MANY
emails the process runs like a lame dog. The performance is totally
unacceptable.

I was referring to another solutin which was not free, which behaved
as if you were clicking the buttons yourself on the security window.
This ran much faster but there is still a performance hit.

How many emails are you sending at one time?

Regards

John

GSchaller

unread,
Feb 5, 2006, 5:43:59 AM2/5/06
to
John,

It doesn't work like that. Once installed and the box ticked, it
provides almost no visible impediment at all. We generate bulk tasks and
emails in overnight rollover processes and see any change in Outlook's
performance.

However, nor am I completely sure what you are doing so I don't know
where we take this next.

Geoff


"John Lewis" <datapro_...@dial.pipex.com> wrote in message

news:p6kbu15ea4vtmm7tm...@4ax.com:

Gary Stark

unread,
Feb 5, 2006, 5:52:45 AM2/5/06
to
John Lewis wrote:
> Hi Ed,
>
> I do get the point, I allowed my app to call Outlook and I as you say
> I don't see the pop-up security windows, BUT, if I am sending MANY
> emails the process runs like a lame dog. The performance is totally
> unacceptable.
>
> I was referring to another solutin which was not free, which behaved
> as if you were clicking the buttons yourself on the security window.
> This ran much faster but there is still a performance hit.

John,

Search the archives. I posted exactly such a solution in about the
middle of last year, in VO code.

It permitted you to set the time value for how long Outbreak permitted
your application access, and it cost you all of ...

er ....

um ...

ahhh ...

yeah, nuttin' to use.

John Lewis

unread,
Feb 5, 2006, 9:01:09 AM2/5/06
to
Hi Gary,

Is this the thread?

>>We're going to be placing our hooks into the VO2Outlook 3 GUI app, which
>>is a library that the VO2Outlook InboxExplorer uses.

>>Open the TS_SimpleInboxExplorer module, and in your text editor, open
>>the SetupInbox() method of TS_SimpleInboxExplorer.


>>Add the following declaration somewhere near the start of this method:


>>LOCAL dwID AS DWORD


>>After the line


>> FOR i := 1 UPTO nCount


>>Add


>> CreateVOThread( NULL, 0, @Outbreak(), NULL, 0, @dwID )

Does this only work with COMSDK? I have a small problem with that but
Geoff gave me some cluse which I can look in to.

Thanks for your help.

Regards

John

Gary Stark

unread,
Feb 5, 2006, 9:17:04 AM2/5/06
to
John Lewis wrote:
> Hi Gary,
>
> Is this the thread?
>

Yep.

@je

unread,
Feb 5, 2006, 5:06:22 PM2/5/06
to
Right, I see what you mean, and yes it takes a bit of time for each email
you generate. When using exchange you can relax the security just for the
account you are using for the send, or even set up a specific account just
for your process. There's lots of info on the MS-site on how todo that and
they provide some forms for administrators to use.
http://office.microsoft.com/en-au/assistance/HA011402911033.aspx , middle of
the page: "Enabling customized security settings for users"


Ed

"John Lewis" <datapro_...@dial.pipex.com> wrote in message

news:p6kbu15ea4vtmm7tm...@4ax.com...

John Lewis

unread,
Feb 6, 2006, 9:05:53 AM2/6/06
to
Hi Gary:


Unfortunately I can't get COMSDK to run the VO2Outlook Getting
started. It simple closes VO I tried Geoff's suggestions without any
luck.

Regards

Jihn

John Lewis

unread,
Feb 6, 2006, 9:07:26 AM2/6/06
to
Hi Ed,

Thanks for your patience. Unfortunately clients have not got exchange
server, hence my attempts to overcome security.

Thanks for your help.

Regards

John

Gary Stark

unread,
Feb 6, 2006, 4:07:07 PM2/6/06
to
John Lewis wrote:
> Hi Gary:
>
>
> Unfortunately I can't get COMSDK to run the VO2Outlook Getting
> started. It simple closes VO I tried Geoff's suggestions without any
> luck.
>
> Regards
>
> Jihn
>

Hi, Jihn <g>


I'd be checking DLL versions to sort this issue. The ComSDK does work
with 2.7 - that's what I used to produce the sample in question, so
there must be some local issue that's interfering here, and DLLHell
sounds like as good a place as any to start. :)

--
g.
Gary Stark
gst...@RedbacksWeb.com
http://www.RedbacksWeb.com

FDW

unread,
Feb 6, 2006, 4:18:18 PM2/6/06
to
John,

Let me know the exact VO version ( I presume you have 2740 but I need to
know for sure ). Did you get the setup from the www.comsdk.com site or
some other place? What is the date/time on that install file?

Regards
Frans

"John Lewis" <datapro_...@dial.pipex.com> wrote in message

news:eqleu1pk1r66hgsdd...@4ax.com:

John Lewis

unread,
Feb 7, 2006, 4:13:27 AM2/7/06
to
Hi Frans,

I am using VO build 2740

COMSDK130VO2735b.exe dated 19 December, 2005 @ 16:48 downloaded from
your website.

I have tried several time to reinstall it, one time in my rush I
accepted the default C:\CAVO27 instead of changing it to my d:\cavo27a
(its actually VO2.7b build 2740) so I don't know if this makes a
difference. Is it something that got stored in the registry when I
did this.

I appreciate your help and sorry to be a PIA

Regards

John

John Lewis

unread,
Feb 7, 2006, 4:33:38 AM2/7/06
to
Frans,

Further to my earlier post I just scanned my PC and found that the
install had created some folders on my C: drive as follows:

C:\Talen\Cavo2730\ComSDK\Source(PRGs)\00TsBase

The UDC, TS_Base_3_Trace.UDC was inside the 00TsBase folder. It was
this file that referenced on the UDC Tab of the properties window. I
deleted this and selected the same file but located in my
D:\CAVO27a\bin folder

I don't know if this has any bearing on the matter.

Regards

John

On Mon, 6 Feb 2006 21:18:18 +0000, "FDW"
<fdewit_Remove_@_Remove_planet.nl> wrote:

GSchaller

unread,
Feb 7, 2006, 6:13:32 AM2/7/06
to
Wrong one <g>.

(But Frans will have to assist here)


"John Lewis" <datapro_...@dial.pipex.com> wrote in message

news:6kpgu1lh2i70po3vu...@4ax.com:

John Lewis

unread,
Feb 7, 2006, 6:53:15 AM2/7/06
to
Frans,

Sorry, the date I quoted was the date I downloaded. I just went to
your website & redownloaded but the AEF's and REPO are identical and
dated 01/12/2004 @ 01:03 (dd/mm/yyyy)

John


On Mon, 6 Feb 2006 21:18:18 +0000, "FDW"
<fdewit_Remove_@_Remove_planet.nl> wrote:

FDW

unread,
Feb 8, 2006, 5:35:24 AM2/8/06
to
John,

After reinstalling my original 2716 and upgrading to A and B and then to
2740, and then importing the COMSDK I see the same problem.

The problem is in the CAVOLink.DLL, you have to downgrade to the 2735
version of the linker and all works fine. I have discussed this with
Robert and he acknowledges that there is no problem when you replace the
2740 linker with 2735 version.

Also, I will send you a 2740 verified version of the COMSDK by private
mail, if there is any other one interested in this then drop me a mail.

Regards
Frans

P.s. See you all at DevFest

"John Lewis" <datapro_...@dial.pipex.com> wrote in message

news:2oogu158oesn5bgil...@4ax.com:

John Lewis

unread,
Feb 8, 2006, 10:45:01 AM2/8/06
to
Hi Gary,

Frans de Wit, discovered that it was the CavoLinker.dll which caused
all my problems. I replaced the 2740 dll with the 2735 dll and now I
am cooking with gas.

I have been playing with your code (see below), but can not get it to
work completely. Possibly it is because there are slight variations
in Outlook?

The Function FindWindow() did not work with the string you supplied
and I changed this to "Microsoft Outlook", instead of "Microsoft
Office Outlook"

Next I changed the string "&Allow access for" to "Allow access for"

Both the PostMessage() return TRUE but I don't see anything happen
in the dialog window

The comboBox is not enabled until you tick the checkbox, but although
you get handle to the checkbox, you don't actually Post a message to
this so I think this may be the problem.

Could you take a look at this if you got chance.

Thanks and my best wishes

John

====================================================

FUNCTION Outbreak()
// Copyright (c) 2005 Gary Stark
// gst...@Redbacksweb.com
LOCAL hWndOther AS PTR
LOCAL hWndYesButton AS PTR
LOCAL hWndCheckBox AS PTR
LOCAL hWndCombo AS PTR
LOCAL nLoops AS DWORD
LOCAL nMaxLoops AS DWORD
LOCAL cWindCaption AS STRING


LOCAL pRect IS _WINRect
LOCAL lLox, lHiy AS LONG


nLoops := 0
nMaxLoops := 25

//cWindCaption := "Microsoft Office Outlook"
cWindCaption := "Microsoft Outlook"

hWndOther := FindWindow(Null_Psz, PSZ(cWindCaption))
WHILE hWndOther == NULL_PTR .and. nLoops < nMaxLoops
Sleep( 500 ) // wait for the dialog
hWndOther := FindWindow( Null_Psz, PSZ( cWindCaption ) )
nLoops += 1
Yield()
END

IF !hWndOther == NULL_PTR
// we have a dialog
hWndCheckBox := FindWindowEx( hWndOther, NULL_PTR,
String2Psz("Button" ), String2Psz( "Allow access for" ) )
hWndCombo := FindWindowEx( hWndOther, NULL_PTR,
String2Psz("ComboBox" ), String2Psz( "" ) )
hWndYesButton := FindWindowEx( hWndOther, NULL_PTR,
String2Psz("Button" ), String2Psz( "Yes" ) )
IF !hWndOther == NULL_PTR
SetForegroundWindow( hWndOther )
Sleep( 500 ) // wait
GetWindowRect( hWndYesButton, @pRect )
?PostMessage( hWndYesButton, WM_CHAR, Asc( "A" ), 1L ) //
Returns .T.


// Uncomment the next two lines to set the Outlook
// timer to 2 minutes
?PostMessage( hWndCombo, WM_CHAR, Asc( "2" ),
1L ) // Returns .T.


?lLox := pRect.left + 30 // returns 30
?lHiy := pRect.Top + 10 // returns 10
SetCursorPos( lLox, lHiy )
Sleep( 5000 ) // wait


mouse_event( MOUSEEVENTF_LEFTDOWN, lLox, lHiy,0, 0 )
mouse_event( MOUSEEVENTF_LEFTUP, lLox, lHiy,0, 0 )


END


ELSEIF nLoops >= nMaxLoops
errorbox{ , "MS Outlook failed to start" }:SHow()
END

IF nLoops < nMaxLoops
IF Check4End( hWndYesButton )
// All is ok
ELSE
ExitVOThread(0)
END
ELSE
ExitVOThread(0)
END

On Tue, 07 Feb 2006 08:07:07 +1100, Gary Stark <bogus...@yahoo.com>
wrote:

0 new messages