Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

thread not created

sreevani
Beginner
1,453 Views
Hi,
I am creating a new thread by using createProcess like this but res shows false all the time,that means this function is failing to create the new thread, could anyone help me in this regard....
res = CreateProcess(outputfile ,'Command.com'C, NULL, NULL, &
TRUE, IOR(CREATE_DEFAULT_ERROR_MODE,NORMAL_PRIORITY_CLASS), &
NULL,workdir, loc(si), loc(pin))
0 Kudos
1 Reply
Steven_L_Intel1
Employee
1,453 Views
What numeric value does res have? Note that in most cases you can't use the Fortran logical tests on Windows return values.

Steve
0 Kudos
Reply