- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 5
- Posts with Upvotes
- 5
- Upvoting Members
- 5
- Downvotes Received
- 87
- Posts with Downvotes
- 51
- Downvoting Members
- 22
128 Posted Topics
[QUOTE=williamhemswort;636002] ive never tried [/QUOTE] If you've never tried, then try. It takes 2 seconds...
[QUOTE=monkey_boy_401;550935]can you please tell how you would invert the mouse control so that up is down, left is right etc.[/QUOTE] You don't need any hook (!) Simply use Win32 System apis (2 lines of code to swap mouse buttons...)
[I]> google dint help [/I] ??? It's a win32 FAQ for about 15 years (!) See on [URL="ttp://tinyurl.com/cmhb5g"]Win32 grp [/URL] for classic code to scan very quickly pixels with GDI or GDI+
[QUOTE=Ancient Dragon;601614]Try calling ShowWindow twice[/QUOTE] Is it a joke ?!
If it's on Windows, just use Win32 api (1 line of code with Shell , or 3 with COM...)
It's easy to modify it with C and win32 api ACDSee does that...
This "code" has no sense at all (case, case, case... horrible !!!!) It's done in 1 line of code with Win32 api (VK)
Which OS ? On Windows it's very easy (COM, complete code in MS SDK)
Use Petzold code instead, 10 x better.
Never use system() Just use kernel or user apis.
Avoid WMI (slow and not installed by default) Use Kernel and Shell apis
Just use Win32 api [URL="news://nntp.aioe.org/comp.os.ms-windows.programmer.win32"]See on Win32 api group[/URL] where it's a classic question.
[QUOTE=hacker9801;643547]You're the n00b here ;) MSVS is alright, but there is no [i]best[/i] compiler.[/QUOTE] No, he's obviously right. VS.NET has the best IDE, the best debugger and the best compiler. All companies use it.
[QUOTE=William Hemsworth;1002834]I haven't tested this code,.[/QUOTE] It won't fork for od listbox .................................
If its' on Windows, just use win32 api (1 line of code..)
No sense. GIF is binary.
Qt has nothing to do here (and not used anymore in Europe...) On Windows, just call the DialogBox() api That's all.
Ask on Professional [URL="http://tinyurl.com/yjy3ajr"]Win32 group[/URL] for the classic code (from Microsoft, Windows Internal...)
[QUOTE=Hawkpath;1105489] is it really necessary that i memorize all of the syntax. Is that what professionals do? [/QUOTE] You can ask on old Professional Win32 group ([url]http://tinyurl.com/yjy3ajr[/url] by Google) (there are the greatest Win32 gurus in the world (with Windows source code...))
It's a Win32 FAQ See on Adv. Win32 grp [url]http://tinyurl.com/yjy3ajr[/url] (from Windows source code itself...)
Don't use psapi statically, its not on all OS See MSDN sample to list processes
This has nothing to do with Win32 console apis (!) Just use Win32 GUI apis and see Notepad C sample from Microsoft
Never use system() on Windows (see MSDN, basic rule) Use Network apis (IPH)
You don't need Winsock. Just use Wininet (1 line of code with URLDLTF) or COM (6 lines)
This code is wrong. See MSDN official sample (reparse points, etc...)
system() is prohibited on Windows. Use SE() or any other api
See on [URL="http://tinyurl.com/yjy3ajr"]Professional Win32 ng[/URL] (there are the creators of Windows (Redmond), with Windows source code (C, C++, until Vista))
[QUOTE=bijayswain;1080719]Thanks I used vc++ and all worked well. thanks for your solution again.[/QUOTE] It's awful. Never use system() on Windows ! (prohibited, see MS papers) Use Win32 Reg apis.
If on Windows, just use Win32 net apis. 1 line of code or 6 with COM
Avoid Qt (not used anymore in Europe (expensive and slow)) Either use Win32 api (Win32 gurus use it) or .NET
See rather the Microsoft sample. 16 years old... (beginner code for a so simple api, posted 10000 times on BBS & Usenet...)
Never use System() It's prohibited in Production environment, in particular on Windows...
ShellExecute has nothing to do with HTML Elements. Just use Win32 COM. Ses MS samples
[QUOTE=abhi_elementx;1036430]Yes you can. See the system() function for more information. Cheers[/QUOTE] ??? system() has nothing to do there (it's even prohibited under Windows...) Just use the scheduler
On Windows, you don't need sockets; just use COM (10 lines of code)
This code is wrong (no recursive, no reparse points, etc) See the official MS sample (SDK)
[QUOTE=riahc3;1019092]Hey I cant use Visual Studio 2008 (which Id like to) as it uses it own compiler[/QUOTE] And what's the problem with that ?! It's by far the best compiler/debugger on the market. All Big Companies have VS 2008 Enterprise licences and nothing else. It's just unbeatable nowadays..
On Windows, system() is prohibited by MS. It's dirty, it creates another useless PAS, etc...
[QUOTE=Frederick2;1013180] To add additional text to a text box (multiline or otherwise), you need to retrieve the text already in the text box into a string variable/buffer [/QUOTE] No, you don't need to retrieve the text ! It's a very old Win16-Win32 FAQ, see ([URL="http://tinyurl.com/yjy3ajr"]Win32 grp[/URL]) with EM
Wrong method. Official method is with COM
[QUOTE=William Hemsworth;1004088]Will this do?[/QUOTE] No, you must use the GUI subsystem.
[QUOTE=vuyiswamb;1000435]This is how you can do it [url]http://www.webcheatsheet.com/ASP/get_current_page_url.php[/url][/QUOTE] This has nothing to do with C++... If on windows, to get current URL, use Win32 api (Shell and others)
Never use GetPixel(). It's the slowest method ! The right method has been posted a few days ago on [URL="news://nntp.aioe.org/comp.os.ms-windows.programmer.win32"] Win32 api group [/URL]
The Petzold is, by far, the best book and the C code is of course compatible with XP and Vista ! And for Advanced win32, see old Win32 group [url]http://tinyurl.com/cmhb5g[/url] (with Windows source code...) + Microsoft SDK
Never use system() on Windows. Use Shell or Kernel apis.
[QUOTE=opcode;985561]Try this article on blablabla [/QUOTE] ???????? This "article" is a complete newbie and [B]wrong [/B]code (!) To get the pid, see the official sample in C in MSDN, with Win32 THelp
[QUOTE=opcode;981270] Found this link on FrostCode[/QUOTE] Stop this spamming with fake question/answer and complete noob and wrong code (original code from MSDN has been posted 15 years ago !) Read the Petzold to learn Windows programming.
[QUOTE=adatapost;953353][URL="http://support.microsoft.com/kb/216686"]http://support.microsoft.com/kb/216686[/URL][/QUOTE] Obsolete (~10 years old) Use #import instead
[QUOTE=William Hemsworth;980936]No idea about uploading files, but as for downloading a file, here's an example of how to download a picture of a kitten[/QUOTE] This code is wrong. Initializing is missing and then it won't work on some OS SP...
Why don't you look at MSDN samples ?! (plenty of samples in C,C++ for each api...)
The End.
marco93