Click here to Skip to main content
16,015,679 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralCMapPtrToPtr Pin
Anthony_Yio1-Dec-03 15:54
Anthony_Yio1-Dec-03 15:54 
GeneralRe: CMapPtrToPtr Pin
John M. Drescher1-Dec-03 16:51
John M. Drescher1-Dec-03 16:51 
GeneralRe: CMapPtrToPtr Pin
Michael Dunn2-Dec-03 9:25
sitebuilderMichael Dunn2-Dec-03 9:25 
GeneralSTL threading problem Pin
Josh Gray30-Nov-03 11:42
Josh Gray30-Nov-03 11:42 
GeneralRe: STL threading problem Pin
Jörgen Sigvardsson30-Nov-03 12:04
Jörgen Sigvardsson30-Nov-03 12:04 
GeneralRe: STL threading problem Pin
John M. Drescher1-Dec-03 14:19
John M. Drescher1-Dec-03 14:19 
GeneralRe: STL threading problem Pin
Josh Gray1-Dec-03 16:03
Josh Gray1-Dec-03 16:03 
Generalwsnprintf() method __defined_.h_file Pin
derik_konark29-Nov-03 23:50
derik_konark29-Nov-03 23:50 
Hello Everyone,

I need your sincere help in finding the suitable header file
for the wsnprintf() method. For finding the Domain Users in
Microsoft Active Directory Services(ADSI), i called the ADSI API i.e. FindUsers() to fetch the list of user objects
from a container or directory tree. For that the FindUser()
API code has used the method i.e. wsnprintf() for adding the filter.

RESULT FindUsers(IDirectorySearch *pContainerToSearch, // IDirectorySearch pointer to the container to search.
LPOLESTR szFilter, // Filter for finding specific users LPOLESTR *pszPropertiesToReturn, // Properties to return user objects found.
BOOL bIsVerbose)

This FindUsers() is the API where the definition of the ADSI API calls the wsnprintf() method like as below : DWORD
#define MAX_PATH 520
dwLength = MAX_PATH*2;
// Create search filter.
LPOLESTR pszSearchFilter = new OLECHAR[dwLength];
// Add the filter.
wsnprintf(pszSearchFilter, dwLength, L"(&(objectClass=user)(objectCategory=person)%s)",szFilter);

Please help me out in giving me the details about the header file and the .lib file to make the code compilable.

Thanks,
Derik;)
GeneralType of Control Pane Pin
Danis Solovyov27-Nov-03 22:33
sussDanis Solovyov27-Nov-03 22:33 
Generalvector question Pin
Steve Messer27-Nov-03 10:11
Steve Messer27-Nov-03 10:11 
GeneralRe: vector question Pin
Christian Graus27-Nov-03 10:19
protectorChristian Graus27-Nov-03 10:19 
GeneralRe: vector question Pin
Steve Messer27-Nov-03 11:02
Steve Messer27-Nov-03 11:02 
GeneralRe: vector question Pin
Christian Graus27-Nov-03 11:40
protectorChristian Graus27-Nov-03 11:40 
GeneralRe: vector question Pin
Steve Messer27-Nov-03 12:19
Steve Messer27-Nov-03 12:19 
GeneralRe: vector question Pin
Steve Messer27-Nov-03 14:09
Steve Messer27-Nov-03 14:09 
GeneralRe: vector question Pin
Christian Graus27-Nov-03 15:08
protectorChristian Graus27-Nov-03 15:08 
GeneralRe: vector question Pin
Steve Messer27-Nov-03 15:36
Steve Messer27-Nov-03 15:36 
GeneralRe: vector question Pin
Joaquín M López Muñoz30-Nov-03 11:30
Joaquín M López Muñoz30-Nov-03 11:30 
GeneralRe: vector question Pin
Steve Messer1-Dec-03 7:03
Steve Messer1-Dec-03 7:03 
GeneralRe: vector question Pin
Joaquín M López Muñoz1-Dec-03 10:06
Joaquín M López Muñoz1-Dec-03 10:06 
GeneralRe: vector question Pin
Steve Messer1-Dec-03 11:37
Steve Messer1-Dec-03 11:37 
GeneralRe: vector question Pin
zhao wei4-Dec-03 20:41
zhao wei4-Dec-03 20:41 
GeneralRe: vector question Pin
Steve Messer5-Dec-03 10:10
Steve Messer5-Dec-03 10:10 
GeneralRe: vector question Pin
WREY9-Dec-03 4:16
WREY9-Dec-03 4:16 
GeneralRe: vector question Pin
Steve Messer9-Dec-03 6:11
Steve Messer9-Dec-03 6:11 

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.