344 Posted Topics

Member Avatar for Graceyy Fanning
Member Avatar for hamzayammu
1
692
Member Avatar for adnan_6

Your borrowed code: https://github.com/andrew-smythe/3d_env/blob/master/tree.cpp How about you start reading some documentation and doing the work yourself.

Member Avatar for adnan_6
-1
207
Member Avatar for christina>you
Member Avatar for Đăng

Create the control with `ES_READONLY` style or send the `EM_SETREADONLY` message to the control.

Member Avatar for nullptr
0
80
Member Avatar for hefaz

Try scanning the PC with ESET's online scanner. http://www.eset.com/int/home/products/online-scanner/

Member Avatar for XP78USER
0
252
Member Avatar for ehpratah

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 other than paying the ransom (playing ransom roulette).

Member Avatar for Slavi
0
340
Member Avatar for tony75
Member Avatar for jimfive

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 you pay the ransom - not recommended. Your best bet is to restore your last backup and unfortunately lose some …

Member Avatar for Adam_23
0
286
Member Avatar for Simil

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 implementation.

Member Avatar for misi
0
227
Member Avatar for geekcohen

Just continue with the assistance you're receiving at BleepingComputer. :) http://www.bleepingcomputer.com/forums/t/569809/windows-security-helper-dll/

