Click here to Skip to main content
16,008,183 members
Home / Discussions / COM
   

COM

 
GeneralRe: How to specify an ATL server location at runtime Pin
HawkSoftware26-Mar-02 18:28
HawkSoftware26-Mar-02 18:28 
Generalefficiency question with in proc COM methods Pin
moredip22-Mar-02 12:16
moredip22-Mar-02 12:16 
GeneralRe: efficiency question with in proc COM methods Pin
Tim Smith22-Mar-02 13:18
Tim Smith22-Mar-02 13:18 
GeneralRe: efficiency question with in proc COM methods Pin
22-Mar-02 13:52
suss22-Mar-02 13:52 
Generaldialog boxes Pin
shingai22-Mar-02 9:41
shingai22-Mar-02 9:41 
GeneralRe: dialog boxes Pin
Mazdak22-Mar-02 9:50
Mazdak22-Mar-02 9:50 
GeneralRe: dialog boxes Pin
Mazdak22-Mar-02 18:34
Mazdak22-Mar-02 18:34 
GeneralMore than one user!! Pin
hph22-Mar-02 4:09
hph22-Mar-02 4:09 
My equipment:

Workstation:
Win2k Prof. OS
Visual C++ 6.0
Platform SDK November 2001

Server:
Win2k Server OS
Name: iras
Domain: htlpinkafeld.at
TestUser: testuser@htlpinkafeld.at
Password: none

My Problem:
Let's imagine a user at the workstation wants to set up a connection with the server. The user double clicks the server icon and he will be asked for an username and password. He enters testuser@htlpinkafeld.at and no password. He will get connected and everything is fine. Ok.

I do this whole stuff in my program with the following function:

WNetAddConnection2(...); Well it works!

The disadvantage is that only one user can be connected to the server at the
same time. I found out that every process which trys to work with the server after the connection is established has to use this connection and not a other connection else because there can only one connection at a time. But i have heard that this could be handled with COM Interfaces. I am not a beginner with programming COM Interfaces but i can't find out how this can be done!!

What i want is to get access to the server with more than user at the same time!!!! It is possible but how ?????

Please help me!Confused | :confused:
QuestionUsing OLECMDID_SAVEAS without prompting? Pin
21-Mar-02 23:58
suss21-Mar-02 23:58 
GeneralTrouble with COM Strings Pin
MightyM21-Mar-02 9:04
MightyM21-Mar-02 9:04 
GeneralRe: Trouble with COM Strings Pin
Tim Smith21-Mar-02 9:15
Tim Smith21-Mar-02 9:15 
GeneralRe: Trouble with COM Strings Pin
MightyM21-Mar-02 9:29
MightyM21-Mar-02 9:29 
GeneralRe: Trouble with COM Strings Pin
Tim Smith21-Mar-02 9:42
Tim Smith21-Mar-02 9:42 
GeneralRe: Trouble with COM Strings Pin
Mazdak21-Mar-02 9:29
Mazdak21-Mar-02 9:29 
GeneralHelp!! connecting to hosted web browser events Pin
Amit Dey20-Mar-02 6:59
Amit Dey20-Mar-02 6:59 
GeneralRe: Help!! connecting to hosted web browser events Pin
pba_20-Mar-02 10:06
pba_20-Mar-02 10:06 
GeneralRe: Help!! connecting to hosted web browser events Pin
Amit Dey27-Apr-02 16:41
Amit Dey27-Apr-02 16:41 
GeneralCOM Port Active X Pin
dlhson20-Mar-02 6:36
dlhson20-Mar-02 6:36 
GeneralUsing MFC ( CPropertySheet ) in ATL EXE Pin
sanskypotov20-Mar-02 2:42
sanskypotov20-Mar-02 2:42 
QuestionTypeName not in VBS---HowTo? Pin
20-Mar-02 1:48
suss20-Mar-02 1:48 
AnswerRe: TypeName not in VBS---HowTo? Pin
pba_20-Mar-02 6:32
pba_20-Mar-02 6:32 
General(ADSI)Undeclared Identifier in IADsWinNTSystemInfo Pin
a_sangee19-Mar-02 23:27
a_sangee19-Mar-02 23:27 
GeneralRe: (ADSI)Undeclared Identifier in IADsWinNTSystemInfo Pin
Andres Manggini20-Mar-02 2:31
Andres Manggini20-Mar-02 2:31 
GeneralRe: (ADSI)Undeclared Identifier in IADsWinNTSystemInfo Pin
a_sangee20-Mar-02 5:59
a_sangee20-Mar-02 5:59 
GeneralActiveX VB Pin
Michael.Weiss19-Mar-02 23:21
Michael.Weiss19-Mar-02 23:21 

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.