:wtf: OOPS... there is something wrong... CreateProcess() should return immediataly, and if you want to wait for the created process you must use : WaitForSingleObject(pi.hProcess, WAIT_OBJECT_0)... ?
Lhenno Ferrari
Posts
-
CreateProcess error -
SMTP in MFCTry to add a "\r\n" (carriage return and line feed, is this order) after your SMTP commands... Ex: arOut->WriteString( "HELO SIR\r\n" ); arOut->Flush(); :) ?
-
Enumerating Domain ControllersHi all, Is there any way to enum all DCs in a domain, using ADSI or DS API on a win2000 box ???I have already done this sometime ago using NetServerEnum (NETAPI). - I´ve found DsGetDcOpen/DsGetDcNext but they require Windows XP or later... - I´ve tried the "Role Property" for IADSComputer Class, but the WinNT and LDAP providers doesn´t suport it... Thanks in advance
-
Enumerating DCs using ADSIHi all, Is there any way to enum all DCs in a domain, using ADSI or DS API on a win2000 box ???I have already done this sometime ago using NetServerEnum (NETAPI). :(( I´ve found DsGetDcOpen/DsGetDcNext but they require Windows XP or later... :(( I´ve tried the "Role Property" for IADSComputer Class, but the WinNT and LDAP providers doesn´t suport it... Thanks in advance
-
Any good references?WORDPAD and SUPERPAD are applications included with Windows OSs that are part of VS 6 samples ;), so you can download it from http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcsample98/html/_sample_mfc_wordpad.asp They were written using the Microsoft Foundation Class Library (MFC), so i think you can use them as a reference for your project. Regards.
-
Any good references?WORDPAD and SUPERPAD are applications included with Windows OSs that are part of VS 6 samples ;), so you can download it from http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcsample98/html/_sample_mfc_wordpad.asp They were written using the Microsoft Foundation Class Library (MFC), so i think you can use them as a reference for your project. Regards.
-
Any good references?Looking for a good C++ reference book ??? "Thinking in C++" rocks, take a look at http://www.mindview.net/Books/TICPP/ThinkingInCPP2e.html. Also, for M$ Development, MSDN provide exelent references e documentation. Hope it Helps !!! ?
-
Any good references?Looking for a good C++ reference book ??? "Thinking in C++" rocks, take a look at http://www.mindview.net/Books/TICPP/ThinkingInCPP2e.html. Also, for M$ Development, MSDN provide exelent references e documentation. Hope it Helps !!! ?
-
Password Filter under Win2kOk, Maybe i couldn't make me clear. I really intend to use this policy, but with my own criteria !!! Because in my scenario the default criteria is TOO restrictive, see : - Passwords may not contain your user name or any part of your full name. - Passwords must be at least six characters long. - Passwords must contain elements from three of the four following types of characters : English upper case letters, English lower case letters, Westernized Arabic numerals, Non-alphanumeric characters (special characters). Once i don't need all of this complexity, i'd like to completely redefine this criteria by myself. This could be implemented trought a Password Filter, wich is a .DLL that provides password policy enforcement and change notification. So once created and properly installed, my PassFilt.dll whould be an OVERRIDE to the above criteria, that was implemented by the original Passfilt.dll (distributed with SP2). Under NT 4.0, i have already done this, and it functions !!! But in Win2k, when passwords are changed, LSA call my .DLL, but either uses the default criteria, wich now implemented "i don't know where" causing it to be more restrictive yet. :(:(:( Anyway thank you for the reply ;););) ?
-
Password Filter under Win2kHi all, Maybe this question should not be posted here, but considering your experience, i´m sure to get helped here ;););) My question is if there is any way to override the default criteria of windows 2000 Password Police "Passwords must meet complexity requirements" ??? I have already done this under Windows NT 4.0, by creating my own Passfilt.dll, but under Windows 2000 this criteria seems to be moved into some of the operating system components, so after installing my Passfilt.dll, the achieved result is just a COMPLEMENT of the default criteria, not an OVERRIDE. Thank you in advance.