Trusted DDE Shares (128125)
The information in this article applies to:
- Microsoft Win32 Application Programming Interface (API), when used with:
- the operating system: Microsoft Windows NT 3.5
This article was previously published under Q128125 SUMMARY
To allow someone else to connect to DDE shares when you are logged in, you
have to trust your existing DDE share. The reason is that when the other
person connects to the share remotely, the application he will connect to
is running in your security context, not the remote user's, because you are
the logged-on user. You need to give permission for the other person to
access the share. Even another person who is an administrator cannot trust
a share for your account.
In your code, you would use NDdeShareAdd() to create the share and
NDdeSetTrustedShare() to trust the share.
Alternatively, you can use DDESHARE to create the share. For more
information on DDESHARE, please see the following article in the Microsoft
Knowledge Base:
114089
Using the Windows NT NetDDE Share Manager
If you have a DDE share that always needs to be available, you can write
a program that trusts the specific shares and sets up a logon script
to trust the share for every user. The logon script should be a .BAT
file that calls the .EXE file, so that you can add other things to the
logon script as necessary.
Modification Type: | Minor | Last Reviewed: | 5/1/2004 |
---|
Keywords: | KB128125 |
---|
|