-
Replied To a Post in cryptolocker ? encrypted files
The random 7 letter file extension is indicative of a CTB Locker aka Critroni variant. If so, there's no way to recover the private key needed to decrypt the files … -
Replied To a Post in *One Word Game*
via -
Replied To a Post in Process Enviroment Block
For WinDbg, `!peb` **or** `dt nt!_PEB` to get the structure. -
Replied To a Post in HELP_RESTORE_FILES.txt seems to have affected on my desktop, need help
It sounds like the PC was hit by TeslaCrypt ransomware, which wipes out shadow copies as well as encrypting documents. You won't be able to decrypt the .ecc files unless … -
Replied To a Post in Randomise Function
AFAIK this 'function' is just a Borland specific macro used in Turbo c++ and c++ builder. As I don't have access to these ancient headers, I've no idea of the … -
Replied To a Post in Security Helper DLL
Just continue with the assistance you're receiving at BleepingComputer. :) http://www.bleepingcomputer.com/forums/t/569809/windows-security-helper-dll/ -
Replied To a Post in Arrays, sorting, using template <class>
For a `template <class T>` function all you need to do is substitute the type 'T' for the POD type. e.g. template <class T> void showArray(T const arr[], const size_t … -
Replied To a Post in URLDownloadToFile not outputting
> You mean checking as in something like this? > > if (hr == S_OK) ? Yes. The main problem with your code is that the `szFileName` in `URLDownloadToFile` is … -
Replied To a Post in Random Walk Program - Returning Zero Values
Are you passing flower, water and path by reference in the execute function. This should work: void execute(int array[ROWS][COLS], int& flower, int& water, int& path) { for (int i = … -
Replied To a Post in Random Walk Program - Returning Zero Values
at lines 78. 79 int row = 6, col = 0; int position = array[row][col]; // at this point position value = 3 Therefore lines 81 - 85 won't do … -
Replied To a Post in Random Walk Program - Returning Zero Values
I've only skimmed over your code so there could be things I've missed. At first glance: In your execute function, you need to pass flower, water and path by reference, … -
Replied To a Post in Access Violation in LookupAccountSid
Because you are calling LookupAccountSidW(...), `myDwordNameLength` and `myDwordDomLength` will contain the buffer size needed in wide chars. Thus on lines 23 and 24 you are only allocating half the required … -
Replied To a Post in Access Violation in LookupAccountSid
AFAIK, the first call to LookupAccountSidW will return the buffer sizes needed in TCHARS. So you will need to allocate `bufsize * sizeof(wchar_t)` You also need to free the memory. -
Replied To a Post in how to create x64 version of a executable (.exe) c program.
The executables created by Turbo C are totally incompatible with 64 bit operating systems. On 64 bit Windows you should be able to run both 32 and 64 bit executables, … -
Replied To a Post in Difference
It would appear that Ahmad is most adept at copy and paste. Compare his last post to CrateMuncher's comment at http://www.reddit.com/r/answers/comments/2dplea/whats_the_difference_between_c_c_and_c/ -
Replied To a Post in c++ WinAPI32 checkbox questions
This looks like it was copy/pasted with some modifications from another coding site. For the sake of consistency, you should always use CreateWindowEx and the WNDCLASSEX struct as CreateWindow and … -
Replied To a Post in Effective Method to reverse an array?
Sorry, I don't have nasm installed to test, but if the code is inline then leave out the `ret`. The code stores the reversed array in the original memory location. -
Replied To a Post in Effective Method to reverse an array?
Try the following: ; save ebx push ebx mov esi, array mov edi, array add edi, 16 reverseloop: ; move content of pointers into a register (dereference pointers) mov eax, … -
Replied To a Post in Changing colors in Dev-C++ 4.9.9.2
The first thing I'd do is update to the Orwell Dev-C++ fork, which is fully maintained and up to date. http://sourceforge.net/projects/orwelldevcpp/ -
Replied To a Post in Get Sum of 2 Digits
Also in line 11: `count<<"enter second amount";` It should be `cout << "enter second amount";` -
Replied To a Post in [win32 - C/C++11] - menu class
Have a read of MSDN for the [WM_COMMAND](http://msdn.microsoft.com/en-us/library/windows/desktop/ms647591%28v=vs.85%29.aspx) message. For a menu, only the menu identifier is passed via the low word of the wParam, the lParam is zero. So … -
Replied To a Post in How to delete an element from an array?
You should use `length` rather than MAX_ITEMS in `DeleteItem(ItemType x)`. -
Replied To a Post in Is the intel E6600 SLGUG compatible with MS 7528 motherboard?
Yes. Refer to http://www.cpu-upgrade.com/mb-MSI/G31M3-F_%28MS-7528%29.html#specs for all supported CPUs. -
Replied To a Post in smple malware using dev c++
Read the rules - https://www.daniweb.com/community/rules You will **not** receive help at these forums for any illegal activities. -
Replied To a Post in Scrabble
ream -
Replied To a Post in Scrabble
coot -
Replied To a Post in Screenlock without disturbing
Have a look at Don't Sleep available at http://www.softwareok.com/?seite=Microsoft/DontSleep -
Replied To a Post in Project in my finals
You need to make an honest attempt to write the code for your homework, otherwise you'll receive no help. -
Replied To a Post in Small program not compiling
Remove #include <string.h> and replace with `#include <string>` As the string object is in the std namespace, you can either replace all functions and variables in the Dog class that … -
Replied To a Post in Scrabble
bole -
Replied To a Post in How can I fix this append function for this C++ MyProgrammingLab problem
Your error is that the function you've written is illogical. It looks like you wrote the first thing that came to mind and somehow hoped that it would magically solve … -
Replied To a Post in I need help writing a findLast function for this MyProgrammingLab exercise
Something like `for (int i = numWords-1; i >= 0; --i)` You wrote `for(int i = 0; numWords-1 <= 0; i--)` - with this code, the only iteration that would … -
Replied To a Post in Declaring a variable depending on whether or not it needs it.
Could you post the code that you currently have? -
Replied To a Post in I need help writing a findLast function for this MyProgrammingLab exercise
At line 3: `for(int i = 0; i >= numWords; i--)` // how does this make any sense? I assume what you are wanting to do is to iterate from … -
Replied To a Post in AVG Tuneup 2014 won't uninstall
Try running the 'AVG PC TuneUp and TuneUp Utilities Remover', available at http://www.avg.com/tools#tba1 -
Replied To a Post in No matching function for call to Nvector::Nvector(int)
There are further things that are immediately noticeable in the last code you posted. Check your spelling on lines 59 and 63 - `set_at_beign` should be `set_at_begin` -
Replied To a Post in [win32] - RegisterHotKey: can i do a new resgist?
You could call [UnregisterHotKey](http://msdn.microsoft.com/en-us/library/windows/desktop/ms646327%28v=vs.85%29.aspx) then RegisterHotKey. If this isn't what you need, could you clarify what you are wanting to achieve. -
Replied To a Post in my toshiba c660-2d8 wont turn on
To clarify things, are you saying that the laptop was running fine, then it just completely turned off with no error message and since then the laptop will not turn … -
Replied To a Post in my toshiba c660-2d8 wont turn on
It seems that your laptop is overheating due to a massive build up of dust clogging the air intake fan, with the possibility that you may also have fan failure. … -
Replied To a Post in HOW THE PROGRAMS CRACKED ?
Peter Ferrie has many interesting papers on anti-(unpacking/debugging/emulation) techniques. Google for his homepage and Microsoft Malware Protection Center page. -
Replied To a Post in Win 8 or win 7
Who cares what I prefer, isn't it about which design you prefer? If I was to get a new Windows PC then I'd go for Win 8.1 simply because it's … -
Replied To a Post in my headset has two plugs but my computer has one
http://www.startech.com/Cables/Audio-Video/Audio-Cables/35mm-4-Position-to-2x-3-Position-35mm-Headset-Splitter-Adapter-F-M~MUYHSFMM or any reputable place that shows up when you Google "headset splitter adapter" -
Replied To a Post in HOW THE PROGRAMS CRACKED ?
> Probably in a darker area of the internet. ;) Yes, Google software cracking forums > I AM NOT DOING THIS AS FOR HACKING PURPOSE, BUT I WANT TO KNOW. … -
Replied To a Post in [win32] - how call the WM_DRAWITEM message?
That question has already been answered in your thread at MSDN. For an idea about drawing non themed buttons refer to http://blog.quppa.net/2012/02/12/drawing-non-themed-push-buttons-in-windows/ -
Replied To a Post in [win32] - how call the WM_DRAWITEM message?
If you specify BS_OWNERDRAW then you shouldn't combine any other button styles with it. I couldn't reproduce your problem with WM_COMMAND using VS 2012, though I did change the code … -
Replied To a Post in [win32] - how call the WM_DRAWITEM message?
> why the WM_COMMAND message is ignored? It shouldn't be ignored. Under what cicumstances is the message being ignored? Post your code if you'd like someone to have a look. -
Replied To a Post in [win32] - how call the WM_DRAWITEM message?
I did some testing and if you call `InvalidateRect(hButton, NULL, false)`, this will cause a `WM_DRAWITEM` message to be sent to your control. if (KeyPressed(VK_MENU)==true) InvalidateRect(hButton, NULL, false); -
Replied To a Post in [win32] - how call the WM_DRAWITEM message?
Why not just call a function that does the redrawing? LRESULT CustomDrawButton(HWND button_hwnd, WPARAM wParam, LPARAM lParam) { // drawing code goes here InvalidateRect(button_hwnd, NULL, FALSE); // TRUE to erase … -
Replied To a Post in Do you feel old yet?
The first computer I actively used was an Atari 1040ST, mainly to be able to run Steinberg Cubase. http://en.wikipedia.org/wiki/Atari_ST -
Replied To a Post in [win32] - someone can explain to me these information with code?
Edit to above post. Re 2. It works on Windows 7 without visual styles for buttons, I've not tested on other OS. I know for things like menus it just …
The End.