For example, I have these variables:

nAdr db 104 dup(0) Caption0 db "START", 0 

How do I display this array in a MessageBox ? In this situation does not display anything:

 invoke MessageBox, 0, ADDR nAdr, ADDR Caption0, 0 
  • Does the window even appear at startup? Is the window name displayed correctly? - Sten Ford
  • Yes, there is no data - Artem Aleksandrovich
  • And what exactly do you have in nAdr? in the fact that you showed binary zeros there at all and they cannot be output, because the output to zero just works. And what do you mean by the way "output in binary form"? Is it in the form of 0 and 1? - Mike
  • Well then, everything is clear, read the comments above. Your array consists of 104 zeros, and the output occurs to the terminating zero as a sign of the end of the line. It is necessary to put good data in the array and the end is mandatory 0. - Sten Ford

0