News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

How access to My Computer\....

Started by morlok, April 23, 2008, 11:13:13 PM

Previous topic - Next topic

morlok

Hello, when I plug my Sony USB walkman does not appear as a unit. It take the following path:
My Computer\WALKMAN\Storage Media\MUSIC

From windows explorer I can access to the MUSIC folder an copy an paste files. But How can I acces from my own program?.

Thanks.

jj2007

Assemble the snippet and put the exe in your special folder...

include \masm32\include\masm32rt.inc

.data?
buffer db 262 dup (?)

.code
AppName db "This is where I was started:", 0

start:
invoke GetModuleFileName, 0, addr buffer, 260
invoke MessageBox, 0, addr buffer, addr AppName, MB_OK
invoke ExitProcess,eax
end start

morlok