Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Thu, 17 Apr 2008 16:19:25 +0100,    group: microsoft.public.platformsdk.mapi        back       


Locationg MAPISVC.INF   
Hi Guys

I know that there is a library call to determine the location of 
MAPISVC.INF. With OL2003 it returns %ommonProgramFiles%\MSMAPI\1033. (where 
the environment variable is expanded)

With OL2007 it returns something like %windir%\System32 (with the 
environement variable expanded).

MAPI Store providers generally need to be kept in the same folder as the 
MAPISVC.INF file. Unfortunately, on OL2007 sticking the store provider in 
%windir%\system32 will not allow the store provider to load. It still needs 
to be kept in %ommonProgramFiles%\MSMAPI\1033.

Also with non US-English codepages the location would be MSMAPI\1053 or 
something.

Is there any way to correctly identify where to place a MAPI store provider?

Cheers
Win
date: Thu, 17 Apr 2008 16:19:25 +0100   author:   Windoze

Re: Locationg MAPISVC.INF   
Your MAPI provider can be in any folder as long as you use an old MSDOS file 
name (8.3) in the mapisvc.inf file,or, at teh very leats, have no spaces in 
the file path.

-- 
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool
-
"Windoze"  wrote in message 
news:uGbLt5JoIHA.4832@TK2MSFTNGP02.phx.gbl...
> Hi Guys
>
> I know that there is a library call to determine the location of 
> MAPISVC.INF. With OL2003 it returns %ommonProgramFiles%\MSMAPI\1033. 
> (where the environment variable is expanded)
>
> With OL2007 it returns something like %windir%\System32 (with the 
> environement variable expanded).
>
> MAPI Store providers generally need to be kept in the same folder as the 
> MAPISVC.INF file. Unfortunately, on OL2007 sticking the store provider in 
> %windir%\system32 will not allow the store provider to load. It still 
> needs to be kept in %ommonProgramFiles%\MSMAPI\1033.
>
> Also with non US-English codepages the location would be MSMAPI\1053 or 
> something.
>
> Is there any way to correctly identify where to place a MAPI store 
> provider?
>
> Cheers
> Win
>
date: Sat, 19 Apr 2008 00:07:39 -0700   author:   Dmitry Streblechenko

Re: Locationg MAPISVC.INF   
But where does the MAPISVC.INF file go? With Outlook 2007 this file exists 
only in the system32 directory (the default system file and not the Outlook 
file). I had to install my connector on a Swedish/Norwegian machine and the 
Outlook file was in %CommonProgramFiles%\System\MSMAPI\1053\MapiSVC.INF.

I didn't realise I could put the path to the MAPI file in the MAPISVC.INF 
file. There used to be a utility which could add entries to the MAPISVC.INF 
file but this in unfortunately no longer available.

"Dmitry Streblechenko"  wrote in message 
news:eZAyQweoIHA.2208@TK2MSFTNGP04.phx.gbl...
> Your MAPI provider can be in any folder as long as you use an old MSDOS 
> file name (8.3) in the mapisvc.inf file,or, at teh very leats, have no 
> spaces in the file path.
>
> -- 
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy  - Outlook, CDO
> and MAPI Developer Tool
> -
> "Windoze"  wrote in message 
> news:uGbLt5JoIHA.4832@TK2MSFTNGP02.phx.gbl...
>> Hi Guys
>>
>> I know that there is a library call to determine the location of 
>> MAPISVC.INF. With OL2003 it returns %ommonProgramFiles%\MSMAPI\1033. 
>> (where the environment variable is expanded)
>>
>> With OL2007 it returns something like %windir%\System32 (with the 
>> environement variable expanded).
>>
>> MAPI Store providers generally need to be kept in the same folder as the 
>> MAPISVC.INF file. Unfortunately, on OL2007 sticking the store provider in 
>> %windir%\system32 will not allow the store provider to load. It still 
>> needs to be kept in %ommonProgramFiles%\MSMAPI\1033.
>>
>> Also with non US-English codepages the location would be MSMAPI\1053 or 
>> something.
>>
>> Is there any way to correctly identify where to place a MAPI store 
>> provider?
>>
>> Cheers
>> Win
>>
>
>
date: Sat, 19 Apr 2008 12:28:17 +0100   author:   Windoze

