INF: Proxy-Stubs for Custom Interfaces Must Include Mtxih.libLast reviewed: October 10, 1997Article ID: Q170831 |
The information in this article applies to:
SUMMARYMicrosoft Transaction Server components must be accompanied by proxy- stub DLLs, which enable out-of-process calls. For OLE automation interfaces, Microsoft Transaction Server is able to use the Oleaut32.dll proxy-stub provided with the operating system. However, if you compile your own proxy-stub to be used instead of Oleaut32.dll, Microsoft Transaction Server requires that it link in functions from Mtxih.lib. Calls to your Microsoft Transaction Server object through a custom interface will fail unless you perform the following steps:
MORE INFORMATIONMicrosoft Transaction Server allows you to create an instance of the custom interface component. However, the following problems may occur if you have not correctly linked Mtxih.lib with your custom interface's proxy-stub or if the proxy-stub is not correctly registered:
atl9ps.dll: dlldata.obj atl9_p.obj atl9_i.obj link /dll /out:atl9ps.dll /def:atl9ps.def /entry:DllMain dlldata.obj atl9_p.obj atl9_i.obj mtxih.lib kernel32.lib rpcndr.lib rpcns4.lib rpcrt4.lib oleaut32.lib uuid.lib ole32.lib advapi32.lib .c.obj: cl /c /Ox /MD /DWIN32 /D_WIN32_WINNT=0x0400 /DREGISTER_PROXY_DLL $< clean: @del atl9ps.dll @del atl9ps.lib @del atl9ps.exp @del dlldata.obj @del atl9_p.obj @del atl9_i.obj REFERENCESFor more information, see the Web sites at: |
Additional query words: mts
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |