Hello Coders,
i don't have any expirence in win32 threads, but some
background in programmig
My question is how do i share memory (varaibles) between
the creator of the thread and the thread itself.
Here a pseudo code:
unsigned long bytes;
thread = CreateThread(..,..,..,)
while (Bytes < 1024)
printf("Bytes: %ld\n"),
..
.
Thread Code:
{
bytes++;
}
I hope the principle is understandable ?? :-)
Best Regards,
Robert