I tried some things with mov Variable,FileInfo.cFilename and sth like that, but nothing worked.

So how to do that. And how to get al the things with Variables, dd, db, mov, push, pop usw.
Is there any good tutorial about Variables?

Thx, SUbby
Posted on 2002-07-24 08:36:28 by Subby
RTFM, in this case Iczlion's or Thomas' Tutorial -> win32asm.cjb.net or madwizard.org

.cFileName is already a buffer. You can show it in a MessageBox with

invoke MessageBox, 0, addr wfd.cFileName, 0, 0

To copy it into another buffer, declare it in .data? and use lstrcpy or rep movsb to copy .cFileName to the buffer.

Edit: Before you ask about lstrcpy, see item 2 and item 4 of my signature. Thanks!
Posted on 2002-07-24 09:14:02 by bazik