Programming and Coding
Programming and coding tips, help and solutions...
1,890 topics in this forum
-
Resolve forwarded import???
by CodeExplorer- 3 followers
- 16 replies
- 3.5k views
How to resolve forwarded import programmatically? I need general concept. They are some forwarded imports: [4274]=773D3660 ntdll.dll NtdllDefWindowProc_A user32.DefWindowProcA ->ntdll.dll NtdllDefWindowProc_A I need to get it back ntdll.dll NtdllDefWindowProc_A -> user32.DefWindowProcA Scylla does a quite great job on this, I've looked at source code but I can't understand it.
-
TITANHIDE FAILD
by Guruhardoi7- 1 follower
- 4 replies
- 68.4k views
Hello everyone Hello everyone, I was try to compile titanhide I got some error. First I try compile by visual studio 2013 as @mrexodia write in his readme. It got failed by error not compotaible supported. I try - Property to change comptable mode w7 - change REGEDIT -Try service method also all faild Now I move to next For develp driver for old windows need EWDK so I try to install it again I got error devenv.exe is missing on it . It going fear full now. Now I move to install lasted version of visual Studio 2022+sdk+wdk. First I intall visual Studio 2022 with these all -. net 8.0 runtime -net fram…
-
OLLYDBG PLUGINS DEVELOPING EXAMPLES
by Guruhardoi7- 1 follower
- 0 replies
- 1.8k views
Hello everyone I was check there are limited examples are available on internet to develop plugin for ollydbg so I resources and found plugin source code in ASM C++ DELPHI etc hope this will help someone good for new members (noob)like me(😋). https://mega.nz/file/8u1wSI4T#_8h_ftyqTAkP9scrtZm75hGayIGlso_vsSbkdoPYPw0 Enjoy.
-
Request the source code of the PE-Inject project
by Nakashi_omara- 1 follower
- 2 replies
- 2k views
Years ago, site migeel.sk had put a project called PE-Inject as Open Source for Delphi 7, and now site DelphiBasics has that project, but it is not complete, and I am looking for the complete and original version of this project. Please send if this project or a similar project has code or DLL file injection into the Exe file (I don't mean injecting the code into the running processes, but creating a new section in the exe file and injecting the DLL file or code into this section) There is new and then OEP change etc.) Thanks
-
- 1 follower
- 6 replies
- 7k views
Hello i've been reading up on some APIs and I came accross this api. I was trying to code a small debugger from it that attaches itself to a process but it seems a bit difficult to implement. Found some examples but they are not coded in delphi. Can anyone show a delphi example on how to use to attach to process? (DebugActiveProcess)
-
NET Native AOT
by whoknows- 1 follower
- 1 reply
- 2.1k views
more - flerka.github.io/personal-blog/2022-06-21-ahead-of-time-compilation/ well explained by @th3pt python-Split dotNET AOT native compiled files-th3pt.rar
-
Simple Python Code Editor
by X-88- 2 followers
- 0 replies
- 2.3k views
Language: Pascal/Lazarus supports running and stopping scripts, installing & uninstalling libraries, displaying libraries easily, there are some problems in windows 10, when running as administrator drag & drop doesn't work properly. You are free to modify this source as you wish, without needing my permission, but if possible, don't remove traces of my ID in the source code. Z-Code Editor LE 10902023.zip
-
delphi code help
by okaydoit- 15 replies
- 7.6k views
hello i want know how i can fix this code program loader; uses Windows, Messages; {$R Loader.RES} var si : Startupinfo; pi : Process_Information; NewData : array[0..1] of byte = ($90,$90); NewDataSize : DWORD; Bytesread : DWORD; Olddata : array[0..1] of byte; begin NewDataSize := sizeof(newdata); IF CreateProcess(nil,'Example.exe',nil,nil,FALSE, ; >>>>>>>>>>>********** here its like loader work i neeed change this place to run from memeory mean program is run it fully then run this code and patch prog like > i thi…
-
Change the color of grid lines for ListCtrl
by CodeExplorer- 1 follower
- 5 replies
- 2.7k views
Change the color of grid lines for ListCtrl so I've set this: m_List.SetExtendedStyle(LVS_EX_GRIDLINES | LVS_EX_FULLROWSELECT | LVS_EX_SUBITEMIMAGES | LVS_OWNERDRAWFIXED ); I've created message like this void MyListCtrl::OnCustomDraw(NMHDR* pNMHDR, LRESULT* pResult) { ... if (ShowCustomGridLines) DrawGridLines(); Now problematic code: // https://aucd29.tistory.com/2078 void MyListCtrl::DrawGridLines() { // TODO: Add your message handler code here // Do not call CListCtrl::OnPaint() for painting messages // First let the control do its default drawing. const MSG *msg = GetCurrentMessage(); DefWindowP…
-
Checkboxes in multiple columns in Visual C++ 6 ???
by CodeExplorer- 2 followers
- 4 replies
- 2k views
Checkboxes in multiple columns in Visual C++ 6 ??? References: https://stackoverflow.com/questions/27309526/how-to-add-checkboxes-in-multiple-columns-in-vc https://www.codeproject.com/Articles/29064/CGridListCtrlEx-Grid-Control-Based-on-CListCtrl I can't find simple solutions, m_List.SetExtendedStyle(LVS_EX_GRIDLINES | LVS_EX_FULLROWSELECT | LVS_EX_SUBITEMIMAGES | LVS_EX_CHECKBOXES ); int itemPos, x; CString data; m_List.InsertColumn(0,"Column 1",LVCFMT_LEFT,100); m_List.InsertColumn(1,"Column 2",LVCFMT_LEFT,100); m_List.InsertColumn(2,"Column 3",LVCFMT_LEFT,100); for (x=0;x<3;x++) { data.Format("(%d,1)",x); …
-
De4dot Wrapper Plaining For ILSpy
by modz50- 1 follower
- 0 replies
- 2.3k views
hi I was wondering if anyone is interested in contributing to creating a de4dot wrapper for ilspy i have started some of it I'm looking to see it anyone is interested and are willing to help if you please get in touch with me on Discord the source code is private on my GitHub page until further notice modz2014#4684 here is a sneak peak as well
-
[Solved] MFC MDI Visual Studio 2017 Out of the box example. Output pane: Call to function, I am having trouble....
by kittmaster- 2 followers
- 8 replies
- 7.4k views
EDIT: Link added below to the full project for downloading > Link: http://www.kittmaster.com/imagedump/snd/App1.rar Long time....Greetz to all. I'm honing some skills going forward and I can't seem to get my head around how to call a function without issue of it being static or object errors....or simply, it doesn't work. I have built an MFC MDI using the wizard, compiled it...great...starts up works fine. The point, I'm trying to write messages to the output panes......3 of them...find/debug/build. There is pre-code that starts up showing the controls all work etc....so structurally I have done nothing to alter the code from the wizard.....all is right with …
-
Crc32 Source...
by Teddy Rogers- 2 replies
- 5.2k views
Download Link: http://www.networkdls.com/Download/CRC32.zipTed.
-
- 1 follower
- 2 replies
- 2.5k views
I'm trying to set a page of memory to PAGE_EXECUTE only, I don't want any reads or writes to be possible to this page. However, after setting the page protection to PAGE_EXECUTE, read attempts can freely be made. I assume this has something to do with the CPU needing to fetch instructions from the RAM? anyway, is there any way that I can accomplish my goals here? that is: can I set a page to execute only such that no read or write attempts can be made on said page?
-
Decoding xmm instruction ??? distorm
by CodeExplorer- 1 follower
- 4 replies
- 1.9k views
Decoding xmm instruction ??? like: https://c9x.me/x86/html/file_module_x86_id_204.html I've investigated a bit distorm: https://github.com/gdabah/distorm/tree/master/src https://github.com/gdabah/distorm/blob/master/src/instructions.c static _InstInfo* inst_vex_lookup(_CodeInfo* ci, _PrefixState* ps) { ... /* start can be either 1 (0x0f), 2 (0x0f, 0x038) or 3 (0x0f, 0x3a), otherwise it's illegal. */ switch (start) { case 1: in = Table_0F; break; case 2: in = Table_0F_38; break; case 3: in = Table_0F_3A; break; default: return NULL; } in = InstructionsTree[INST_NODE_INDEX(in) + *ci->…
-
Clr Profiler - difficulties with communications
by CodeExplorer- 1 follower
- 11 replies
- 2.7k views
Clr Profiler - difficulties on communications - on tracing result result back from dll to main exe's listview. I have an Visual Studio 2010 project, profiler.dll is made on C++, main exe interface is also made on C++. I've set two environment variables: Cor_Enable_Profiling=1 COR_PROFILER={DFEC737C-D0B1-4b86-A6FD-FDD998BEEB03} and I start the process with CreateProcess The problems comes that I can't log event information back to main exe interface - listview. Profiler dll gets called inside traced process. Already tried: main exe: unsigned int wndHandle = (unsigned int)GetDlgItem(IDC_LIST1)->m_hWnd; char buffer[10]; std::sp…
-
Memory scan problem
by justdream- 14 replies
- 10.3k views
Hi guys, I've coded a basic memory scanner(DLL) in Delphi to search a string in game's memory.. but I'm with a problem.. After a few seconds scanning, the scan stops.. and I don't know why... Can you help-me? function HexToInt(s : string) : Int64; begin if (s <> '') and (s[1] <> '$') then result := strToInt64('$' + s ) else result := strToInt64(s); end;procedure FirstScan(valor: string); var dwEndAddr : dword; i:dword; mbi : TMemoryBasicInformation; valor:string; begin while (VirtualQuery(Pointer(DWORD(mbi.BaseAddress) + MBI.RegionSize), MBI, SizeOf(MEMORY_BASIC_INFORMATION))=SizeOf(TMemoryBasicInformation)) do begin if (MBI.State = MEM_COMMIT) a…
-
- 1 follower
- 7 replies
- 2.1k views
Hi guys, I'm trying to find out how to make this (title question) possible. Normally I'm using Windows Explorer as file manager and the WE does handle the drag & drop function so that all other app windows which are set in from on the WE area keep in front when you do press the left mouse down on any selected file/s so that you can move that file in any other app window if you want. Just a normal drag & drop from WE into any other app Window like Notepad for example. I would like to know how to code this. So what I have to do or possibly hook to prevent setting the focus on my own app when I press left mouse etc you know. Since a while I'm using another …
-
Looking for low level x86 dissasembler code c++
by CodeExplorer- 2 followers
- 12 replies
- 3.4k views
Looking for low level x86 dissasembler code c++ I want it at low level with knowing everything is going on, altrought information from libraries may bring usefull information. In the end I want to grab all operands, but that's final step.
-
'cmddata' : unknown size
by CodeExplorer- 1 follower
- 3 replies
- 2k views
error C2133: 'cmddata' : unknown size in h file: extern const t_cmddata cmddata[]; typedef unsigned long ulong; // Unsigned long typedef struct t_cmddata { ulong mask; // Mask for first 4 bytes of the command ulong code; // Compare masked bytes with this char len; // Length of the main command code char bits; // Special bits within the command char arg1,arg2,arg3; // Types of possible arguments char type; // C_xxx + additional information char *name; …
-
Can anyone help me to make a script for my server ? i have no knowledge about making the script
by dilip35- 1 follower
- 1 reply
- 1.6k views
i need your help to make a script for my server its a easy script but its hard for me since i don't have any knowledge on the JavaScript and programming i already attached the script screenshot
-
- 8 replies
- 5.9k views
View File tuts4you Symbolic logo source for GIMP Hello friends. I try to prepare a classic logo for the forum. -Feel free to use in your projects or documents. I hope you will like it. note:Source file only xcf format. for GIMP. sory for photoshop users. Detailed previw ( click to support button in forum page.) Submitter Skarz Submitted 09/11/2016 Category Source Code
-
- 3 followers
- 4 replies
- 4.6k views
I tried this or that, but strangely, I am unable to compile https://github.com/ribthegreat99OrN0P/Agile.NET-Deobfuscator-Latest. can anyone give advise how to reinstate 'Echo' dependencies correctly? i cant find them neither in nuget search or anywhere. Tried to manually build Echo projects and reference their dll, but was tiresome and still they were not accepted in primary solution.
-
Playing tracker file with BASS [C++, MinGW]
by Bang1338- 1 follower
- 5 replies
- 2.8k views
Hi, I'm trying to make my program to play tracker This time, i'm using BASS hResource = FindResource(NULL, MAKEINTRESOURCE(IDR_BASS), "BINARY"); hResourceLoaded = LoadResource(NULL, hResource); lpBuffer = (LPBYTE)LockResource(hResourceLoaded); dwFileSize = SizeofResource(0, hResource); GetTempPath(MAX_PATH, szTempName); GetTempFileName(szTempName, "MOD", 0, szTempName); hFile = CreateFile(szTempName,GENERIC_READ | GENERIC_WRITE,0,NULL,CREATE_ALWAYS,FILE_ATTRIBUTE_NORMAL,NULL); WriteFile(hFile, lpBuffer, dwFileSize, &dwBytesWritten, 0); CloseHandle(hFile); hLibrary = LoadLibrary(szTempName…
-
PE loaded from memory
by PeterN- 0 replies
- 1.7k views
Is it possible to create a new process of a PE file which is already in memory? I need my PE file(parent) execute a PE file embedded inside but as a separate process, not in memory space of the parent.