Jump to content

Win32

Members
  • Joined

Everything posted by Win32

  1. Win32 posted a post in a topic in Computer Discussion
    Both malicious code examples are not just totally impractical (Especially the VB junk), but are about as efficent as using a pair of scissors to mow the lawn. The first example is just putting VB's head back under the desk, further proving how worthless the language really is (Along with the morons who use it). And the second just gives C++ a bad name. Using the 'new' operator.... WHAT THE FUCK ARE YOU THINKING? Regards, Matt J.
  2. Win32 posted a post in a topic in Computer Discussion
    Erondial, As in scheduling a task with the "Task Scheduler"? If so; Yes it is needlessly complex, a grounding in COM is certainly required. If you require help, you have only to ask. Regards, Matt J.
  3. Win32 posted a post in a topic in Computer Discussion
    So you're nothing more than a random troll? How pathetic. Transparent Entity, Don't talk until I want your input, kid. Secondly, I wasn't even talking to you, moron. Get your facts straight before going into a random whine over how '******s' intimidate you to the point of self-hurt. You've yet again just shown how much your little life really does revolve around internet-chat. Regards, Your Superior.
  4. Win32 posted a post in a topic in Computer Discussion
    Forged, It amazes me you're even able to post, you took time away from your busy life of endless gaming just to cry to me, how cute Thanks fan :D Regards, Your Superior.
  5. Win32 posted a post in a topic in Computer Discussion
    Greeneyes, Lsd, Just give up, ugly chinks. Get back to your life of gaming like the geek you are. Regards Your Superior.
  6. Win32 posted a post in a topic in Computer Discussion
    Greeneyes, Because I have cornrows, I'm a negro? Moron. And secondly, all TransparentEntity did was prove how insecure he really is. Poor geeks, so small and scared. Regards, Your Superior.
  7. Win32 posted a post in a topic in Computer Discussion
    TransparentEntity, Oh, all that was for me ? Awww thanks fan! :D Regards, Your Superior.
  8. Win32 posted a post in a topic in Computer Discussion
    Let's get things straight; I'm no Negro. Greeneyes, Lsd; Don't bother posting, you're making fools of yourself.
  9. Win32 posted a post in a topic in Computer Discussion
    Intimidated by those with power ? Please, crawl back into your hole and die. Dropped out of school in the sixth grade? Typical outcast. Don't talk for people other than yourself, and fellow morons, kid. Regards. Matt J.
  10. Win32 posted a post in a topic in Computer Discussion
    Wow, you just continuously prove to be dumber by the post. Please, quit humiliating yourself, it's getting beyond the joke. Regards, Your Superior.
  11. Win32 posted a post in a topic in Computer Discussion
    I certainly agree, programming languages are mediums of expression, and the overall quality of your program depends on how well you can communicate through a certain medium. Although it probably does seem like I am "stuck" on Assembly/C++, it's quite the oppisite. I use a varied range of languages, all depending on the circumstances. As you've previously touched down on, being a good programmer requires that you write your applications through a medium, but not _with_ it. A prominent trait of all good programmers is the ability to implement a language that is best suited to the task at hand, and not just use one they believe will render a better result, regardless of how inpractical it may be. Regards, Matt J.
  12. Win32 posted a post in a topic in Computer Discussion
    I believe it will be the total oppisite, I would only be gaining performance. Overall, I agree with you. I never intended to imply that writing applications in Assembly is 'the only way. Moreso, I was trying to overlay the possible benifits of implementing Assembly _and_ the language the program is written in primarily, such as C++, which would be my choice. And I also know very well that writing a whole application in a language like Assembly would easily become cumbersome and unmanagable, due to the amount of code required to perform even the smallest operation, in which another language, such as C++, the same operation could be performed in one line. All-in-all Assembly is not a practical choice for writing applications, atleast not complex ones. Although, I believe a mixture can certainly be benificial to the applications overall performance. Personally, I write commonly used and CPU-bound routines (String length calculation, Encryption, Conversion, ect...) all in Assembly, and for the most part have these in a seperate DLL. Regards, Matt J.
  13. VB is full of lies and irrelevent abstract concepts and terms, it never has been, and never will be suited to commercial application development, nor any application that requires a higher level of complexity than how to minimize a window. C has been used for the development of the majority of operating systems on the market today, including both Windows and Unix. It is the next step up from Assembly, and provides both an extensive range of built-in optimizing keywords along with the ability to produce code that is 80% identical to that of Assembly, unlike VB of which you couldn't even scale against Assembly. Regards, Matt J.
  14. Win32 posted a post in a topic in Computer Discussion
    I figured as much, it makes sense if the application is not very large. I was just pointing it out as a future reminder. Well I'll clear things up for you, here's a quick example on how to use "CreateProcess": #include <windows.h> #define CALCULATOR_FILE_NAME "C:\\WINDOWS\\System32\\Calc" INT main() { STARTUPINFO CalcStartupInfo; // Buffer for the new Calc.exe startup information. PROCESS_INFORMATION CalcProcInfo; // Buffer for the new Calc.exe process information. // // Nullify both process informational structures to ensure no conflicts. // ZeroMemory(&CalcStartupInfo, sizeof(STARTUPINFO)); ZeroMemory(&CalcProcInfo, sizeof(PROCESS_INFORMATION)); // // Initialize the startup information construct. // We just have to specify the structure size, in bytes in it's 'cb' member. // CalcStartupInfo.cb = sizeof(STARTUPINFO); // // Create a "Calc.exe"'s process. // We'll be using the 'lpCommandLine' to specify the file-name, this will // allow the call to work on both 16 and 32-bit systems. // if(CreateProcess(NULL, CALCULATOR_FILE_NAME, NULL, NULL, NULL, NULL, NULL, NULL, &CalcStartupInfo, &CalcProcInfo)) { // // Wait for the child process (Calc.exe) to complete. // WaitForSingleObject(CalcProcInfo.hProcess, INFINITE); // // Close our handle to the child process. // if(CloseHandle(CalcProcInfo.hProcess)) { // // Close our handle to the child process's primary thread. // if(CloseHandle(CalcProcInfo.hThread)) { // // Return TRUE, indicating an operation success. // return TRUE; } else { // // ERROR: // Failed to close thread handle. // MessageBox(NULL, "Failed to close handle to Calc.exe's primary thread.", "ERROR", MB_OK); } } else { // // ERROR: // Failed to close process handle. // MessageBox(NULL, "Failed to close handle to Calc.exe's process.", "ERROR", MB_OK); } } else { // // ERROR: // Failed to create a new process instance from Calc.exe // MessageBox(NULL, "Failed to create a new instance of Calc.exe", "ERROR", MB_OK); } // // Return FALSE, indicating an operation failure. // return FALSE; } As you can see, all you really need to do is pass the file-name to the 'lpCommandLine' parameter and ensure the 'lpStartupInfo' and 'lpProcessInformation' pointers are valid. Aswell just ensure you initialize the informational constructs as I have showed, and you'll be fine. Regards, Matt J.
  15. Win32 posted a post in a topic in Computer Discussion
    How could you even consider slandering performance? Even if it's not noticeble to the user, it's still a benificial trait to have. My standpoint comes from the fact all projects I have been involved in have had performance and efficency as the highest priority, making it not something that you can just 'care or not care'. And that is certainly does. But having a grounding 'efficent' language is a must, otherwise all your own personal contributions are quite meaningless when the language itself hinders your ability to write high-performance code. Regards, Matt J.
  16. dark_urza, When you're writing an infinite loop, as you've done with "while(1)"; Use "for(;;)" instead. Why? Because the constant "1" will be allocated in memory (Or, if you have an optimizing compiler, it _should_ be placed in a register) and the expression will be continuously re-evaluated upon each iteration of the "while" loop, which, if your loop is going to iterate many times you can end up wasting dozens of cycles. But with "for(;;)" there is no allocation, or re-evaluation, and thus; No wasting of cycles. Just a tip. Regards, Matt J.
  17. A compiler does exactly that. Regards, Matt J.
  18. Win32 posted a post in a topic in Computer Discussion
    Lawl, VB for networking ? Now there's a lost cause. Regards, Matt J.
  19. Win32 posted a post in a topic in Computer Discussion
    [myg0t]theMinkey, What are you complaining about?
  20. Win32 posted a post in a topic in Computer Discussion
    Be a real man, learn Assembly. You can only classify yourself as a 'hacker' if you have mastered the Assembly language. Although, the art of 'hacking' is really just synonymous with "script/packet-kiddie", and quite a dead term in the real world. I laugh at the little kiddie-scripters who even suggest "VB", keep in mind; The most advanced application you can write with VB is a text-editor. Therefor; VB would be your _worst_ choice if you want to learn anything but pretty pictures and abstract terms that do not relate to the real world. C++ is a great choice, Java is not. Java is NOT programming, it is, technically; Scripting. And is therefor a very poor candidate for your 'hacking' intentions. I would suggest you invest in a book, such as "C++ Fundamentals", it's a great book for beginners. It costs around the 65$ mark. (45$ USD give/take) And as for Assembly, any book would do; So-long as there not that "LERN ME IN TEH 21 DAYZ". And um, You are a total moron, the perfect example of how little kiddie-scripting VB junkies actually know about computers, at all. Regards, Matt J.
  21. Win32 posted a post in a topic in Computer Discussion
    [myg0t]pr4wn, Going by the error stated, I can think of three possible scenario's: # The installer failed to unpackage a required library either partly or not at all, or, since you downloaded it; More likely the library wasn't accompanied with the installer in the first place. # The library Photoshop is refering to might of a system nature, and therefor, assumes you have the library already located on your system. # The library has been manipulated by someone, possibly for the purpose of 'cracking' or some such childish art. * Note: "Library" / "Application Library" refers to a file, a Dynamic Link Library (.DLL) It would be much more helpfull if the error specified _which_ library caused the problem. I would suggest you re-download Photoshop from a different source. Regards, Matt J.
  22. Win32 posted a post in a topic in Computer Discussion
    dark_urza, From first glance it seems quite a usefull application, congratulations. Obviously, I have a quarrels with the code, which you can happily ignore; #1: Why are you using a mix of the Windows API _and_ the Standard Library ? Usually the reason for using the 'Std Lib' is to provide a very primitive level of platform-independence. but due to your implementation of Windows-specific routines, it seems trivial. #2: No error handling? Although we all tend to assume some routines will never fail, (Such as "GetSystemDirectory" which has never failed once on record), it's good practice to atleast check the return values to detect errors. #3: There's a small compatibility issue, you're mixing 32-bit calls with 16-bit (Namely; "WinExec") ? If you want other users, with possibly older machines, to run your application you can use the independent "CreateProcess" routine instead of "WinExec". It does not _usually_ cause a problem, but there's always exceptions. Regards, Matt J.
  23. Brother, Yes it is possible. Upon boot, enter the boot menu (Usually F12) and depending on your system manufacturer you will have to navigate to your 'boot options' and select which drive to boot from. Regards, Matt J.
  24. Win32 posted a post in a topic in Computer Discussion
    Joop, Because I'm not one of you internet-trolls. <3 Regards, Matt J.
  25. Win32 posted a post in a topic in Computer Discussion
    t3rm1ght, Get back to gaming while stuffing your chubby face with twinkies. Riteo geeklet? Regards, Your Superior.