Member Avatar for nullptr
0
263
Member Avatar for DS9596

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 size) { for (size_t i = 0; i < size; ++i) std::cout << arr[i] << ' '; std::cout << std::endl; …

Member Avatar for nullptr
0
413
Member Avatar for toneranger

> 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 invalid. "C:\users\my documents\visual studio 2008\projects\nq data\nqquotes.txt" should be either `"C:\\users\\my documents\\visual studio 2008\\projects\\nq data\\nqquotes.txt"` or `"C:/users/my documents/visual studio 2008/projects/nq data/nqquotes.txt"` …

Member Avatar for toneranger
0
172
Member Avatar for nate9603

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, otherwise the variable values declared at line 25 will never change within the scope of main() You should also verify …

Member Avatar for nate9603
0
245
Member Avatar for BenWard

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.

Member Avatar for BenWard
0
1K
Member Avatar for Ahmad Imran

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/

Member Avatar for deceptikon
0
330
Member Avatar for Smn

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, you just need a non-prehistoric compiler to produce the executable. Look into MinGW (GCC) and Visual Studio as already mentioned …

Member Avatar for mike_2000_17
0
3K
Member Avatar for markdean1989

Try running the 'AVG PC TuneUp and TuneUp Utilities Remover', available at http://www.avg.com/tools#tba1

Member Avatar for markdean1989
0
312
Member Avatar for CodyOebel

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 WNDCLASS are deprecated. You also need to check function return values and handle any errors. As for the main problems …

Member Avatar for CodyOebel
0
1K
Member Avatar for Roger_2

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, [edi] mov ebx, [esi] ;swap elements mov [edi], ebx mov [esi], eax add esi, 4 sub edi, 4 cmp esi, …

Member Avatar for nullptr
0
1K
Member Avatar for justzamir

Also in line 11: `count<<"enter second amount";` It should be `cout << "enter second amount";`

Member Avatar for jencas
1
338
Member Avatar for theashman88

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/

Member Avatar for nullptr
0
7K
Member Avatar for cambalinho

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 your code: `SendMessage((HWND)lParam , WM_COMMAND, wParam, lParam)` will be equivalent to `SendMessage((HWND)OL , WM_COMMAND, wParam, 0L)`

Member Avatar for cambalinho
0
676
Member Avatar for saeed.albahri1
Member Avatar for Maritimo
0
334
Member Avatar for romy.pico.39

Yes. Refer to http://www.cpu-upgrade.com/mb-MSI/G31M3-F_%28MS-7528%29.html#specs for all supported CPUs.

Member Avatar for RobertHDD
0
110
Member Avatar for budax.bageur2

Read the rules - https://www.daniweb.com/community/rules You will **not** receive help at these forums for any illegal activities.

Member Avatar for NathanOliver
0
217
Member Avatar for mattster
Member Avatar for 29hendrick

You need to make an honest attempt to write the code for your homework, otherwise you'll receive no help.

Member Avatar for jwenting
-2
116
Member Avatar for RikTelner

Have a look at Don't Sleep available at http://www.softwareok.com/?seite=Microsoft/DontSleep

Member Avatar for nullptr
0
62
Member Avatar for andrew mendonca

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 the problem. Can you write the code that will copy the 'v' string to the buffer? Get that part working …

Member Avatar for uonsin
0
409
Member Avatar for lewashby

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 contain string to std::string or put `using std::string;` before the Dog class.

Member Avatar for lewashby
0
230
Member Avatar for andrew mendonca

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 the the last word index to the first word index. ie. from numWords-1 to 0 So rewrite line 3 to …

Member Avatar for rubberman
0
353
Member Avatar for singersongrita
Member Avatar for cambalinho

Have a look at Forger's Win32 tutorial at http://www.winprog.org/tutorial/ You can download it in pdf format. Under the heading 'Graphics Device Interface' http://www.winprog.org/tutorial/bitmaps.html Become familiar with the bitmap functions http://msdn.microsoft.com/en-us/library/windows/desktop/dd183385%28v=vs.85%29.aspx

Member Avatar for Mario Javier
0
1K
Member Avatar for example868

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 architecturally superior.

Member Avatar for Reverend Jim
0
397
Member Avatar for misscountess

Try ESET's online scanner - http://www.eset.com/int/home//products/online-scanner/ or Malwarebytes' Anti-Malware - https://www.malwarebytes.org/ (click on 'free version download')

Member Avatar for Emma Wilson
0
251
Member Avatar for Deep Modi

> 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. > AS TO CREATE THE BEST PROGRAMS WE SHOULD ALSO KNOW HOW TO PROTECT OUR PRODUCT BY HACKING. You have …

Member Avatar for Deep Modi
0
272
Member Avatar for nhrnjic6

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`

Member Avatar for nhrnjic6
0
301
Member Avatar for cambalinho

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.

Member Avatar for cambalinho
0
148
Member Avatar for blackmiau

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

Member Avatar for almostbob
4
1K
Member Avatar for thomasmaumela

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. Have look underneath the laptop, do you see a dust build up around the air intake? Leave the laptop off …

Member Avatar for nullptr
0
224
Member Avatar for Julian_2

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"

Member Avatar for nullptr
0
437
Member Avatar for cambalinho

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 the background UpdateWindow(button_hwnd); return 0; }

Member Avatar for cambalinho
0
3K
Member Avatar for cambalinho

1. Yes, use BS_TEXT combined with either BS_LEFT, BS_RIGHT, BS_TOP or BS_BOTTOM. e.g. with BS_RIGHT, the icon will be on the RHS of the button and the text will also be justified to the right. 2. No, for that you need to use BS_OWNERDRAW. 3. No

Member Avatar for cambalinho
0
314
Member Avatar for DeneyimszDenek
Member Avatar for DeneyimszDenek
0
121
Member Avatar for blackmiau

Do you have an XP installation or recovery disk for the PC? If you do, refer to: https://help.ubuntu.com/community/RestoreUbuntu/XP/Vista/7Bootloader

Member Avatar for blackmiau
0
182
Member Avatar for iAssistant
Member Avatar for Stuugie
0
4K
Member Avatar for shelton22

Have a look at line 10. What happens when either n or m reference the last vector index?

Member Avatar for nullptr
0
208
Member Avatar for Suzie999

I also can't get to page 6 of that thread. Win 7x64 - IE 11, any firefox based browser or via direct download. Wireshark capture shows: HTTP GET /community-center/geeks-lounge/threads/458329/things-i-hate-about-tv-shows/6 HTTP/1.1 HTTP/1.1 302 Found\r\n ~snip Location: http://www.daniweb.com/community-center/geeks-lounge/threads/458329/things-i-hate-about-tv-shows\r\n HTTP GET /community-center/geeks-lounge/threads/458329/things-i-hate-about-tv-shows HTTP/1.1

Member Avatar for happygeek
0
333
Member Avatar for BogdanCov

http://www.daniweb.com/software-development/cpp/threads/388558/changing-text-character-color-in-console

Member Avatar for c0d3rH4ck
0
5K
Member Avatar for phony

Seeing as your data file contains white space between last and first names, you'd be better off using std::getline for the reading. void read_names(string names[], ifstream& infile, int& index) { index = 0; std::string str; while (std::getline(infile, str)) { if (!str.empty()) names[index++] = str; } } At line 68: `if(names[j].compare(names[i])<0)` …

Member Avatar for nullptr
0
321

The End.