Jump to content
Tuts 4 You

WM_COPYDATA in ASM?


wwazzup

Recommended Posts

Posted

Hey I wonder how you would use WM_COPYDATA in ASM or more specifically how to create the COPYDATASTRUCT like defined in here: Clickity Click, I am hoping someone is willing to help out a bit :P

Regards, Filiph

Posted

If you are using MASM, you can include windows.inc with your project which contains all the definitions:


WM_COPYDATA equ 4Ah...COPYDATASTRUCT STRUCT
dwData DWORD ?
cbData DWORD ?
lpData DWORD ?
COPYDATASTRUCT ENDS
Posted

Just a small tip.

When i'm not sure of how ASM works with certain code, I write it in C++ then reverse it. Yeah I know it's nasty, but with some zen-work you can learn a lot more.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...