Hello,
I'm not sure about how to do it. Let's say I have this:
I'm not sure if it's right to do this. Can you show me how is the correct way to do it ?
If you wonder why i'm doing this, it's just for a lstrcat. I know that i'll have 5 bytes to concat to Sentence1
Thank you very much.
Regards, Neitsa.
I'm not sure about how to do it. Let's say I have this:
.data
Sentence1 db "blablabla",0
.data?
Sentence2 db sizeof Sentence1+5 ; <= got a warning from compiler but it compils...
I'm not sure if it's right to do this. Can you show me how is the correct way to do it ?
If you wonder why i'm doing this, it's just for a lstrcat. I know that i'll have 5 bytes to concat to Sentence1
Thank you very much.
Regards, Neitsa.
try
Sentence2 db (sizeof Sentence1+5 ) dup (?)
Sentence2 db (sizeof Sentence1+5 ) dup (?)
Or
Sentence2 equ sizeof Sentence1+5
Sentence2 equ sizeof Sentence1+5
Sentence2 db (sizeof Sentence1+5 ) dup (?)
Yes...
Yes...
Thank you very much !
Regards, Neitsa. :alright:
Regards, Neitsa. :alright: