Programming and Coding
Programming and coding tips, help and solutions...
1,910 topics in this forum
-
Hi guys, does anyone know a example / way how to set a progressbar into tray as icon to show the progress status?So you know like Taskmanager does it. Thank you
-
-
- 19 replies
- 9.8k views
- 1 follower
-
-
Hi guys, just have a quick question about Listbox control and using some colors into them.Normaly I dont use OD for ListBox control but in this case it seems I have to use any.My goal is it just to color the background and specific text entrys I do send into the LB.All in all just 3 colors - Background, - TextColor Blue for normal logs / state (all ok) & TextColor Red for Error logs.So in normal case I color back / text at WM_CTLCOLORLISTBOX message but it seems I can not color the text entrys seperated... Info 1 <-- Blue Info 2 <-- Blue ErrorX <-- Red ....I get all blue or red only = Bad.Otherwise I dont wanna make any large Own…
-
-
- 21 replies
- 8.3k views
- 2 followers
-
-
Hi Can anyone convert this delphi code to BV6? procedure TKeyGen.Button1Click(Sender: TObject); const Const_Array : array[0..7] of Char = ('e','n','c','r','y','w','e','b'); Var StrName, Part2, Code : string; i, AL, Last_Char : Integer; begin Code := '' ; StrName := Edit1.Text; If StrName = '' then Edit2.Text := 'Enter your Name !!!' else Begin For i := 0 to length(StrName) - 1 do begin AL := ((Ord(StrName[i + 1]) + (i) + Length(StrName) + Ord(Const_Array[(I and 80000007)])) mod 10) + 48; Code := Char (AL) + Code ; end; Last_Char := ((Length(StrName) + 112) mod 10) + 48; Edit2.Text := …
-
-
- 14 replies
- 7.1k views
- 1 follower
-
-
Hi guys, I have again a small question about piping a CLI output to my buffer.So I just wanna start a CLI app with paramters and reading the output (content I also see in CMD window) so long till its finished.So the only problem I have so far is how to wait till its finished.Lets say the CLI app needs a while (a minute etc).My question is what function/s I need to use for that?I see I cant use WaitForSingleObject with INFINITE paramter so this dosent work because the CLI app dosent exit itself so long I didnt had reading the bytes.If I just read the bytes using PeekNamedPipe / ReadFile function then I dont get the whole content = it quits to early and the CLI app is …
-
-
- 34 replies
- 17.5k views
- 1 follower
-
-
Hi again, short question.I wanna create random values (0 till -1h) and found 2 C++ function called rand and srand. https://www.cplusplus.com/reference/cstdlib/rand/ https://www.cplusplus.com/reference/cstdlib/srand/ So if I check it right then I have to call first srand with any value X as paramter and then calling rand right after.If I do that to call srand first with same value like 10h then I get a results of 5Ah back from rand function.So is it just to prevent creating same random values?Should I call it like this below each time if I need to create a random value? .data holder dd FALSE invoke crt_srand, holder invoke crt_rand inc holder …
-
-
- 12 replies
- 6.7k views
- 2 followers
-
-
Hi guys, I was trying to check out those splitter control (pseudo control) stuff and don't find any easy examples for that.I didn't worked with splitter/s before and I would give it a try to know how to use and implement it if I should need it.So I am not really sure anymore about that splitter stuff.Is it a real control class I can use with CreateWindowEx or is it just a pseudo control created by few controls (EDIT etc) using the WS_EX_CLIENTEDGE style?!?In MASM package I can find a example source (masm32\examples\exampl05\splitter\splitter.asm) and the code does just that to create 2 EDITS (no splitter control) and working with that.This seems to be really tricky s…
-
- 0 replies
- 5.3k views
- 1 follower
-
-
public const string Test = "{ConstText}"; And Found Const using (var module = ModuleDefMD.Load(Resources.Stub)) { foreach (var type in module.GetTypes().Where(t => t.HasMethods)) { IList<FieldDef> fieldstr = type.Fields; for (int i = 0; i < fieldstr.Count; i++) { // fieldstr[i].Name - This found const string } } How to change ?
-
-
- 5 replies
- 7k views
- 1 follower
-
-
// ConsoleApplication1.cpp : This file contains the 'main' function. Program execution begins and ends there. // #include <iostream> #include <stdio.h> #include <Windows.h> //Returns the last Win32 error, in string format. Returns an empty string if there is no error. std::string GetLastErrorAsString() { //Get the error message ID, if any. DWORD errorMessageID = ::GetLastError(); if (errorMessageID == 0) { return std::string(); //No error message has been recorded } LPSTR messageBuffer = nullptr; //Ask Win32 to give us the string version of that message ID. //The parameters we pass in, tell Win32 to create the buffer that holds the message f…
-
-
- 4 replies
- 5.8k views
- 1 follower
-
-
Can you ülease help me with some code snippet or example on how to change a byte[] with dnlib or other libs ? thanks
-
-
- 6 replies
- 7.5k views
- 1 follower
-
-
using var module = ModuleDefMD.Load(Properties.Resources.Bin); // How to change this icon ? module.Write("Save_NewFile.exe");
-
- 0 replies
- 5.2k views
- 2 followers
-
-
Figured I drop this here. Its the packer and decompressor I use for my private build of my exe packer. Feel free to do what you want with it. lzma_decenc.rar
-
- 1 reply
- 15.8k views
- 1 follower
-
-
hi there guys , does anyone have this effect that is actually missing ? recently came across this link where it had the download links to these kind of effects (which are already dead) , and i really want to add this effect for my next templates .
-
-
- 5 replies
- 5.8k views
- 2 followers
-
-
Hi All What could be the code in Assembly for the below Python code? Result =str(random.randint(800000,899999)) This is just to get random number of 6 digit between 800000 to 899999. Thanks
-
Hi Is there any easy way to convert .py to exe? Thanks
-
-
- 1 reply
- 5.9k views
- 1 follower
-
-
Hello, How can I learn how an executable file work and when open a file in a reverse engineering or debugging tool, understand it? Thank you.
-
-
- 2 replies
- 6k views
- 3 followers
-
-
how to remove or fix opcode please help image:
-
- 2 replies
- 5.4k views
- 2 followers
-
-
lo, anybody ever had 'luck' converting Bassmod.DLL into a .LIB ? For static linking I mean... I guess lotsa ppl would love to have it. I've tried the tool 'Dll To Lib' on it, but somehow it fails bigtime.. all generated symbols are crap.. useless. (and yes I've unpacked it before ofc ^^) I don't know about any other tool. Somebody out there having experience in this topic? cheers
-
-
- 40 replies
- 47.6k views
- 1 follower
-
-
I would like to have a guide to start with the development of UEFI drivers Any help will already be very useful
-
-
- 2 replies
- 6k views
- 1 follower
-
-
IOS 14.2 (using 13.3. SDK) having ran around for a few hours trying to figure out how to write some code on the iPhone I decided to quickly sum up a few snafus I ran into on various message boards Yes theos works and if you follow the theos install tutorial on their dev site there shouldn't be problems with theos except your Makefile should contain if using the below referenced private iOS 13 SDK (I had unzipped the SDK-master into theos sdks folder then unzipped the iPhone13.3.sdk) so the below sysroot line is different than what you may decide to do ARCH = arm64 SDKVERSION = 13.3 SYSROOT = /var/opt/theos/sdks/iOS13-Private-SDK-master/sdks/iPhoneOS13.3…
-
- 0 replies
- 6.1k views
- 1 follower
-
-
Hello, Can you convert this cmd code to Disassembly code, thank you. taskkill /IM notepad.exe /F
-
-
- 3 replies
- 5.7k views
- 1 follower
-
-
I am developing hidden vnc on windows in c++ language. I am going to connect vnc keyborad and mouse event to controlled pc. But I don't know how to send key and mouse event to certain vnc server thread. I have searched in google for a long time, but I don't have usefull information. I only know that I have to use below windows api. CreateDesktop OpenInputDesktop SwitchDesktop I'll appreciate any help.
-
- 1 reply
- 10.7k views
- 1 follower
-
-
i am working on a confuserex mod and i'm a beginner so i doubt it's very good but i am trying to find a way to make my mod create a custom class while obfuscating called "Program.cs", i'm clueless on how to do this and appreciate any help. thanks
-
- 2 replies
- 6.9k views
- 1 follower
-
-
c# code like this: string str = "MyString"; What is the meaning of each area in memory as below?
-
-
- 1 reply
- 5.5k views
- 1 follower
-
-
I'm trying to write my own PE reader and would like to get the size of an export function. But this information is not provided in the export directory of the PE header. How can I get the size? This must be possible somehow, for exampled dbghelp knows where the function starts and ends. I have the same problem when trying to parse a PDB file. I can get the actual offset of the public symbol but not its size. Any ideas?
-
-
- 4 replies
- 6.5k views
- 1 follower
-
-
Hi there. I am looking for another v2m player that uses this kind of version of libv2 , because the V2M player from MagicH uses only libv2 1.0 (which he made it work for vista and later) and i saw some assembly source code that uses libv2 1.5 on a THETA NFO viewer 2.2 , so i'm gonna post a part of the code where the libv2 is initiated and loaded in asm : include ./Music/libv2simple.inc includelib ./Music/libv2simple.lib externdef c theTune:byte externdef c theTune2:byte include winmm.inc includelib winmm.lib DlgProc : ; libv2 music start invoke V2MInit,offset theTune,FUNC(GetForegroundWindow) invoke V2MPlay; anyone has this library for asm p…
-
-
- 4 replies
- 10.1k views
- 2 followers
-