Click here to Skip to main content
15,920,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: An amazingly puzzling ATL enigma! Pin
3-Mar-02 1:52
suss3-Mar-02 1:52 
GeneralRe: An amazingly puzzling ATL enigma! Pin
Nish Nishant3-Mar-02 14:16
sitebuilderNish Nishant3-Mar-02 14:16 
GeneralRe: An amazingly puzzling ATL enigma! Pin
pba_3-Mar-02 2:45
pba_3-Mar-02 2:45 
GeneralRe: An amazingly puzzling ATL enigma! Pin
Nish Nishant3-Mar-02 14:18
sitebuilderNish Nishant3-Mar-02 14:18 
GeneralRe: An amazingly puzzling ATL enigma! Pin
Mazdak3-Mar-02 4:02
Mazdak3-Mar-02 4:02 
GeneralRe: An amazingly puzzling ATL enigma! Pin
Nish Nishant3-Mar-02 14:17
sitebuilderNish Nishant3-Mar-02 14:17 
GeneralRe: Hmmmmm Pin
Tim Smith3-Mar-02 5:12
Tim Smith3-Mar-02 5:12 
GeneralADSI: Problem with Binding Pin
hph2-Mar-02 22:59
hph2-Mar-02 22:59 
First of all, my equipment:

I use the Win2kServer OS with the following settings:
Name:iras
Workgroup: HTBL
Domain for Windows: htlpinkafeld.at
Domain for Netware: HTBl\
TestUser: testuser@htlpinkafeld.at (HTBL\testuser)
The TestUser is placed in hltpinkafeld.at\edvoschueler and uses no password

My goal is to get access to this testuser with Visual C++ 6.0 from a remote workstation (in the same network). The OS of the workstation is Win2kProf.
The MSDN which i use is the April 2001 version.

At first i tried to get the function
HRESULT ADsOpenObject(
LPWSTR lpszPathName,
LPWSTR lpszUserName,
LPWSTR lpszPassword,
DWORD dwReserved,
REFIID riid,
VOID FAR * FAR *ppObject
);

work!

And according to this the problems began!

1. I don't know how the first three parameters should look like!
2. The 5th parameter needs the library ADSIID.lib. The function needs also the library ActiveDS.lib to work right. But within these two libs declarations are redefined which means i can't execute the program! I found out that this sometimes happens, and that i should add the prefix "/force:multiple" to the menu Project\Settings...\Link\"Project Options". It works but i don't know if this is allowed!

Please help me!





GeneralDLL Pin
Peter Liddle2-Mar-02 22:58
Peter Liddle2-Mar-02 22:58 
GeneralRe: DLL Pin
Michael Dunn3-Mar-02 7:33
sitebuilderMichael Dunn3-Mar-02 7:33 
Questionhow do i use DeleteObject()... Pin
John Cruz2-Mar-02 21:44
John Cruz2-Mar-02 21:44 
AnswerRe: how do i use DeleteObject()... Pin
Christian Graus2-Mar-02 21:44
protectorChristian Graus2-Mar-02 21:44 
GeneralRe: how do i use DeleteObject()... Pin
John Cruz2-Mar-02 21:57
John Cruz2-Mar-02 21:57 
GeneralTexture filter in OpenGL Pin
Mazdak2-Mar-02 19:30
Mazdak2-Mar-02 19:30 
GeneralRe: Texture filter in OpenGL Pin
alex.barylski2-Mar-02 22:55
alex.barylski2-Mar-02 22:55 
GeneralRe: Texture filter in OpenGL Pin
Mazdak2-Mar-02 23:23
Mazdak2-Mar-02 23:23 
GeneralUsing Delimiter EOF :: C++ Pin
valikac2-Mar-02 19:26
valikac2-Mar-02 19:26 
GeneralRe: Using Delimiter EOF :: C++ Pin
Mazdak2-Mar-02 19:29
Mazdak2-Mar-02 19:29 
GeneralATL doubt Pin
Nish Nishant2-Mar-02 18:15
sitebuilderNish Nishant2-Mar-02 18:15 
GeneralRe: ATL doubt Pin
Mazdak2-Mar-02 19:21
Mazdak2-Mar-02 19:21 
GeneralRe: ATL doubt Pin
Nish Nishant2-Mar-02 21:04
sitebuilderNish Nishant2-Mar-02 21:04 
GeneralRe: ATL doubt Pin
Mazdak2-Mar-02 21:28
Mazdak2-Mar-02 21:28 
GeneralRe: ATL doubt Pin
Nish Nishant2-Mar-02 22:30
sitebuilderNish Nishant2-Mar-02 22:30 
GeneralRe: ATL doubt Pin
Christian Graus2-Mar-02 21:41
protectorChristian Graus2-Mar-02 21:41 
GeneralRe: ATL doubt Pin
Nish Nishant2-Mar-02 22:31
sitebuilderNish Nishant2-Mar-02 22:31 

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.