forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problems with START_PROCESS@
Goto page Previous  1, 2
 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
dpannhorst



Joined: 29 Aug 2005
Posts: 165
Location: Berlin, Germany

PostPosted: Fri Apr 07, 2017 1:30 pm    Post subject: Reply with quote

I have done now further investigations on the problem with START_PROCESS@ and Error 740.

The app which should be started by START_PROCESS@ has an UAC symbol in its icon and the "Properties" of the app have no "Compability" tab. So I can't remove this administrator privilege.

Even if I delete the app and rebuild it, I get the same behaviour.

This appears only for the 32-bit release of my project.
The 64-bit release is working without problems.
Back to top
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7916
Location: Salford, UK

PostPosted: Fri Apr 07, 2017 2:03 pm    Post subject: Reply with quote

I am willing to do some testing if you can provide some code that illustrates the failure. I am assuming that you are using Windows 10.
Back to top
View user's profile Send private message AIM Address
dpannhorst



Joined: 29 Aug 2005
Posts: 165
Location: Berlin, Germany

PostPosted: Sat Apr 08, 2017 3:09 pm    Post subject: Reply with quote

Paul,

I have sent an example to your e-mail address.
Back to top
View user's profile Send private message Visit poster's website
dpannhorst



Joined: 29 Aug 2005
Posts: 165
Location: Berlin, Germany

PostPosted: Sun Apr 23, 2017 12:46 pm    Post subject: Reply with quote

Paul,

I have solved the problem by using ShellExecuteEx. I have build a small function START_MY_PROCESS which works like START_PROCESS@ and has no problem with my examples.

If you are interested in the solution, I can send the source code to you.
Back to top
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7916
Location: Salford, UK

PostPosted: Mon Apr 24, 2017 6:44 am    Post subject: Reply with quote

Thank you. That would be useful.
Back to top
View user's profile Send private message AIM Address
dpannhorst



Joined: 29 Aug 2005
Posts: 165
Location: Berlin, Germany

PostPosted: Mon Apr 24, 2017 8:19 am    Post subject: Reply with quote

I have sent the example to your e-mail address.
Back to top
View user's profile Send private message Visit poster's website
silicondale



Joined: 15 Mar 2007
Posts: 243
Location: Matlock, Derbyshire, UK

PostPosted: Mon May 01, 2017 1:35 pm    Post subject: Reply with quote

I am using START_PROCESS@ in FTN95 v8.0 with no problems. 32-bit calling 32-bit, on Windows 10.

Never heard of START_PROCESS_AND_WAIT@ - how does that differ, if at all, from START_PROCESS@ where the calling program waits for the called process to finish?
Back to top
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7916
Location: Salford, UK

PostPosted: Mon May 01, 2017 1:49 pm    Post subject: Reply with quote

They serve the same purpose and are coded in much the same way but START_PROCESS_AND_WAIT@ is for Windows (e.g. ClearWin+) applications where an internal "temporary yield" is required in order to process the Windows message loop.
Back to top
View user's profile Send private message AIM Address
silicondale



Joined: 15 Mar 2007
Posts: 243
Location: Matlock, Derbyshire, UK

PostPosted: Mon May 01, 2017 1:56 pm    Post subject: Reply with quote

Thanks, Paul. My 'parent' application is Windows/Clearwin+ and START_PROCESS@ works just fine (The 'child' process is a command-window program). But maybe I should really be using START_PROCESS_AND_WAIT@ -- will try it and see if it runs any differently!
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group