I use Win 32 API for thread creation :

unsigned long _beginthread( void( __cdecl *start_address )( void * ), unsigned stack_size, void *arglist );

How do I pass the multiple parameters to arglist?

Thanks a lot.

Rgds,
perlsu

You should create a single structure with the required arguments as members and pass it to the _beginthread function.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.