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
M

Martin Cook

@Martin Cook
About
Posts
47
Topics
8
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • A button to remove an article
    M Martin Cook

    No, not at all... I think my articles may all be somewhat dated at this point. I was considering pulling some of them off the site when I noticed there wasn't a way to do that.

    Martin Cook Jesus answered, "I am the way and the truth and the life. No one comes to the Father except through me." John 14:6

    Site Bugs / Suggestions

  • A button to remove an article
    M Martin Cook

    Would be nice to have a button to enable an author to remove their article(s) from the website.

    Martin Cook Jesus answered, "I am the way and the truth and the life. No one comes to the Father except through me." John 14:6

    Site Bugs / Suggestions

  • convert structure to IntPtr
    M Martin Cook

    Hello Amirreza_nl, I wrote the code that was alluded to earlier in this thread (from CodeGator.com). You are correct that your code is similar to mine, however I am calling a slightly different method to get the path from the PIDL. In my case I am using the SHGetPathFromIDList function. Also, my code doesn't convert from the InPtr to a ITEMIDLIST structure. I am able to deal with PIDL's as IntPtr objects instead of converting them to ITEMIDLIST structures. (See my code here) You don't say which call is failing in your code, is it SHGetSpecialFolderLocation or SHGetFileInfo? My suggestion would be to try omiting the conversion of the PIDL to a struct if possible. I hope I have helped, Martin

    Martin Cook Jesus answered, "I am the way and the truth and the life. No one comes to the Father except through me." John 14:6

    C# help

  • Managed C++ -> C++/CLI
    M Martin Cook

    The horror! :omg: Martin Cook Jesus answered, "I am the way and the truth and the life. No one comes to the Father except through me." John 14:6

    The Lounge c++ question

  • Planes
    M Martin Cook

    Jet plane: I like the B2 stealth bomber. B2[^] Propeller plane: I like the P51 Mustang. P51[^] Martin Cook Jesus answered, "I am the way and the truth and the life. No one comes to the Father except through me." John 14:6

    The Lounge question com tools

  • Virtual PC...
    M Martin Cook

    You will need a new license for each virtual PC environment that contains Windows XP. The validation works the same. Martin Cook Jesus answered, "I am the way and the truth and the life. No one comes to the Father except through me." John 14:6

    The Lounge question

  • Submission Wizard
    M Martin Cook

    I seem to be having a problem getting the submission wizard to work. I get the following error while moving from page 3 to 4: Step 4 of 5 - Create the article and specify the uploads Creating the article "A .NET COM+ Arbitrary Sequence Generator"...Done Microsoft VBScript runtime error '800a004c' Path not found /script/Articles/includes/articleFileMgmt.asp, line 286 Is anyone else having this problem? Martin Cook Jesus answered, "I am the way and the truth and the life. No one comes to the Father except through me." John 14:6

    The Lounge help csharp com tools question

  • Axapta Anyone?
    M Martin Cook

    Has anyone else had any experience working with Axapta? The company where I work just licensed the product from Navision/Microsoft. If you have been exposed to X++ in the past then I would be interested in hearing your thoughts. How does it compare to C++, C#, etc? Martin Cook Jesus answered, "I am the way and the truth and the life. No one comes to the Father except through me." John 14:6

    The Lounge csharp c++ question discussion

  • Developers: Mono-culture And The .NETwork Effect
    M Martin Cook

    Sounds like a paranoid Java developer to me. The only compelling advantage Java has ever held is it’s multi-platform capabilities. If .NET becomes multi-platform capable through Mono then what happens to Java? Hmm, this may be a good time to write “Switch from Java to C# in 21 days”… Martin Cook Jesus answered, "I am the way and the truth and the life. No one comes to the Father except through me." John 14:6

    The Lounge csharp html sysadmin question

  • I KNEW it was true
    M Martin Cook

    Ahem... this from todays news: http://www.hindustantimes.com/news/181_399454,00050004.htm[^] Martin Cook Who needs cyberspace when you have CP space? :)

    The Lounge announcement

  • Everything old is new again
    M Martin Cook

    Hmm... I can't check that link at work, so I'll look at it later. I don't remember the vegetables but I do remember something about collecting soda cans. Man I can't wait to get home so I can check that link! :) Martin Cook Who needs cyberspace when you have CP space? :)

    The Lounge graphics game-dev tutorial question

  • Using Custom .dll files - where do they go?
    M Martin Cook

    Assuming you are using Visual Studio.NET, open the solution explorer and right click on the "references" folder, select the "Add reference" menu choice, then click the browse button. Browse to your .DLL file, and click "OK". That will add a reference to your .DLL to the project. From there, just add a line at the top of your source file like this: "using mynamespace;" Martin Cook Who needs cyberspace when you have CP space? :)

    C# database sql-server sysadmin question

  • Everything old is new again
    M Martin Cook

    My daughter, who is four years old, recently discovered my old Nintendo Super NES game console. The only game cartridge I could find was Super Mario's World (or something like that), so I fired it up and waited to see what she thought. I was sure that she would dismiss the primitive graphics instantly, but gosh was I ever wrong - she just loved it! She plays it all the time now and she's MUCH better than I ever was. I just think it's funny that she likes the old games so much. I'm starting to wonder where I stuffed my old Commander Keen discs now... BTW, does anyone remember how to get through Lemmy's Castle? That level has us both stumped! :) Martin Cook Who needs cyberspace when you have CP space? :)

    The Lounge graphics game-dev tutorial question

  • MS Grabbing up XML Developers ...
    M Martin Cook

    What? :omg: But the guy I bought my magic beans from assured me that money grows that way! Does this mean I should stop watering my beans and get a job? :-D Martin Cook Who needs cyberspace when you have CP space? :)

    The Lounge question com xml announcement

  • Next Question...
    M Martin Cook

    I'm a clicker type myself. Martin C Cook Who needs cyberspace when you have CP space? :)

    The Lounge question

  • Any electonic book about Driver & API Hook
    M Martin Cook

    There are a few that spring to mind. If you want a good introduction to the overall concepts then I would suggest: Title: Programming the Windows Driver Model Publisher: Microsoft Press ISBN: 0-7356-0588-2 Martin C Cook Who needs cyberspace when you have CP space? :)

    C / C++ / MFC json learning

  • Out of work programmer...
    M Martin Cook

    Know any marketing types for local consulting agencies? If so, take them out to lunch and ask them what kinds of technologies/languages they have the most urgent need for. You may not like the answer, but at least you'll know. I went through a similar situation last year. I wound up switching from consulting (C++ & Java) to a full-time position (VB6/VB.NET). The pay is MUCH lower than what I'm used to, but at least I can pay the mortgage... Good luck on the job search! Martin C Cook Who needs cyberspace when you have CP space? :)

    The Lounge csharp c++ asp-net help

  • Accessing .NET private members
    M Martin Cook

    I haven't seen the review yet, although with a little creative casting (yea, I'm a C++ programmer) almost any private member can be accessed. I'm not sure why you would want to do that though... :~ What's the point? Martin C Cook Who needs cyberspace when you have CP space? :)

    The Lounge csharp question learning

  • A recipe for WMD
    M Martin Cook

    Uh, that's a little too spicy for me. :~ I'll stick to something relatively tame, like Chillie Rejanos! Who needs cyberspace when you have CP space? :)

    The Lounge question

  • A recipe for WMD
    M Martin Cook

    I know, so was I... :cool: ;) :cool: Who needs cyberspace when you have CP space? :)

    The Lounge 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