Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

thread not created

sreevani
Beginner
506 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
506 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