I think clicking the same button over and over again is better.
elchupathingy
Posts
-
loads of fun -
Fox Digital CopyCapture 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.
-
File ListFindFirstFile, 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.
-
New Generation does not realy understand computersThey are too much work and require "thinking" even though they are "basic"
-
LogOff.aspx arbituray url redirectThis 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
-
One of those bad days and now i find stuff like this...The three above comments made my night...thanks :D
-
My Website got Hacked Now What? [modified]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.
-
CreateRemoteThread ErrorSome 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.
-
wrong output ,error in my programLooks 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.
-
Reading chunks of Datafor 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 sizeThat 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.
-
How to do fast Zip in c++?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.
-
linear linked list node deleteThink 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.
-
DeleteFile HookOh 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.
-
DeleteFile Hook -
The end of a waveNever used it, but google docs is nice. Also, the replies to the OP make the shape of a crashing wave...
-
DeleteFile HookWhat 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.
-
top thisYou never know something like that will pop up :/ and it will inadvertently will.
-
top thisTrue programming talent :D
-
OpinionsSirTimothy wrote:
Anyways, I wanted to share a lovely snippet I wrote a little while ago.
How long is a "little while ago"?
-
funny crash, do you know why?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.