https://media.discordapp.net/attachments/1044764388546068510/1051935933836050482/Signature_4.png
Replied
How do I make a DLL that NEVER GETS PATCHED and executes all the scripts.
You were the one who said "no such thing a stupid question" not me.. :troll:
Cancel
Post
fka as delta
Replied
What is DWORD?
Cancel
Post
https://cdn.discordapp.com/attachments/1088161134621773975/1088481077401751552/Untitled.png
Hello there
#StayHome
Replied
@LONG what profanity, I just asked a question about Dword I always see this in all dll sources. Is this supposed to be a swear word? If so I'm sorry
Cancel
Post
https://cdn.discordapp.com/attachments/1088161134621773975/1088481077401751552/Untitled.png
Hello there
#StayHome
Replied
yes, you can do it using static_cast if there is a target type constructor which allows it and you can do it using dynamic_cast ( only accepts pointers and references )
honestly that depends, from doing some research it's usually in .rodata. the way virtual function tables work is that the compiler, at the beginning of any class that has virtual functions ( this includes classes derived from classes that have virtual functions ), adds a pointer to a virtual function table which increases the size of the class by sizeof( void* ).
Cancel
Post
Added
on the off chance this is a serious question i'll reply ( it's not a stupid question, some people just make troll questions like that sometimes )
a DWORD stands for a double-word( 32 bits ), a WORD is 2 bytes ( 16 bits ), and char's are 1 byte ( 8 bits )
it's a windows typedef for a unsigned long which is 4 bytes whether on a 64 bit or 32 bit process.
note: the amount of bytes a DWORD or WORD have does not change throughout 64 or 32 bit, it stays the same, and so will the int keyword
this is why it's recommended to use std::uintptr_t over int as it'll change depending on the current architecture ( if you're writing code which is meant to be used in 64 and 32 bit, it's highly recommended you use std::uintptr_t or std::intptr_t, especially when dealing with pointers as you won't want to truncate a pointer that points to a 64 bit integer by casting it to a pointer that points to a 32 bit integer because when you dereference it you'll be losing 32 bits of information as you'll only be reading 4 bytes, opposed to the 8 bytes a 64 bit integer holds )
Cancel
Post
https://media.discordapp.net/attachments/1044764388546068510/1051935933836050482/Signature_4.png
https://cdn.discordapp.com/attachments/1088161134621773975/1088481077401751552/Untitled.png
Users viewing this thread:
( Members: 0, Guests: 0, Total: 0 )
Cancel
Post