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
E

elchupathingy

@elchupathingy
About
Posts
47
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • loads of fun
    E elchupathingy

    I think clicking the same button over and over again is better.

    The Lounge ios com learning

  • Fox Digital Copy
    E elchupathingy

    Capture card, play the dvd from your dvd capture what it outputs and save it :D works for most of them if you get a good capture card.

    The Lounge com question announcement learning

  • File List
    E elchupathingy

    FindFirstFile, FindNextFile, should do it quite easily. Just need to look at what you need to pass to it in terms of parameters. Or use CFileFind for straight MFC.

    C / C++ / MFC c++ question

  • New Generation does not realy understand computers
    E elchupathingy

    They are too much work and require "thinking" even though they are "basic"

    The Lounge c++ data-structures tutorial lounge learning

  • LogOff.aspx arbituray url redirect
    E elchupathingy

    This can be used to trick people into compromising their account via a phishing page or a redirection to a malware download site. http://www.codeproject.com/script/Membership/%4c%6f%67%4f%66%66%2e%61%73%70%78?RANDOM_THING_HERE_TO_DISTRACT_YOU_FROM_THE_REAL_PORTION_OF_THE_URL&rp=ht%74p:/%2Fg%6F%6Fg%6Ce.c%6Fm The above link will log you out then send you to google. Hope this helps, elchupathingy

    Site Bugs / Suggestions com tools question lounge

  • One of those bad days and now i find stuff like this...
    E elchupathingy

    The three above comments made my night...thanks :D

    The Weird and The Wonderful question

  • My Website got Hacked Now What? [modified]
    E elchupathingy

    Look at your input fields on your site and check for XSS errors and then just filter out < and > and replace them with the html equivalent and that should be pretty good for stopping a XSS error.

    The Lounge javascript com question

  • CreateRemoteThread Error
    E elchupathingy

    Some times you need to just have Debug Privileges to inject a DLL into another process when you get the "access denied". So, just grant yourself Debug Privileges. I have done this on vista 32bit with no problems. Problems come in with the same code in 64bit versions.

    C / C++ / MFC sysadmin windows-admin performance help question

  • wrong output ,error in my program
    E elchupathingy

    Looks like you are taking code from other places and kinda skipping a few important details about some of the functions you are using from the winsdk such as:

    Return Value

    If the function succeeds, the return value is the starting address of the mapped view.

    If the function fails, the return value is NULL. To get extended error information, call GetLastError.

    From the msdn, this will solve your problem.

    C / C++ / MFC question help

  • Reading chunks of Data
    E elchupathingy

    for starting position to end of buffer_to_read_from
    for temporary variable i to length of secondary buffer
    copy a single from source(offset starting position) to destination buffer;
    increment variable i
    increase starting position by the length of the secondary buffer size

    That is probably what you are looking for. Simple thing really, should be able to figure it out quite simply with just a little bit of extra thought.

    C / C++ / MFC help

  • How to do fast Zip in c++?
    E elchupathingy

    I think he means the "store" method for say winrar so it doesn't compress the files themselves but just puts them into a single archive. There should be a way to adjust the compression level to 0 and that should speed it up.

    C / C++ / MFC c++ tutorial question

  • linear linked list node delete
    E elchupathingy

    Think what he meant was that you are given the node to delete and not the head of the list that this node is in...which doesn't make sense. You need the head of a list to delete a node from it because you need to traverse the list find the link before the link to be deleted and then link the previous one with the one after and then free the memory for the link to be deleted... PREV -> TO BE DELETE -> NEXT Unless its a circularly linked list the head is needed. If your situation is a circular list then you can just treat the link to be deleted as the head save it and then traverse the list until u reach the one before it in the list and the do the un-linking that way.

    C / C++ / MFC data-structures tutorial question

  • DeleteFile Hook
    E elchupathingy

    Oh wow...the links didn't go through, sorry about that. http://www.codeproject.com/KB/system/hooksys.aspx http://www.codeproject.com/KB/threads/completeinject.aspx The two articles here. Also you only need to use something like Windows Detours, I personally like Detours 1.5, but the newer one can do more things, but 1.5 is easier to use personally.

    C / C++ / MFC json tutorial

  • DeleteFile Hook
    E elchupathingy

    [] [] Those should get you started.

    C / C++ / MFC json tutorial

  • The end of a wave
    E elchupathingy

    Never used it, but google docs is nice. Also, the replies to the OP make the shape of a crashing wave...

    The Lounge wpf csharp html com collaboration

  • DeleteFile Hook
    E elchupathingy

    What exactly are you working on that needs to intercept the function calls and that needs the DDK and are using VC 6.0? But, this is simple to implement if you know where to look. There are quite a few articles on how to intercept/hook a function call, especially a windows one.

    C / C++ / MFC json tutorial

  • top this
    E elchupathingy

    You never know something like that will pop up :/ and it will inadvertently will.

    The Weird and The Wonderful

  • top this
    E elchupathingy

    True programming talent :D

    The Weird and The Wonderful

  • Opinions
    E elchupathingy

    SirTimothy wrote:

    Anyways, I wanted to share a lovely snippet I wrote a little while ago.

    How long is a "little while ago"?

    The Weird and The Wonderful data-structures question discussion lounge learning

  • funny crash, do you know why?
    E elchupathingy

    If that memory is not free'd then you have introduced a memory leak and as stated above me this could very well be the reason for the crash in that its running out of memory, but more code would help greatly.

    C / C++ / MFC testing beta-testing performance help 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