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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
M

MrWhiteboard

@MrWhiteboard
About
Posts
4
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Creating an executable from hexcode ( c++ )
    M MrWhiteboard

    The best way (only sensible way) is to write code in C or C++ and then use a compiler and linker to generate the "hex code", that is after all, how notepad.exe is created. Nobody writes binary/hex machine code these days, it's just unheard of. Besides, the "hex code" you see in notepad is a highly organized file, it is defined by the Microsoft COFF/PE format. You can download and see this here: http://www.microsoft.com/whdc/system/platform/firmware/pecoff.mspx[^] The structire is complex, fiddly and requires a great deal of metadata - usually managed by the compiler - in order to work. Unless each section is correctly formed, and correctly linked to other sections and its lengths etc correct, it will just crash when you try and run it. What is your motive for this question? Harry.

    C / C++ / MFC c++ question

  • Getting stack address
    M MrWhiteboard

    This sounds pretty dangerous to me, but I know how it can be when you just have to do some things. You can declare a simple local variable and take its address, that will give you an address to begin working with. But you need to ensure that the variable does exist (not removed by optimizer) and you then need to make sure you understand the stack frame layouts under both x86 and x64, they aren't the same. Harry.

    C / C++ / MFC visual-studio data-structures question

  • Accessing class properties using foreach or any iteration method
    M MrWhiteboard

    Well a DataGridView control does reflection automatically. If you have a collection of 'C1' objects that implements the IList interface, then any public property will automatically be extracted and used to populate the cells in the apropriate column. Does this help? Harry.

    C# algorithms help question

  • IIS worker process NT user-id [modified]
    M MrWhiteboard

    I'm trying to get definitive information about the OS account ID used by the IIS process(es) on server OSs. We have a product install that must allow modify access to a registry key we create. Right now, we have found that the user-id IIS_USRS should be used for a Server 2008 R2 box with IIS 7. But I have no idea if this is all we need to do for an Server OS and other versions of IIS, e.g. IIS6. I also read about IIS 7 and its support for app pool identity accounts, for example w3wp.exe runs under 'DefaultAppPool' but this isn't a 'real' user id and cannot be specified for setting either file or registry access control. The situation is that our product is a class library that may be used by web services or web apps, the library requires modify access to a special registry key (specific to our product) and hence this question. Should I simply allow mod access to IIS_USRS or NETWORKSERVICE or what? Does a web app/service always run within a process named w3wp.exe? Any info much appreciated. Harry.

    modified on Wednesday, June 23, 2010 11:37 AM

    ASP.NET windows-admin question wcf sysadmin tutorial
  • Login

  • Don't have an account? Register

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