Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
F

f2

@f2
About
Posts
21
Topics
7
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Lounge works differently on 2 different computers.
    F f2

    vista sucks

    from, -= aLbert =-

    The Lounge sysadmin asp-net com question

  • what happen to all the old comments and our own message in profile page?
    F f2

    i set ALL line 50 something like that...

    from, -= aLbert =-

    The Lounge question

  • Copying files from Vista to XP is broken
    F f2

    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 =-

    The Lounge com question

  • what happen to all the old comments and our own message in profile page?
    F f2

    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 =-

    The Lounge question

  • The holy comma operator [modified]
    F f2

    easiest mistake is not comma is == sign by just =

    from, -= aLbert =-

    The Weird and The Wonderful c++ python learning

  • any idea why the file lost its ownership?
    F f2

    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 Lounge help question

  • any idea why the file lost its ownership?
    F f2

    the can't be seen in explorer, but it is actually in the root.

    from, -= aLbert =-

    The Lounge help question

  • Help! Mouse auto-focusing windows
    F f2

    say focus... make sure ur windows hear it.

    from, -= aLbert =-

    The Lounge html com collaboration help question

  • any idea why the file lost its ownership?
    F f2

    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 =-

    The Lounge help question

  • The magic of programming
    F f2

    even a hardcore programmer or website programmer never think of these. it is cool. i admit. thanks for sharing.

    from, -= aLbert =-

    The Lounge javascript tools

  • A typo that cost 5 man hours and almost a re-design
    F f2

    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 =-

    Clever Code c++ com csharp winforms design

  • can template specialisation replace callback?
    F f2

    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 =-

    ATL / WTL / STL question career

  • std::map issue
    F f2

    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 =-

    ATL / WTL / STL help question

  • std::map issue
    F f2

    bug in xtree from, -= aLbert =-

    ATL / WTL / STL help question

  • map erase issue
    F f2

    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 =-

    ATL / WTL / STL help tutorial question

  • std::map issue
    F f2

    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 =-

    ATL / WTL / STL help question

  • Set Shared Folder
    F f2

    NICE ONE! =) :beer: from, -= aLbert =-

    System Admin question

  • Set Shared Folder
    F f2

    i think i made u all mis-understand. anyone has code snippet that create a folder and set shared folder with permission? from, -= aLbert =-

    System Admin question

  • Set Shared Folder
    F f2

    anyone has code snippet that create a folder and set shared folder with permission? from, -= aLbert =-

    System Admin question

  • How to Create A Shared Folder
    F f2

    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 =-

    C / C++ / MFC tutorial sysadmin security question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups