Microsoft KB Archive/200669

= HOW TO: Install the Sample Gateway in Exchange Development Kit =

Article ID: 200669

Article Last Modified on 3/4/2004

-

APPLIES TO


 * Microsoft Exchange Development Kit 5.5
 * Microsoft Exchange Development Kit 5.5
 * Microsoft Exchange Server 2003 Software Development Kit

-



This article was previously published under Q200669





IN THIS TASK
SUMMARY
 * Requirements
 * Steps to Install the Sample Gateway



SUMMARY
This step-by-step article explains how to install the sample gateway once it has been built. The Exchange Development Kit (EDK) contains the files necessary to build the sample gateway.

back to the top

Requirements
This article assumes the following:  The Exchange server is installed to the directory C:\Exchsrvr. You have built these programs found in the Platform SDK in subdirectories under \Samples\Dbmsg\Exchange:  Proxygen.dll Sgwadmin.dll Gwsample.exe Xlatinst.exe</li> Addrinst.exe</li> Extninst.exe</li> Gwinst.exe</li> Servinst.exe</li> Ipm_in.dll</li> Ipm_out.dll</li></ol> </li> The Exchange server name is Server, the Exchange organization name is Organization, the Exchange site name is Site, the Windows NT domain name is Domain, the Exchange service account name is Exchange-Service-Account, and the password for the Exchange service account is Password.</li> You are logged into Windows NT as the Exchange-Service-Account.</li></ul>

back to the top

Steps to Install the Sample Gateway
<ol> Make a directory named C:\Exchsrvr\Address\EDK\i386 and copy Proxygen.dll to that directory.</li> Make a directory named C:\Exchsrvr\Add-ins\Sgw\i386 and copy Sgwadmin.dll to that directory.</li> Make a directory named C:\Sgw\In.</li> Make a directory named C:\Sgw\Out.</li> Copy Gwsample.exe to C:\Sgw.</li> Copy Ipm_in.dll and Ipm_out.dll to your \Winnt\System32 directory.</li> Copy Msvcrtd.dll and Mfc42d.dll to your \Winnt\System32 directory. These files can be copied from your development computer to the Windows NT server that is going to run the gateway.</li> Issue the following commands:

Xlatinst.exe /dll=IPM_IN.DLL /CLASSES=ENVELOPE.IPM%REPORT.IPM /POINT=SAMPLEGW.INBOUND *NOTE: if you use this command in a batch file insert an additional % when defining the CLASSES; that is, /CLASSES=ENVELOPE.IPM%%REPORT.IPM Xlatinst.exe /dll=IPM_OUT.DLL /CLASSES=ENVELOPE.IPM%REPORT.IPM /POINT=SAMPLEGW.OUTBOUND *NOTE: if you use this command in a batch file insert an additional % when defining the CLASSES; that is, /CLASSES=ENVELOPE.IPM%%REPORT.IPM Addrinst.exe /sitedn=/o=Organization/ou=Site /name=edk /machine=i386 /type=edk /proxydll=\\Server\address\edk\i386\proxygen.dll /server=Server /gwproxy=EDK:@Site.Organization.com Extninst.exe /sitedn=/o=Organization/ou=Site /display_name="SGW EDK SAMPLE GATEWAY EXTENSION" /machine=i386 /name=SGW /extdll=\\Server\ADD-INS\SGW\i386\sgwadmin.dll /server=Server Gwinst.exe /sitedn=/o=Organization/ou=Site /display_name=SGW /name=SGW:i386 /addrtype=edk /server=Server /extname=sgw Servinst.exe /sitedn=/o=Organization/ou=Site /display_name=SGW /service=SGW /exe=c:\SGW\Gwsample.exe /server=Server /objname=SGW:i386 /objtype=gateway /account=Domain\Exchange-Service-Account /password=Password</li> <li> Run the Exchange Administrator program and configure properties of the sgw connector found on the Options tab. The Option tab for this article should have the following information filled in:

<pre class="fixed_text">Address Type: EDK Display Name: System Administrator Email Address: SysAdmin Messages to Process : select both Inbound and Outbound INBOUND          OUTBOUND Threads                       4                4 Messages per Thread:          1                1 Sleep per message:            0                0 Polling Interval:       NOTIFICATION       NOTIFICATION Directory:               c:\sgw\in          c:\sgw\out Converter:            samplegw.inbound   samplegw.outbound Start the SGW service in the Services Control Panel. </li></ol>

back to the top

Additional query words: kbDSupport kbXchge kbMsg kbEDK kbEDK400 kbEDK500 kbEDK550

Keywords: kbhowto kbhowtomaster kbmsg kbfaq KB200669

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.