Código
.386 .model flat, stdcall option casemap :none include windows.inc include user32.inc include kernel32.inc include advapi32.inc includelib user32.lib includelib kernel32.lib includelib advapi32.lib .data SubKey db "Software\Microsoft\Windows Live\Messenger",0 Nombre db "Multiple Instances",0 Mensaje db "Carpeta No Encontrada",0 Titulo db "Error",0 .data? hKey dd ? Buffer dd ? .code Main: invoke RegOpenKeyEx,HKEY_LOCAL_MACHINE, addr SubKey,0,KEY_ALL_ACCESS,addr hKey .if al==NULL invoke MessageBox,NULL,addr Mensaje,addr Titulo,MB_OK + MB_ICONINFORMATION .else invoke RegSetValueEx,addr hKey,addr Nombre,0,REG_DWORD,addr Buffer, 1 invoke RegCloseKey,addr hKey .endif invoke ExitProcess,0 End Main
y como la imagen vale mas que mil palabras
esto es lo que quiero hacer
y porsupesto darle un valor