Index   Commented   Search   About

Registering a Proxy/Stub DLL

Before a client can use your custom interface, the proxy/stub DLL for the interface must be installed in the system registry. Registering the proxy/stub DLL involves creating a .REG file and running REGINI. In the following entries, notice that the IID for ICustomInterface is the same as the CLSID for the proxy/stub DLL.

\Registry\MACHINE\SOFTWARE\Classes\Interface\

{7ACC12C3-C4BB-101A-BB6E-0000C09A6549}

= ICustomInterface

\Registry\MACHINE\SOFTWARE\Classes\Interface\

{7ACC12C3-C4BB-101A-BB6E-0000C09A6549}\ProxyStubClsid32

= {7ACC12C3-C4BB-101A-BB6E-0000C09A6549}

\Registry\MACHINE\SOFTWARE\Classes\CLSID\

{7ACC12C3-C4BB-101A-BB6E-0000C09A6549}

= ICustomInterface_PSFactory

\Registry\MACHINE\SOFTWARE\Classes\CLSID\

{7ACC12C3-C4BB-101A-BB6E-0000C09A6549}\InprocServer32

= proxstub.dll

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder

More Online Helps

Win32 Programmer's Reference (win32.hlp)
Win32 Multimedia Programmer's Reference (mmedia.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (sock2.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun