@Kuk , en el
.EXE deje
"EnumWindowsProc" y en la
.DLL
solamente me ti y funciono
Código COBOL:
move pow-numeric of CmText1 to pid.
call "GetModuleHandleA" with stdcall using by value 0 returning hModule
call "GetProcAddress" with stdcall using by value hModule
by content "_EnumWindowsProc@8" & X"00"
returning pAddress
display "pAddress: " , pAddress.
call "EnumWindows" with stdcall using by value pAddress
by value pid
Pero viendo el error de
@Joseg le inserte el
"EnumWindowsProc" a la
.DLL y seguia funcionando
Luego quite del .EXE y el
EnumWindows y lo deje en la
.DLL y efectivamente no funciono
Espero a ver sido claro
Saludos[ATTACH=CONFIG]1009[/ATTACH]