vista sucks
from, -= aLbert =-
vista sucks
from, -= aLbert =-
i set ALL line 50 something like that...
from, -= aLbert =-
i had same experience like u few months ago. i wanted to throw away the vista!!! i left both laptop copying the file over night, next morning it says calculating. XP can't access vista folder. shit
from, -= aLbert =-
what happen to all the old comments and our own message in profile page? :( country value of my profile also out of order. it was set to singapore but now taiwan? :(
from, -= aLbert =-
easiest mistake is not comma is == sign by just =
from, -= aLbert =-
did u try to understand? or u trying to be funny? the file can't be seen in explorer, but it is actually in the root. XP just dun show this file because it lost its ownership setting.
from, -= aLbert =-
the can't be seen in explorer, but it is actually in the root.
from, -= aLbert =-
say focus... make sure ur windows hear it.
from, -= aLbert =-
M:\>setowner.exe MVS-SWRMOD-Module.txt setowner 1.1 - Copyright 1999, Arne Vidstrom - http://www.ntsecurity.nu/ Error: Unable to identify account. M:\>setowner.exe MVS-SWRMOD-Module.txt XXX setowner 1.1 - Copyright 1999, Arne Vidstrom - http://www.ntsecurity.nu/ Error: The specified account cannot be found. M:\>setowner.exe MVS-SWRMOD-Module.txt XXXX setowner 1.1 - Copyright 1999, Arne Vidstrom - http://www.ntsecurity.nu/ Error: Unable to change file ownership. (2)
from, -= aLbert =-
even a hardcore programmer or website programmer never think of these. it is cool. i admit. thanks for sharing.
from, -= aLbert =-
we face the same problem when we use modeless in regular dll with mfc application. if we use mfc extention dll then is ok. we ended up by adding filtering message and OnIdle.
from, -= aLbert =-
can template specialisation replace callback? i wish to replace callback by template specialisation. is anyone come to this b4 and knowing that is multi-thread safe? my application goes like this, many instance from our working code is registering function pointer(for callback) to the library. so that the library will notify us whenever it completed its job. from, -= aLbert =-
the AddNode is nothing more than just "new tagtree with tagtree's attributes". during the config process between tagtree could be linked by using tagtree's map. my post there is to get attention from ppl who met this problem b4. if u never met it, i have to be frank it is quite unlucky day then u will see it. it is a bug in stl library. i fix it by patching my stl xtree file used by map. the bug never go away after service pack 5 for vc6. simply google dinkumware. they are the one who write stl lib in vc6.0 from, -= aLbert =-
bug in xtree from, -= aLbert =-
Yu Zhiquan wrote:
for (MyIterator = MyMap.begin(); MyIterator!=MyMap.end(); MyIterator++) { MyMap.erase(MyIterator); }
the moment u call MyMap.erase(MyIterator), the size is reduced and begin() has changed. so in your for loop, MyIterator++ is directing u to the "3rd" element. u should use while loop to delete by check the size, not begin till end. from, -= aLbert =-
class tagtree { ... public: std::map<CString,tagtree*> mapControllee; }; ** working code ** tagtree *tt; tagtree *ttController; tt = AddNode(...); ttController = tt; tt = AddNode(...); ttController->mapControllee[strName] = tt; <- assert and crash at compare down to _tcmp with pointer lpsz = 0xcdcdcdcd("") anyone help? i use map quite regularly.. from, -= aLbert =-
NICE ONE! =) :beer: from, -= aLbert =-
i think i made u all mis-understand. anyone has code snippet that create a folder and set shared folder with permission? from, -= aLbert =-
anyone has code snippet that create a folder and set shared folder with permission? from, -= aLbert =-
i was surfing the whole noon just looking on how to create a shared folder over network with permission. i also couldn't found any example in MSDN. at last i found some code snippets on some forum.. anyone could give some code snippets? thanks in advanced. SECURITY_INFORMATION SecurityInformation; SecurityInformation = OWNER_SECURITY_INFORMATION; SECURITY_DESCRIPTOR SecurityDescriptor; ACL Acl; SID Sid; DWORD dwAclAllowed; dwAclAllowed = sizeof(ACCESS_ALLOWED_ACE) - sizeof(DWORD) + GetLengthSid(&Sid); InitializeAcl(&Acl, dwAclAllowed, ACL_REVISION); InitializeSecurityDescriptor(&SecurityDescriptor, SECURITY_DESCRIPTOR_REVISION); SetSecurityDescriptorOwner(&SecurityDescriptor, &Sid, TRUE); SetSecurityDescriptorGroup(&SecurityDescriptor, &Sid, TRUE); SetSecurityDescriptorDacl(&SecurityDescriptor, TRUE, &Acl, TRUE); SetSecurityDescriptorSacl(&SecurityDescriptor, TRUE, &Acl, TRUE); SetFileSecurity(strOCRDownloadFontLibPath, SecurityInformation, &SecurityDescriptor); from, -= aLbert =-