Programming and Coding
Programming and coding tips, help and solutions...
1,883 topics in this forum
-
[delphi] Get Upload/download Speed
by 4e4en- 10 replies
- 6.1k views
Hello, i would like to know, how i can get actual upload/download speed, like DU Meter. I searched in MSDN, but i didn't found anything, usefull. Can you provide some info, or atleast function names. The best variant would be with small example. thanx.
-
About Displaying International Language
by cuties- 1 reply
- 2.9k views
I want to display my language in font that i have in asm. like the menu and all that how?
-
Writing Patch In Vb
by Pimp.exe- 5 replies
- 3.5k views
I had seen it asked for here and other places so I put together a .bas module for VB to create patches in VB rather easily. I had alot of code for this scattered and finally put it together. I made it as painless as possible I promise lol. Its all contained in a single sub and commented. Also comes with an example. Hope this helps some of you... http://rapidshare.com/files/64577808/VBOffsetModule.zip
-
Creating Buttons
by Mazuki- 1 reply
- 3.2k views
i am making an autorun for a cd im also creating, and can't figure out how to make a button either circle....or without a border, is there any way to do this with VB 6.0? really what i'm trying to do is make the button switch graphics when clicked, which i succeeded in, but have no border, right now there is an ugly grey square border around my circle graphic, and it makes for a nasty interface any thoughts? thanks for helping
-
How To Kill A Process From Your Application
by TheCodeCracker- 4 replies
- 3.6k views
hi I like to ask that how can i kill or close a process from my code suppose a process is already running in the memory e.g Notepad opened or some game is running than how can we close it from our code. (languages can be any :masm, c++, vb).
-
Hardware Bkpoint
by Rumour- 2 replies
- 3.5k views
How can set hardware bkpoint by asm code? (masm) Google find only in C: //Set your context flags like this this->cx.ContextFlags = CONTEXT_FULL | CONTEXT_DEBUG_REGISTERS;//Creates a Hardware Break on Execute Breakpoint bool DebugEngine::SetBreakOnExecute(DWORD addr) { if (!this->UpdateContext()) { return false; } cx.Dr0 = addr; // set Bp addr cx.Dr7 = 0x1; //activate it if(!this->SetContext()) { return false; } return true; }But I need in masm, google not find. I ask in ARTeam too. No answer. This perhaps somebody here have know how? Thank for all tip.
-
- 0 replies
- 2.9k views
Hi, i was sure there was a keygen example on here but i didn't find it. anyway i wouldn't mind seeing an example of both a patch and a keygen if possible in powerbasic. thanks
-
Directory Listing In Asm?
by Pimp.exe- 2 replies
- 3.2k views
I know this should be simple and to many of you it probably is, but I am using RadASM and have a dialog with a listbox on it. What I want to do is fill this listbox with every .mp3 file in D:\Music. I have tried the invoke DlgDirList and the SendMessage LB_DIR but with no success. Program would either crash or simply give me an empty list box. I did debug it with olly, and still am unable to find out the solution. If anyone could, can I get a working way to do this? Please remember that the less code the better as asm isnt my strongest language. Thanks guys.
-
Wat Programing Languages R There
by cegy- 6 replies
- 3.7k views
i was wondering wat programing language is there that u can make ur own patch/ keygens in i know a few of them but i would like to c wat u guys say. delphi c++ c asm vb vc.net c#
-
Saved By Olly?
by Scale- 1 reply
- 3.9k views
I wrote these 2 tiny functions and they work perfectly when its running in olly but if i try to run it stand alone it crashes :S Now the only thing i can think off that might be causing it are the MOV ECX's they used to be like MOV ECX,DWORD PTR SS:[EBP+0x144] I had to hard code that value becuase EBP isnt set correctly since i call the function from different locations that they should. But if thats the case how work it does work when olly runs and doesnt when its not. function 1: PUSH 0x7 //default MOV ECX,0x147740 //hard coded value CALL 0x04EC933 //default PUSH 0x0 //default PUSH 0x0 //default PUSH 0x0 //default PUSH 0x0 //default PUSH 0x1F //hard co…
-
D3d9 In Game Menu
by ragdog- 1 reply
- 4.2k views
hi i search a directx9 in-game menu with drawtext funktion in masm can your help me please? greets ragdog
-
I Need An Easy Crackme Source Code
by Guest salam2002- 5 replies
- 6.2k views
Hi all, Could you please post source code for a very easy CrackMe. I'm not VC++ programmer, but i need this source code *urgent*. Thanks.
-
Uallcollection Download
by ChupaChu- 3 replies
- 4.9k views
Get it here: uallCollection.zip Its powerfull sources in Delphi - pretty hard to find (my provider had it blacklisted, thanks to people whom helped me to find it!) BTW: if anyone has original examples for omorphia project (that have been removed from inital package), please share it! EDIT: thanks to SK for providing link to omorphia project! Hope this will help to all Delphi coders Best Regards, ChupaChu!
-
Link Error [c++]
by Guest [n]ewcom3R- 5 replies
- 3.4k views
Hi all, I have a big problem!! I wanted to create a C++ app. I have a resource file with dialog.. I defined my functions in a file named threads.cpp and the prototypes in a file named threads.hpp. The main dialog was defined in main.cpp when i wanted to compile the project there were serveral errors: main.obj ERROR LNK2005 main.obj ERROR LNK2019 here are my files: threads.cpp #include "fstream"using namespace std;bool CreatePhPLoaderFile(char* PhpFileName){.... }threads.hpp #include <windows.h>#include "Threads.cpp" #include "resource.h"HINSTANCE hInst; HWND dlgMain;bool CreatePhPLoaderFile(char* PhpFileName); and now my main.cpp <div class='codetop'&…
-
- 3 replies
- 3.6k views
Hi all, I gave an example of keyfile that patch directly in the registry, you just put a destination in the source my source unit Main_Form; interface uses Windows, SysUtils, Classes, Controls, Forms, StdCtrls, Buttons; type TMainForm = class(TForm) Button2: TButton; Edit1: TEdit; Label1: TLabel; Label2: TLabel; procedure Button2Click(Sender: TObject); private { D
-
Delphi To Fasm
by Isaev- 3 replies
- 16.4k views
Function GetAppDataPath:String; Var Test:Array[1..255] Of Char; Begin FillChar(Test,SizeOf(Test),Ord(' ')); SHGetSpecialFolderPath(Application.Handle,@Test,CSIDL_APPDATA,False); Result:=Trim(Test); End;Path:=GetAppDataPath+'\mypath\txt.txt';
-
Using An Nfo File In Masm?
by zart- 6 replies
- 3.6k views
Hey guys, I've searched through the forum so I don't believe this has been asked yet. I did find an example by UFO-Pu55y in the PNG keygen template he released. Though I was wondering if someone could provide a "watered down" example of an nfo viewer in masm? I sort of understand whats going on, but something a bit simpler would be much appreciated. Maybe I'm just being dumb but I was wondering if this is basicly what needs to be done; Load nfo from the resource, dump it into a text box and set the text box to be the Terminal font. Thanks, and sorry if this is a dumb question.
-
- 2 replies
- 3.7k views
Anyone can help how to make Tab Control in masm like this I try to make Tab Control but program can't run
-
Detect If File Exists
by ChupaChu- 4 replies
- 3.3k views
I was trying to detect if syser is runing or not, idea is if it is running read access to its driver file will be denied.. balah blah.. but strange thing happens when i execute this code: function isitthere:boolean; var s:pAnsiChar; s1,s3:string; begin GetSystemDirectory(s,255); //s is Pchar of system folder (e.g. c:\win\system32) s1:=String(s)+'\drivers'; //s1=drivers path of windows - where sysboot usualy is.. SetCurrentDir(s1); //change to s1 dir s3:='SysBoot.sys'; Result := FileAge(s3) <> -1; //look for file s3 (true if its there false if not there) end;When i run this code it throwas an exception - access violation of some kind, then i terminate the process …
-
How To Convert String To Pansichar Type?
by ChupaChu- 2 replies
- 9.1k views
How do i convert Strings to PChar type? And how can i concatenate parts of type string with parts of type PChar and PAnsiChar? or How do i concatenate (put together/stick) multiple variables (in one) of type PChar? if i use 'bla bla' in function that requires PChar it is ok, but if i want to put together my string and for example TEMP path of my system (GetTempPath(255,P) will give us P in PChar type that has value of temp folder location) How to do that?
-
Serial Sniffer Code With Visual Basic?
by Matrix- 4 replies
- 3.9k views
Hi Friends i want a VB sample for Serial Sniffing , may you help me plz ? because i not found sample in Internet Tanx
-
Windowless Control Buttons
by wouldbehacker- 1 reply
- 2.9k views
Hello I was wondering if anyone has investigated windowless controls ? Tools such as Spy++ provided with VC++ cannot tap into the messages sent between these and the container. I'd like to be able to hook into the place where the 'hit area' of the button is and its status. As the buttons are just 'painted' onto the screen theres not a lot of into go on and my reversing skills are not up to the job yet. Any advice would be greatly appreciated or if you have time I'd gladly pay for C++ code which shows a solution to the problem. Thanks !!
-
Decrypt File Into Memory
by Matrix- 10 replies
- 4.6k views
Hi Freind i encrypted a file with AES algorithm and i want decrypt it into Memory via a Program, i don`t want make any temp file . plz help me
-
Polymorphism In Delphi
by midnewbie- 0 replies
- 3.5k views
hi, i wanted to make this simple Crypter Stub (not the body that is crypted) polymorphic which is on every crypting exe generating diffrent kind of code for the Stub, just like morphine. but i have no idea technically what Polymorphism looks like other that the Definition the defnition says Polymorphic exe is a program which generates different code algorithm on every execution, can it be done with delphi code show me how please for i have attached some delphi simple xor crypter. here is the Stub Code --> procedure AddExeLoader; procedure _load_iat; stdcall; forward; procedure _load_code(lpLoadLibrary, lpGetProcAddress: Pointer; lpSectionBegin: DWORD); stdcal…
-
How To Dump Memory Of Process Programatically?
by rongchaua- 2 replies
- 3.9k views
Hi all, I would like to dump the memory of a process to a file (as we use Winhex to dump memory and save to file). But I don't know where to start. Are there any library to do that or some tutorial about this problem? Thank you very much. rca.