- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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))
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))
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What numeric value does res have? Note that in most cases you can't use the Fortran logical tests on Windows return values.
Steve
Steve

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page