I am just wondering if anyone could please tell me how I could write this as a macro so that it could be used several places throughout the code (without having to write the inline asm every time):
so that it looks something like this:Code:__asm {
call short afterString
db 'myString',0
afterString:
pop myVar
}
any help would be appreciated. thank you in advance. :)Code:GET_STRING(myVar, "myString");