Take a very simple program, such as the HELLO.BAS program supplied
with PBDLL 6 in the SAMPLES directory. Add the line,
msgbox str$(curInst)
where curInst is the first parameter passed to WinMain. Compile
and then run n (n > 1) instances of the program. I get n message
boxes all saying 4194304. I thought the current instance handle
value should be different for each instance of a program. Why
are mine all the same?
Keith Waters
------------------
with PBDLL 6 in the SAMPLES directory. Add the line,
msgbox str$(curInst)
where curInst is the first parameter passed to WinMain. Compile
and then run n (n > 1) instances of the program. I get n message
boxes all saying 4194304. I thought the current instance handle
value should be different for each instance of a program. Why
are mine all the same?
Keith Waters
------------------
Comment