Programming and Coding
Programming and coding tips, help and solutions...
1,882 topics in this forum
-
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.3k 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.9k 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…
-
PNG NEED HELP
by wunder- 22 replies
- 10.7k views
Hi there I have down loaded this example here but I do not remember were ....does any body know how to do the buttons in masm like the person did here ... I have looked at all of Ufo-Pu55y's sources but I can not get any to work with this button...not sure of the logic behind the spacing in the images there Win uPPP.zip
-
MASM32 SDK Version 11
by Ufo-Pu55y- 1 reply
- 5.3k views
I just noticed this accidentally and they already released it in january 2012(?), but I guess it's still worth getting mentioned? Download: http://www.masm32.com/masmdl.htm
-
- 5 replies
- 7.5k views
I'd like to retrieve all the windows having same class name "tooltips_class32" I used the win32 API function: hwndFound = FindWindowEx(NULL, NULL, "tooltips_class32", NULL); However, I could get only one window. Question is how to get all windows having the same class name. Another question is how to get the tooltip text? Using GetWindowText API, right? Thank you!
-
Memory Sizes
by Bit_Hacker- 2 replies
- 10k views
I wrote a small program to explain the type sizes to myself. But while reading a few reverse engineering books I have became confused. Inside one of the chapters I ran into this statement: << The word is understood not only as 2 bytes, but also as the size of operands by default; in 32 bit mode, the word equals 4 bytes. >> like repe movsd (repeat equal) (movsd is a dword) which is 2 words. which apparently according to the text would be 8 bytes. but in my program a dword is 4 bytes... ( Please someone straighten me out... lol ) Can someone explain this to me? #include <iostream> #include <windows.h> using namespace std; int main() { cout &l…
-
WinASM Error! Please Help
by 27ashwinkumar- 1 reply
- 21.5k views
Whenever i compile a project in WinASM studio.i get an error."failed to create....blahblah" on the bottom of my screen.when i execute it says "executing failed" Someone please help.
-
C# AES Encryption (Large Files)
by N1tro- 5 replies
- 13.8k views
Hi guys. Can someone explain why AES encryption with work large files lose or adding some bytes. Original size must be : 17,9 MB (18 819 479 bytes) I get : 17,9 MB (18 819 488 bytes) here code public static void DataEncrypt(string fileIn, string fileOut) { FileStream FILE_In = new FileStream(fileIn, FileMode.Open, FileAccess.Read); FileStream FILE_Out = new FileStream(fileOut, FileMode.OpenOrCreate, FileAccess.Write);byte[] TEST_KEY = new byte[] {0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10}; byte[] TEST_IV = new byte[] {0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10};R…
-
[need-help] Win32 Api for enum all open Port?
by pattisahusiwa- 5 replies
- 6.7k views
Hi All. I need some Win32 Api functions for enum all open port (TCP, UDP, etc) that can be implemented on XP, 7, or below. is there any function that i can be used for?
-
Memory Allocation
by TBBW- 5 replies
- 6k views
Hi all, the program I'm working on allocates a block of memory of 0x66000 bytes. (Using Olly it is displayed on the Memory Map Tab) Every time I start this program it is 0x66000 bytes. Only the Base adres differs. I want to find this block of memory (if Olly can do it, It is possible) Using C# how should I do this? regards, ger
-
The Great Demoscene Sourcecode Giveaway
by Ufo-Pu55y- 5 replies
- 4.9k views
Something happened that usually never happens: Demo hardcore coders sharing their code. Kudos to that move />https://github.com/farbrausch/fr_public
-
MSVS 2010 Issue
by TBBW- 1 follower
- 6 replies
- 6.1k views
Hi all, maybe the dummest quest of the day.... but msvs 2010 does not compile the '/', '*' and '%' operators.... (well it does compile, but the answers are not there.) I had the same issue using excell changed '/' to '-' problem solved. regards, ger
-
[Help] Vb 2010 - Transparant Textbox / Text over text
by DeadAndGone- 2 replies
- 4.1k views
HiI got a nice keygentemplate and need transparant textboxes. I already have that but the text from the textboxes is strange... Look at the pic. Maybe someone does know how to get normal text there?
-
Rsa keys
by Accede- 11 replies
- 9.1k views
I generate some rsa keys with lockbox(c++ builder xe2) now if i whant us this keys i get an error invalid integer value: Her the keys i whant us: Puplic exponent E=EB0C Modulus N=75E7D3A2D3BC5366050B13B0D149479E8997EA705ABFE096528E9967DA0D763DCDC8B814F12BC005F08838350889832C67AFBEBCE3ECA772B8EA04F81C215A45FDC80CC29294F7E1474B656B8741AB6B8CDDB52274EF230E283F7DC4C570D855 Private exponent D=C3C37306BB25C9FFE62EE26B9393FF1986612B9A5256C5EF1A7BFEED58C3CDAB482F12DBAF751AB72C60737C3B0E0B421210A80DCF431B88ACD946A32AC7F90980E73BC6A7607E12F6133AF2D48048393C3E0AD89E0A150A3C86AB618E929B46 The keys looks like littel endian to me but i am not sure. This is the code i us to gen the rsa …
-
Access Violation Error
by Dr.XJ- 3 replies
- 6.1k views
Hello everyone I have an EXE file packed by ASPACK. I want to write to a memory byte in real-time using asm code "mov byte ptr ds:[xxxxxxxx],xx" but when I do so, I get access violation error. I checked the EXE with some PE editors, code section flags was set to read/write/execute. so this won't gonna help me. what I need to do is, changing memory access in real time by using asm codes or any other way. when I load the EXE in olly and set memory mapping to full access, there will be no access violation error. I'll be pleased if anyone help me. thanks in advence
-
uFMOD & C++ (Visual) 1 2
by mynes- 35 replies
- 19.8k views
Hey Hey, I'm using Visual C++ 9.0 Express Edition, i'm trying to add a XM to a program the example file supplied with uFMOD are getting me no where, i'm pretty n00b at C++, but any kind of help would be great
-
Corkami PE Corpus...
by Teddy Rogers- 7 replies
- 18.5k views
Corkami PE Corpus [media]http://www.youtube.com/watch?v=MJvsshovITE Download Link: http://code.google.com/p/corkami/wiki/PE Ted. CPC-20111014.zip
-
Recursion
by dexter4life- 4 replies
- 4.3k views
Writing a program that recurses depends heavily on the stack; Is this a true fact? Example of a program is the legendary Towers of hanoi. //------------ //dexter #include<iostream> //the c++ standard library for stream input output #include<cstdio> //the c standard library for standard input output #include<cstdlib> //for the exit function using namespace std; class arr //arr class that holds each stag { public: int a[100],b[100],c[100]; int topa,topb,topc; }hanoi; int move=1; //counts the no. of moves int main() { void tower(int ,int *,int *,int *,int *,int *,int *); //function prototype void show(int); //function prototype int i; …
-
- 4 replies
- 4.7k views
how to make a *. it [impulse Tracker] & *. mo3 [Compressed Modules] player with Delphi or C + + without the DLL, is there anything that has ever posted? ... may I know the link? whether Un4Seen.com provide Source Code / *. DCU [Delphi Componnent unit] Bass.dll? ... Thx B4!... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
[Delphi] Snippets (Rev 0.3)
by 0xFF- 11 replies
- 7k views
Before flaming, this is a very old peice of snippet i had laying in my hd, so think before being a smart *** (example by kao is available below) and going "WHAT ????? you could of THIS instead of THIS...", no **** ? unit ToolHelp; interface uses Tlhelp32, Windows; procedure SuspendProcessThreads( pid: cardinal ); procedure ResumeProcessThreads( pid: cardinal ); Procedure UnprotectRegion(nRegion: Integer; dwRegionSize: DWORD); Procedure ByteJmp(Address : Integer); function WCharToStr(wideStr: PChar): String; procedure DbgLog(DbgStr: String); implementation Procedure UnprotectRegion(nRegion: Integer; dwRegionSize: DWORD); var oldProtect: DWORD; Begin VirtualProtect( Pt…
-
HashTable Library for MASM32
by diablo2oo2- 11 replies
- 11k views
I was missing a comfortable way to manage complex data structures in MASM. Java coders will know the HashTable class, which is very useful to store data. i coded something similar with more functions for MASM and other programming languages. features: -it will organize memory itself (will use the windows Heap functions) -like in java you can access items via a key which can be a String or an integer -support for nested hashtables (so you can create very easy complex data trees) -save/load the hashtable to disk or memory (with nested hashtables) the example will show how to create following hashtable structure: ; ht_1 ; | ; +-0-->"hello 1" ; +-1-->"hello 2" ; …
-
Updated_Keygen Template in MASM
by hibernator- 2 replies
- 6.4k views
File Name: Updated_Keygen Template in MASM File Submitter: genocide File Submitted: 20 Mar 2012 File Updated: 27 Mar 2012 File Category: Source Code This is just a simple keygen template ,hopefully useful for newbies like me , to know asm coding. The source codes are from : 1) ziggy's keygen for keygen me #01 2) text scroller from diablo2002 3) Nice "About " dlg box by EGOiST 4) Example of Playing .xm in asm by ALiEN 5) Some codes from ImportREC by MackT A big thanks to all above . Hope they won't mind it Any suggestions are welcome Thanks to mudlord for suggestions =[Read the read me file inside]= Click here to download this file