Click here to Skip to main content
15,903,012 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: std::string and std::wstring Pin
Le centriste3-Jul-02 16:37
Le centriste3-Jul-02 16:37 
GeneralRe: std::string and std::wstring Pin
Michael Dunn3-Jul-02 17:34
sitebuilderMichael Dunn3-Jul-02 17:34 
GeneralRe: std::string and std::wstring Pin
Le centriste3-Jul-02 17:46
Le centriste3-Jul-02 17:46 
GeneralXP Vertical-style Tabs Pin
Larry Antram3-Jul-02 13:35
Larry Antram3-Jul-02 13:35 
GeneralRe: XP Vertical-style Tabs Pin
Larry Antram3-Jul-02 14:05
Larry Antram3-Jul-02 14:05 
GeneralRe: XP Vertical-style Tabs Pin
Jeremy Falcon3-Jul-02 19:28
professionalJeremy Falcon3-Jul-02 19:28 
GeneralRe: XP Vertical-style Tabs Pin
Larry Antram3-Jul-02 22:01
Larry Antram3-Jul-02 22:01 
GeneralCOM Security problem Please Help Pin
Bill Wilson3-Jul-02 13:23
Bill Wilson3-Jul-02 13:23 
I have a security issue with a COM server I wrote. First let me describe the architecture:

This is a client/Server situation.

On the Client computer:

1. Run application (APP1).
2. APP1 passes request to dispatcher service on Server computer.

On the Server
Dispatcher Service (APP2) launches an intermediate application (APP3).
Intermediate calls .dll function.
.dll function performs CoCreateInstance on COMX.
COMX is implemented in APP3 as a local server.

COMX is registered with default configuration (DCOMCNFG)
The APP2 service is configured to logon as the system user.

When I test this on a Win2K system, all is well.

When I run on winNT4, I get access error when the .dll attempts CoCreateInstance.
I can work around the error by configuring the APP2 service to logon as a user account.
Unfortunately that will not work in our production environments.



I've messed around with DCOMCNFG to reconfigure the COMX server, but nothing seems to help, except changing the logon for the service.

I'm really stuck. Any ideas or suggestions will be appreciated.



Thanks for the help,
Bill
Generalhide MFC modal dialog on startup Pin
Kuniva3-Jul-02 13:05
Kuniva3-Jul-02 13:05 
GeneralRe: hide MFC modal dialog on startup Pin
Bill Wilson3-Jul-02 13:28
Bill Wilson3-Jul-02 13:28 
GeneralRe: hide MFC modal dialog on startup Pin
Nish Nishant3-Jul-02 14:45
sitebuilderNish Nishant3-Jul-02 14:45 
GeneralRe: hide MFC modal dialog on startup Pin
Mazdak3-Jul-02 19:53
Mazdak3-Jul-02 19:53 
General"enter" key dismisses modal dialog! Pin
ns3-Jul-02 11:18
ns3-Jul-02 11:18 
GeneralRe: "enter" key dismisses modal dialog! Pin
Chris Losinger3-Jul-02 11:32
professionalChris Losinger3-Jul-02 11:32 
GeneralRe: "enter" key dismisses modal dialog! Pin
ns3-Jul-02 11:40
ns3-Jul-02 11:40 
GeneralRe: "enter" key dismisses modal dialog! Pin
Chris Losinger3-Jul-02 11:43
professionalChris Losinger3-Jul-02 11:43 
GeneralRe: "enter" key dismisses modal dialog! Pin
ns3-Jul-02 11:49
ns3-Jul-02 11:49 
GeneralRe: "enter" key dismisses modal dialog! Pin
Chris Losinger3-Jul-02 11:57
professionalChris Losinger3-Jul-02 11:57 
GeneralA million thanks! Pin
ns3-Jul-02 12:00
ns3-Jul-02 12:00 
GeneralRe: "enter" key dismisses modal dialog! Pin
Christopher Lord3-Jul-02 15:17
Christopher Lord3-Jul-02 15:17 
GeneralRe: "enter" key dismisses modal dialog! Pin
Larry Antram3-Jul-02 16:25
Larry Antram3-Jul-02 16:25 
Generalgetting "System Name" and "User name" in windows xp.. Pin
Speedy3-Jul-02 10:38
Speedy3-Jul-02 10:38 
GeneralRe: getting "System Name" and "User name" in windows xp.. Pin
Jason Henderson3-Jul-02 18:05
Jason Henderson3-Jul-02 18:05 
GeneralVisual Studio .NET Installation Pin
Ryan B.3-Jul-02 9:01
Ryan B.3-Jul-02 9:01 
GeneralRe: Visual Studio .NET Installation Pin
Mazdak3-Jul-02 9:06
Mazdak3-Jul-02 9:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.