Re: Locationg MAPISVC.INF   
Outlook 2007 does not even create that file by default. But if it is there, 
Outlook will pick it tup.
KB229700 (http://support.microsoft.com/kb/229700) still applies in 
Outlook2007.
MAPISVC.INF is nothing but a regular INI file, so you can use the regular 
Windows API (WritePrivateProfileString etc) to manipulate it.

-- 
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool
-
"Windoze"  wrote in message 
news:eISK4BhoIHA.524@TK2MSFTNGP05.phx.gbl...
> But where does the MAPISVC.INF file go? With Outlook 2007 this file exists 
> only in the system32 directory (the default system file and not the 
> Outlook file). I had to install my connector on a Swedish/Norwegian 
> machine and the Outlook file was in 
> %CommonProgramFiles%\System\MSMAPI\1053\MapiSVC.INF.
>
> I didn't realise I could put the path to the MAPI file in the MAPISVC.INF 
> file. There used to be a utility which could add entries to the 
> MAPISVC.INF file but this in unfortunately no longer available.
>
> "Dmitry Streblechenko"  wrote in message 
> news:eZAyQweoIHA.2208@TK2MSFTNGP04.phx.gbl...
>> Your MAPI provider can be in any folder as long as you use an old MSDOS 
>> file name (8.3) in the mapisvc.inf file,or, at teh very leats, have no 
>> spaces in the file path.
>>
>> -- 
>> Dmitry Streblechenko (MVP)
>> http://www.dimastr.com/
>> OutlookSpy  - Outlook, CDO
>> and MAPI Developer Tool
>> -
>> "Windoze"  wrote in message 
>> news:uGbLt5JoIHA.4832@TK2MSFTNGP02.phx.gbl...
>>> Hi Guys
>>>
>>> I know that there is a library call to determine the location of 
>>> MAPISVC.INF. With OL2003 it returns %ommonProgramFiles%\MSMAPI\1033. 
>>> (where the environment variable is expanded)
>>>
>>> With OL2007 it returns something like %windir%\System32 (with the 
>>> environement variable expanded).
>>>
>>> MAPI Store providers generally need to be kept in the same folder as the 
>>> MAPISVC.INF file. Unfortunately, on OL2007 sticking the store provider 
>>> in %windir%\system32 will not allow the store provider to load. It still 
>>> needs to be kept in %ommonProgramFiles%\MSMAPI\1033.
>>>
>>> Also with non US-English codepages the location would be MSMAPI\1053 or 
>>> something.
>>>
>>> Is there any way to correctly identify where to place a MAPI store 
>>> provider?
>>>
>>> Cheers
>>> Win
>>>
>>
>>
>
>
date: Sun, 20 Apr 2008 00:25:13 -0700   author:   Dmitry Streblechenko

Re: Locationg MAPISVC.INF   
Hi Dmitry

The code in that example works perfectly for OL2003 in any language and 
OL2007 in any non-English codepage.

OL2007 on a UK English codepage indicates that MAPISVC.INF is located at 
c:\Windows\system32. However it completely and utterly ignores this file. 
Creating the folder %CommonProgramFiles%\System\MSMAPI\1033 and adding the 
INI file entries in there ( effectively creating the file there ) and 
placing my MAPI provider there allows it to work on English language OL2007 
installs. However that code snipped from KB229700 
(http://support.microsoft.com/kb/229700) continues to indicate that the 
folder location is c:\windows\system32 as the MAPISVC.INF location.

What's going on?

Cheers
Win

"Dmitry Streblechenko"  wrote in message 
news:%23LNZueroIHA.1164@TK2MSFTNGP04.phx.gbl...
> Outlook 2007 does not even create that file by default. But if it is 
> there, Outlook will pick it tup.
> KB229700 (http://support.microsoft.com/kb/229700) still applies in 
> Outlook2007.
> MAPISVC.INF is nothing but a regular INI file, so you can use the regular 
> Windows API (WritePrivateProfileString etc) to manipulate it.
>
> -- 
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy  - Outlook, CDO
> and MAPI Developer Tool
> -
> "Windoze"  wrote in message 
> news:eISK4BhoIHA.524@TK2MSFTNGP05.phx.gbl...
>> But where does the MAPISVC.INF file go? With Outlook 2007 this file 
>> exists only in the system32 directory (the default system file and not 
>> the Outlook file). I had to install my connector on a Swedish/Norwegian 
>> machine and the Outlook file was in 
>> %CommonProgramFiles%\System\MSMAPI\1053\MapiSVC.INF.
>>
>> I didn't realise I could put the path to the MAPI file in the MAPISVC.INF 
>> file. There used to be a utility which could add entries to the 
>> MAPISVC.INF file but this in unfortunately no longer available.
>>
>> "Dmitry Streblechenko"  wrote in message 
>> news:eZAyQweoIHA.2208@TK2MSFTNGP04.phx.gbl...
>>> Your MAPI provider can be in any folder as long as you use an old MSDOS 
>>> file name (8.3) in the mapisvc.inf file,or, at teh very leats, have no 
>>> spaces in the file path.
>>>
>>> -- 
>>> Dmitry Streblechenko (MVP)
>>> http://www.dimastr.com/
>>> OutlookSpy  - Outlook, CDO
>>> and MAPI Developer Tool
>>> -
>>> "Windoze"  wrote in message 
>>> news:uGbLt5JoIHA.4832@TK2MSFTNGP02.phx.gbl...
>>>> Hi Guys
>>>>
>>>> I know that there is a library call to determine the location of 
>>>> MAPISVC.INF. With OL2003 it returns %ommonProgramFiles%\MSMAPI\1033. 
>>>> (where the environment variable is expanded)
>>>>
>>>> With OL2007 it returns something like %windir%\System32 (with the 
>>>> environement variable expanded).
>>>>
>>>> MAPI Store providers generally need to be kept in the same folder as 
>>>> the MAPISVC.INF file. Unfortunately, on OL2007 sticking the store 
>>>> provider in %windir%\system32 will not allow the store provider to 
>>>> load. It still needs to be kept in %ommonProgramFiles%\MSMAPI\1033.
>>>>
>>>> Also with non US-English codepages the location would be MSMAPI\1053 or 
>>>> something.
>>>>
>>>> Is there any way to correctly identify where to place a MAPI store 
>>>> provider?
>>>>
>>>> Cheers
>>>> Win
>>>>
>>>
>>>
>>
>>
>
>
date: Mon, 21 Apr 2008 15:29:24 +0100   author:   Windoze

Re: Locationg MAPISVC.INF   
I haven't tested my provider under UK English Windows, biut it works fine 
for US English.
Do you see the same problem if you switch to any other English flavor?

-- 
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool
-
"Windoze"  wrote in message 
news:uM2law7oIHA.4760@TK2MSFTNGP06.phx.gbl...
> Hi Dmitry
>
> The code in that example works perfectly for OL2003 in any language and 
> OL2007 in any non-English codepage.
>
> OL2007 on a UK English codepage indicates that MAPISVC.INF is located at 
> c:\Windows\system32. However it completely and utterly ignores this file. 
> Creating the folder %CommonProgramFiles%\System\MSMAPI\1033 and adding the 
> INI file entries in there ( effectively creating the file there ) and 
> placing my MAPI provider there allows it to work on English language 
> OL2007 installs. However that code snipped from KB229700 
> (http://support.microsoft.com/kb/229700) continues to indicate that the 
> folder location is c:\windows\system32 as the MAPISVC.INF location.
>
> What's going on?
>
> Cheers
> Win
>
> "Dmitry Streblechenko"  wrote in message 
> news:%23LNZueroIHA.1164@TK2MSFTNGP04.phx.gbl...
>> Outlook 2007 does not even create that file by default. But if it is 
>> there, Outlook will pick it tup.
>> KB229700 (http://support.microsoft.com/kb/229700) still applies in 
>> Outlook2007.
>> MAPISVC.INF is nothing but a regular INI file, so you can use the regular 
>> Windows API (WritePrivateProfileString etc) to manipulate it.
>>
>> -- 
>> Dmitry Streblechenko (MVP)
>> http://www.dimastr.com/
>> OutlookSpy  - Outlook, CDO
>> and MAPI Developer Tool
>> -
>> "Windoze"  wrote in message 
>> news:eISK4BhoIHA.524@TK2MSFTNGP05.phx.gbl...
>>> But where does the MAPISVC.INF file go? With Outlook 2007 this file 
>>> exists only in the system32 directory (the default system file and not 
>>> the Outlook file). I had to install my connector on a Swedish/Norwegian 
>>> machine and the Outlook file was in 
>>> %CommonProgramFiles%\System\MSMAPI\1053\MapiSVC.INF.
>>>
>>> I didn't realise I could put the path to the MAPI file in the 
>>> MAPISVC.INF file. There used to be a utility which could add entries to 
>>> the MAPISVC.INF file but this in unfortunately no longer available.
>>>
>>> "Dmitry Streblechenko"  wrote in message 
>>> news:eZAyQweoIHA.2208@TK2MSFTNGP04.phx.gbl...
>>>> Your MAPI provider can be in any folder as long as you use an old MSDOS 
>>>> file name (8.3) in the mapisvc.inf file,or, at teh very leats, have no 
>>>> spaces in the file path.
>>>>
>>>> -- 
>>>> Dmitry Streblechenko (MVP)
>>>> http://www.dimastr.com/
>>>> OutlookSpy  - Outlook, CDO
>>>> and MAPI Developer Tool
>>>> -
>>>> "Windoze"  wrote in message 
>>>> news:uGbLt5JoIHA.4832@TK2MSFTNGP02.phx.gbl...
>>>>> Hi Guys
>>>>>
>>>>> I know that there is a library call to determine the location of 
>>>>> MAPISVC.INF. With OL2003 it returns %ommonProgramFiles%\MSMAPI\1033. 
>>>>> (where the environment variable is expanded)
>>>>>
>>>>> With OL2007 it returns something like %windir%\System32 (with the 
>>>>> environement variable expanded).
>>>>>
>>>>> MAPI Store providers generally need to be kept in the same folder as 
>>>>> the MAPISVC.INF file. Unfortunately, on OL2007 sticking the store 
>>>>> provider in %windir%\system32 will not allow the store provider to 
>>>>> load. It still needs to be kept in %ommonProgramFiles%\MSMAPI\1033.
>>>>>
>>>>> Also with non US-English codepages the location would be MSMAPI\1053 
>>>>> or something.
>>>>>
>>>>> Is there any way to correctly identify where to place a MAPI store 
>>>>> provider?
>>>>>
>>>>> Cheers
>>>>> Win
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
date: Mon, 21 Apr 2008 10:28:08 -0700   author:   Dmitry Streblechenko

Re: Locationg MAPISVC.INF   
Hi

My bad. Apologies. The reason the UK English version was hosed was because I 
had the MAPI Provider stuck all over the place in the Oulook install's 
folder structure. Getting rid of the extraneous entries allowed the 
connector to function normally.

It looks like with OL 2007 the location of MAPISVC.INF is always in 
system32. However modifying this file in this location causes the file to be 
mirrored to %CommonProgramFiles%\System\MSMAPI\Codepage.

The reason this folder is given is because MAPIStub doesn't actually return 
a path for the MAPISVC.INF in which case the code snippet from 
http://support.microsoft.com/kb/229700 to forcibly return System32 as the 
location.

Cheers
Win

"Dmitry Streblechenko"  wrote in message

news:uC8FSU9oIHA.3960@TK2MSFTNGP02.phx.gbl...
>I haven't tested my provider under UK English Windows, biut it works fine 
>for US English.
> Do you see the same problem if you switch to any other English flavor?
>
> -- 
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy  - Outlook, CDO
> and MAPI Developer Tool
> -
> "Windoze"  wrote in message 
> news:uM2law7oIHA.4760@TK2MSFTNGP06.phx.gbl...
>> Hi Dmitry
>>
>> The code in that example works perfectly for OL2003 in any language and 
>> OL2007 in any non-English codepage.
>>
>> OL2007 on a UK English codepage indicates that MAPISVC.INF is located at 
>> c:\Windows\system32. However it completely and utterly ignores this file. 
>> Creating the folder %CommonProgramFiles%\System\MSMAPI\1033 and adding 
>> the INI file entries in there ( effectively creating the file there ) and 
>> placing my MAPI provider there allows it to work on English language 
>> OL2007 installs. However that code snipped from KB229700 
>> (http://support.microsoft.com/kb/229700) continues to indicate that the 
>> folder location is c:\windows\system32 as the MAPISVC.INF location.
>>
>> What's going on?
>>
>> Cheers
>> Win
>>
>> "Dmitry Streblechenko"  wrote in message 
>> news:%23LNZueroIHA.1164@TK2MSFTNGP04.phx.gbl...
>>> Outlook 2007 does not even create that file by default. But if it is 
>>> there, Outlook will pick it tup.
>>> KB229700 (http://support.microsoft.com/kb/229700) still applies in 
>>> Outlook2007.
>>> MAPISVC.INF is nothing but a regular INI file, so you can use the 
>>> regular Windows API (WritePrivateProfileString etc) to manipulate it.
>>>
>>> -- 
>>> Dmitry Streblechenko (MVP)
>>> http://www.dimastr.com/
>>> OutlookSpy  - Outlook, CDO
>>> and MAPI Developer Tool
>>> -
>>> "Windoze"  wrote in message 
>>> news:eISK4BhoIHA.524@TK2MSFTNGP05.phx.gbl...
>>>> But where does the MAPISVC.INF file go? With Outlook 2007 this file 
>>>> exists only in the system32 directory (the default system file and not 
>>>> the Outlook file). I had to install my connector on a Swedish/Norwegian 
>>>> machine and the Outlook file was in 
>>>> %CommonProgramFiles%\System\MSMAPI\1053\MapiSVC.INF.
>>>>
>>>> I didn't realise I could put the path to the MAPI file in the 
>>>> MAPISVC.INF file. There used to be a utility which could add entries to 
>>>> the MAPISVC.INF file but this in unfortunately no longer available.
>>>>
>>>> "Dmitry Streblechenko"  wrote in message 
>>>> news:eZAyQweoIHA.2208@TK2MSFTNGP04.phx.gbl...
>>>>> Your MAPI provider can be in any folder as long as you use an old 
>>>>> MSDOS file name (8.3) in the mapisvc.inf file,or, at teh very leats, 
>>>>> have no spaces in the file path.
>>>>>
>>>>> -- 
>>>>> Dmitry Streblechenko (MVP)
>>>>> http://www.dimastr.com/
>>>>> OutlookSpy  - Outlook, CDO
>>>>> and MAPI Developer Tool
>>>>> -
>>>>> "Windoze"  wrote in message 
>>>>> news:uGbLt5JoIHA.4832@TK2MSFTNGP02.phx.gbl...
>>>>>> Hi Guys
>>>>>>
>>>>>> I know that there is a library call to determine the location of 
>>>>>> MAPISVC.INF. With OL2003 it returns %ommonProgramFiles%\MSMAPI\1033. 
>>>>>> (where the environment variable is expanded)
>>>>>>
>>>>>> With OL2007 it returns something like %windir%\System32 (with the 
>>>>>> environement variable expanded).
>>>>>>
>>>>>> MAPI Store providers generally need to be kept in the same folder as 
>>>>>> the MAPISVC.INF file. Unfortunately, on OL2007 sticking the store 
>>>>>> provider in %windir%\system32 will not allow the store provider to 
>>>>>> load. It still needs to be kept in %ommonProgramFiles%\MSMAPI\1033.
>>>>>>
>>>>>> Also with non US-English codepages the location would be MSMAPI\1053 
>>>>>> or something.
>>>>>>
>>>>>> Is there any way to correctly identify where to place a MAPI store 
>>>>>> provider?
>>>>>>
>>>>>> Cheers
>>>>>> Win
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
date: Mon, 21 Apr 2008 22:21:46 +0100   author:   Windoze

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us