Programming and Coding
Programming and coding tips, help and solutions...
1,877 topics in this forum
-
Vertical Scrolling Text help [Delphi]
by data_sniper- 2 replies
- 5.3k views
I want just to know how i can move text on a window like Text in the end of movies Its Scrolling Text but not Horizental .. i want to Create a Scrolling Text Vertical Tnx 4 helping Me
-
- 2 replies
- 3.7k views
Compare these tow messageboxs: MessageBox(0, 0, 0, 0); and MessageBox(0, 0, "", 0); The captions of them are different. What's the reason?
-
- 1 reply
- 4.2k views
Hello All mates, I created this noob example today, to show you the way to use RGN data and bitmap to make Non-Rectangular Dialog in Delphi API. Not enough time to make a full tutorial about it, so just download source code and see :Big Grin: and forgive me about any inconveniences. Link download: (Full source code + Sample Binary) by this link or Attached file below: Enjoy programming and best regards, Levis Region_DIalog_Delphi_API_Levis_REPT.7z
-
Bypass Skype API access control?
by Le Freak- 0 replies
- 6.2k views
Good day, I'm trying to automate some stuff using Skype and it's API (Skype4COM.dll). Everything is fine, however, when you access Skype COM for the first time, then it spits out a dialog like this: So you need to click some dialogs in order to confirm your application to use Skype. So I'm scratching my head, how to bypass this ugly dialog. Seems trivial, but I'm completelly stuck at the moment. I did small investigation with ProcMon - Skype stores confirmed plugin data in C:\Documents and Settings\Username\Application Data\Skype\Skypename\config.xml , however its SHA256 encrypted and unique for each plugin and its location, so, no way to copy and paste the configurat…
-
Disassembling ELF file format
by sherl0ck- 3 replies
- 6.6k views
I need to design a simulator for a SPARC based customized processor. The simulator has to be able to accept a SPARC-ELF binary as its input. Does anyone have any suggestion how to extract the RAW machine code from the ELF file so that I can disassemble it programmatically & simulate the instruction?
-
The -OK- Button (Debug/Trace) 1 2
by TBBW- 40 replies
- 23.4k views
Hi all, Story; At a certain stage during as setup (setup.exe) a window is displayed. It says Insert CD2. options; Ok, Cancel I go for the Ok option. Using Spy ++ I see the following; IRP_MJ_CREATE IRP_MJ_QUERY_INFORMATION IRP_MJ_QUERY_VOLUME_INFORMATION IRP_MJ_CLEANUP IRP_MJ_CLOSE so it does a check if cd2 is inserted. Using Olly debug; I see in the windows page Handle 002a0503 Parent 0015056E ID 00000001 Thread Main cls proc 752358F1 Is it possible to put a breakpoint on the ok button, using Olly or IDA? pressing the OK button executes a piece of code, is this easily found? I think I need to manipulate the information struct, telling the cd2 has been inserted. regards, g…
-
ST-Sound Library (YM file player)
by Ufo-Pu55y- 1 reply
- 6.5k views
Hi, well, the lib itself isn't new, but I haven't seen a clean static lib yet, ready to get used in asm. I've added some code from the SmallYmPlayer into the StSoundLibrary itself, so somebody doesn't have to worry about setting up a sound server like the SmallYmPlayer does. Lib (dynamic + static) with example code: PlayYm.7z All credits for the library to Leonard ofc: http://leonard.oxg.free.fr/ cheers
-
For visual studio users !
by Kurapica- 7 replies
- 6k views
Codekana is a Visual Studio add-in that helps you understand the code you're working on much faster. Colored outlines and highlights to show control-flow, function and class names, search results and unmatched delimiters It's FREE ... />http://www.codekana.com/
-
- 3 replies
- 7.6k views
Being a beginner, I wasn't aware that you could even inline ASM into a c++ program until I checked out this keygen challenge and saw the keygen code written by Reaction: http://forum.tuts4yo...-1/page__st__20 I copied the asm portion of Reaction's code into Visual C++ and it compiled and ran fine. However, I'm trying to use the same code in Xcode on a Macbook Pro running OS X 10.6.8, and I'm getting some errors. I don't know if it's differences in syntax or maybe I need to define some things. I'm attaching a screenshot of the errors with the code. Any help is appreciated!
-
Vertical Text Scroller Lib
by LulzCoder- 7 replies
- 6.6k views
Do anyone have vertical text scrolling library ? As diabloo's text scroller is horizontal one, I need a vertical one. Specially flicker free. Any idea, source ! HR, LulzCoder
-
How to hook recv function
by MarcosL- 1 reply
- 20k views
i m trying catch buffer of de recv function, but i not have success. I used C/C++ Code : #pragma comment(lib, "detoured.lib") #pragma comment(lib, "detours.lib") #pragma comment(lib, "Ws2_32.lib") #undef UNICODE #include <cstdio> #include <Winsock2.h> #include <ws2tcpip.h> #include <windows.h> #include "detours.h" //*IMPORTANT: Look at path if compiler error //Prototypes int (WINAPI *pSend)(SOCKET s, const char* buf, int len, int flags) = send; int WINAPI MySend(SOCKET s, const char* buf, int len, int flags); int (WINAPI *pRecv)(SOCKET s, char* buf, int len, int flags) = recv; int WINAPI MyRecv(SOCKET s, char* buf, int len, int flags); //Log files…
-
Vertical text Scrolling
by Dragon Warrior- 10 replies
- 6.6k views
Hello Guys, I was looking for a vertical text scroll engine or lib or simple sample code like u see in the about box of keygen or nfo viewer. I found diablo2oo2's scroll text lib, but it works for text horizontally. I tried downloaded some sample codes of keygen, but they include all extra things and the code is too complex to look at to figure out just how it making the text scroll vertical moving bottom-to-top n top-to-button. Can any one just put a small easy to understand sample code or hints without using any bitmap or effects. Juts simply a dialog box n text scrolling.. Thanks in advance...
-
- 22 replies
- 37.6k views
Hi guys, I am coding a new project in assembly (using MASM). I need to generate a random number each time that exe will run. To be more clear i need to generate random numbers between 0 to 9. I have tried crt_rand , but it gives me 1 every time I run the exe. Do anyone have any idea or source/demo on how to generate random numbers between 0 to 9 please tell me. And if the implementation of random function will be simple, it will be more useful. Thanks Blue Indian
-
Any static lib for playing mp3 from resource?
by alaphate- 4 replies
- 4.2k views
Which static lib could play mp3 from resource WITHOUT extracting the mp3 file to hard disk? C++ is prefered. Thank you buddies.
-
[masm] - program won't run on Win7
by DeadAndGone- 12 replies
- 6.5k views
hi all a friend of me and i got a problem. we found a nice firework-effect for asm32. but when trying to run the code in Windows 7 it crashes. Maybe someone can help us to get a working firework-effect for winxp & win7 ? pm me if you would take a look at the source
-
Static Label Text from Memory?
by SiSC0- 1 reply
- 5.6k views
Hi, i have a application that drops all Window Messages like WM_GETTEXTLENGTH etc. to prevent that another application read this control. Is there a way to get the text from memory ? I have only the control handle. WinSpy++ tells me, its a normal "Static"-Control Class.
-
Miracl ECDSA Issue
by ghandi- 5 replies
- 9.6k views
Hi all, While playing with the Miracl large integer package and using the example code as a base, i made 3 ECDSA functions: 1. Keypair generation. 2. Data signing. 3. Signature verification. Using the 'cinstr' function i am able to load parameters from ascii strings to bignum variables and it works just fine, all 3 functions are operational and correct. Using the 'big_to_bytes' function i am able to get the octet string which represents the bignums in use and i can load them back to bignum variables using 'bytes_to_big' and following along in OllyDbg i can see that all of the values are correct and exactly the same as if i had loaded them from strings. However, when it re…
-
Speech1k
by hmi222- 14 replies
- 11k views
Hi. A sample for tiny Speech under 1k. A static lib will follow! Speech1K.rar
-
- 3 replies
- 3.9k views
I subclassed a label(static text) control to avoid text flicking, and dealed with WM_SETTEXT of label's message, however, the bitblt function didn't work. Thank you. Attachment is the c++ source. //label's subclass wndProc char szBuf[512]={0}; HDC hdc, hdcMem; if(message == WM_SETTEXT) { strcpy(szBuf, (char *)lParam); lParam = 0; hdc = GetDC(hLabel); hdcMem = CreateCompatibleDC(hdc); SetTextColor(hdcMem, RGB(255,0,0)); TextOut(hdcMem, 0, 0, szBuf, strlen(szBuf)); BitBlt(hdc, 0, 0, 300, 300, hdcMem, 0, 0, SRCCOPY); DeleteDC(hdcMem); ReleaseDC(hLabel, hdc); return 0; } flickerLabel.zip
-
Prefetch Cleaner asm source
by HSN.C3r- 4 replies
- 5.5k views
Hi to all. Prefetch Cleaner This software will clean Prefetch directory of windows xp in order to speed up your windows. I wrote this program with pure assembly. Here is the source code + application: http://hsnc3r.persiangig.com/ASA/P_C.rar Password of archive: ASA-2012
-
Specular space 3d delphi
by gpuload- 4 replies
- 9.4k views
Hello everyone, how do I create this effect? When I click on the About button, check a form with specular space. I do not know exactly what it's called the effect, but I think it uses OpenGL. Thanks! P. S. Sorry for my bad English.
-
- 0 replies
- 4.1k views
ATL webbrowser had no response to <ENTER> and <TAB> key. Solved by using HOOK: WH_GETMESSAGE reference link: />http://www.codeproject.com/Articles/1097/Tabs-and-Accelerators-in-ATL-Modeless-Dialogs Thanks.
-
Kol dll with MCK form
by s0me0ne- 2 replies
- 6.2k views
is anyone familiar with kol? basically im try to inject a dll & show the form, but ive no idea what im doing with it (only just started using it) This a VCL version that works but i cant seem to figure out how to do it with KOL. why dont i just use the vcl version, because 1.xx mb is a joke & the VCL bloat gets bigger with every new release, hence the KOL replacement. uses SysUtils, Classes, Windows, Forms, Source in 'Trainer.pas' {Form1}; {$R *.res} procedure CreateForm; begin Application.ShowMainForm := True; with TForm1.Create(Application) do ShowModal; end; procedure DllMain(Reason: DWORD); var a: DWORD; begin if (Reason = DLL_PROCESS_ATT…
-
Download Delphi All Lite Editions 2012
by Ali.Dbg- 3 replies
- 26.8k views
Download Delphi All Lite Editions 2012 ________________________________________ Borland Delphi 7 Lite Tiny - Edition v7.3.4.3 Size: 16 Mb Downlod ________________________________________ Borland Delphi 7 Lite Mini - Edition v7.3.4.3 Size: 23 Mb Downlod ________________________________________ Borland Delphi 7 Lite Full - Edition v7.3.4.3 Size: 76 Mb Downlod ________________________________________ Embarcadero Delphi XE v15 Lite - Edition v4.0 Size: 170 Mb Downlod ________________________________________ Embarcadero Delphi XE v16 Lite - Edition v5.0 Size: 362 Mb Downlod ________________________________________
-
- 2 replies
- 4.1k views
I created a simple oval png and used it as the frame window of my application. I noticed that some patch used pnglib and UpdateLayeredWindow to realize regioned and transparent window. Any buddy could fix my code? Thanks a lot. Here's the main code: //UpdateLayeredWindow using Visual Studio 2003 above //or VC6 with upgraded SDK, tools->options->directories //set include path of newer SDK case WM_CREATE: PNG_Init(&g_pnginfo); PNG_LoadResource(&g_pnginfo, g_hInst, MAKEINTRESOURCE(IDR_PNG_FRAME)); PNG_Decode(&g_pnginfo); g_bmpHandle = PNG_CreateBitmap(&g_pnginfo, hwnd, PNG_OUTF_AUTO, false); PremultipliedAlpha(g_bmpHandle); return 0; case WM_PAINT: hdc…