Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #3359 > unrolled thread
| Started by | "richard.townsendrose" <richard.townsendrose@gmail.com> |
|---|---|
| First post | 2012-04-22 02:50 -0700 |
| Last post | 2012-04-28 03:04 -0700 |
| Articles | 7 — 5 participants |
Back to article view | Back to comp.lang.clipper.visual-objects
Windows 7 "richard.townsendrose" <richard.townsendrose@gmail.com> - 2012-04-22 02:50 -0700
Re: Windows 7 malcolm gray <malcolm.gray@ntlworld.com> - 2012-04-22 14:12 +0100
Re: Windows 7 "news.aioe.org" <glen_nospam_!@pronamics,com.au> - 2012-04-23 07:15 +1000
Re: Windows 7 "richard.townsendrose" <richard.townsendrose@gmail.com> - 2012-04-25 03:19 -0700
Re: Windows 7 Karl Faller <k.faller_withoutthat_@onlinehome.de> - 2012-04-25 13:10 +0200
Re: Windows 7 "richard.townsendrose" <richard.townsendrose@gmail.com> - 2012-04-25 05:54 -0700
Re: Windows 7 Fabrice Foray <fabrice.foray@gmail.com> - 2012-04-28 03:04 -0700
| From | "richard.townsendrose" <richard.townsendrose@gmail.com> |
|---|---|
| Date | 2012-04-22 02:50 -0700 |
| Subject | Windows 7 |
| Message-ID | <2c6d6680-80d7-4f73-be5c-5ddb174f05cd@b2g2000yqb.googlegroups.com> |
Hi all
Windows 7 ... its ok when you get it working right ... I use it 100%
BIG problem with NEW customers ...
a) sending an email using Marti's MAPISendMail just hangs the whole pc
let alone Outlook and the VO App.
solution is Task Manager where both the VO App and Outlook have to be
closed.
any ideas ... works 100% in XP
is this because its a 32 bit app trying it on with a 64 bit one ? is
Outlook 64 bit ?
However ole'ing to outlook works well ... thanks again to marti many
years ago.
oOutlook:=OleAutoObject{"Outlook.Application"}
b) launching an application like Outlook from a VO App to view a
document etc
just hundreds of daft questions about security ...
whats the best W7 security level setting ?
any other hints ?
richard
[toc] | [next] | [standalone]
| From | malcolm gray <malcolm.gray@ntlworld.com> |
|---|---|
| Date | 2012-04-22 14:12 +0100 |
| Message-ID | <BsTkr.286350$V11.228971@fx27.am4> |
| In reply to | #3359 |
On 22/04/2012 10:50, richard.townsendrose wrote: > is this because its a 32 bit app trying it on with a 64 bit one ? is > Outlook 64 bit ? You can install either on 64 bit windows 7, MS suggest 32bit because more add-ons work. On 32 bit windows 7 only 32 bit > b) launching an application like Outlook from a VO App to view a > document etc > just hundreds of daft questions about security ... > whats the best W7 security level setting ? > any other hints ? which questions are you getting and how are you doing the launching?
[toc] | [prev] | [next] | [standalone]
| From | "news.aioe.org" <glen_nospam_!@pronamics,com.au> |
|---|---|
| Date | 2012-04-23 07:15 +1000 |
| Message-ID | <jn1sdo$mhu$1@speranza.aioe.org> |
| In reply to | #3359 |
Richard,
I suspect it 64 bit Outlook. I made the following changes to the
SendMailMapi method
// Start Mapi
IF lRetVal
// is it 64 bit
-- new stuff start
lIs64bit := FALSE
IF PCE_Is64BitOS()
oReg := FabRegistry{ 'Software\Microsoft\Office\14.0',
HKEY_LOCAL_MACHINE }
IF oReg:EntryExist( 'Outlook', 'Bitness' )
IF oReg:GetString( 'Outlook', 'Bitness', 'x86' ) == 'x64'
lIs64bit := TRUE
ENDIF
ENDIF
ENDIF
IF !lIs64bit
nResult := MAPILogon( 0, NULL_PTR, NULL_PTR, MAPI_LOGON_UI,
0,@nSession )
ELSE
nResult := SUCCESS
ENDIF
-- new
stuff finish
IF nResult <> SUCCESS
lRetVal := FALSE
ENDIF
and you will need (or similar)
FUNCTION PCE_Is64BitOS() AS LOGIC
LOCAL hModule AS PTR
LOCAL hFunc AS PTR
LOCAL lIsWow64 AS LOGIC
hModule := GetModuleHandle( PSZ( "kernel32" ) )
hFunc := GetProcAddress( hModule, PSZ( "IsWow64Process" ) )
IF ! hFunc == NULL_PTR
PCALL( hFunc, GetCurrentProcess(), @lIsWow64 )
ENDIF
RETURN lIsWow64
Essentially, none of the MAPI stuff works if you have a 32 bit - 64 bit
combination except MAPISendMail, you just don't login. Works for me.
HTH
Glen Townsley
"richard.townsendrose" wrote in message
news:2c6d6680-80d7-4f73-be5c-5ddb174f05cd@b2g2000yqb.googlegroups.com...
Hi all
Windows 7 ... its ok when you get it working right ... I use it 100%
BIG problem with NEW customers ...
a) sending an email using Marti's MAPISendMail just hangs the whole pc
let alone Outlook and the VO App.
solution is Task Manager where both the VO App and Outlook have to be
closed.
any ideas ... works 100% in XP
is this because its a 32 bit app trying it on with a 64 bit one ? is
Outlook 64 bit ?
However ole'ing to outlook works well ... thanks again to marti many
years ago.
oOutlook:=OleAutoObject{"Outlook.Application"}
b) launching an application like Outlook from a VO App to view a
document etc
just hundreds of daft questions about security ...
whats the best W7 security level setting ?
any other hints ?
richard
[toc] | [prev] | [next] | [standalone]
| From | "richard.townsendrose" <richard.townsendrose@gmail.com> |
|---|---|
| Date | 2012-04-25 03:19 -0700 |
| Message-ID | <6889b774-4d7a-4362-99c0-58c46f56bf8c@h5g2000vbx.googlegroups.com> |
| In reply to | #3362 |
Glen
Thanks for that.
I think the obvious thing to do is to ban the MAPI setting if the OS
is 64 bit.
We are quietly persudaing people that using SMTP directly is the right
way to go ... after all our product keeps a record of communications
incluing whether by email or not which have been sent
and of course i note your reliance on FabRegistry{} - what a lot of
useful stuff that man generated - like geoff. personally i miss both
of them. however they have left, tho geoff i think still uses VO ???
thanks
richard
[toc] | [prev] | [next] | [standalone]
| From | Karl Faller <k.faller_withoutthat_@onlinehome.de> |
|---|---|
| Date | 2012-04-25 13:10 +0200 |
| Message-ID | <kqmfp7trn4hc8d3qa32bhmn3qr3fj2socd@4ax.com> |
| In reply to | #3367 |
Richard, >personally i miss both >of them. however they have left FWIW, Fab writes the VS enhancements for Vulcan, that i wouldn't call "left" ;-) Karl
[toc] | [prev] | [next] | [standalone]
| From | "richard.townsendrose" <richard.townsendrose@gmail.com> |
|---|---|
| Date | 2012-04-25 05:54 -0700 |
| Message-ID | <cb5c9558-56de-479b-bb35-c2cd3d3402ac@n5g2000vbf.googlegroups.com> |
| In reply to | #3368 |
Karl well i meant left VO ... i have not yet decided to move to vulcan ... as like dick i prefer VO repository. richard
[toc] | [prev] | [next] | [standalone]
| From | Fabrice Foray <fabrice.foray@gmail.com> |
|---|---|
| Date | 2012-04-28 03:04 -0700 |
| Message-ID | <4620092.663.1335607495667.JavaMail.geo-discussion-forums@vbai3> |
| In reply to | #3367 |
Hi Richard !!
First, thanks you so much for your good words !
...I will have to go back to the Old Smiddy and pay you a beer :) ( real ale ?)
Anyway, in the .Net world I have less to develop :
If you want a "free" image library...Use FreeImage.Net
If you want to zip a file..use DotnetZip
If you want to scan a document.... well, I have a session on using wia with Vulcan at the VODC-Stuttgart !
and so on....
I fell more helpfull (but may be I'm wrong), by working on VisualStudio enhancements for Vulcan.net than in maintaining VO-2-VN "old" librairies...
Hope to meet u again,
All the best,
Fab
Le mercredi 25 avril 2012 12:19:26 UTC+2, richard.townsendrose a écrit :
> Glen
>
> Thanks for that.
>
> I think the obvious thing to do is to ban the MAPI setting if the OS
> is 64 bit.
>
> We are quietly persudaing people that using SMTP directly is the right
> way to go ... after all our product keeps a record of communications
> incluing whether by email or not which have been sent
>
> and of course i note your reliance on FabRegistry{} - what a lot of
> useful stuff that man generated - like geoff. personally i miss both
> of them. however they have left, tho geoff i think still uses VO ???
>
> thanks
>
> richard
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.clipper.visual-objects
csiph-web