Cameyo

Members Login
Username 
 
Password 
    Remember Me  
Post Info TOPIC: Error launching new executable from inside a Cameyo app 'Could not inject process ...'


Newbie

Status: Offline
Posts: 2
Date:
Error launching new executable from inside a Cameyo app 'Could not inject process ...'
Permalink   
 


I have been investigating an issue where we have problems when launching a new process from a Cameyo packaged application.

The last version of Cameyo where this worked was 2.5.1154 (We can stay on this version for now though it would ne nice to be able to move to the latest version).

Launching an application from inside the Cameyo package works.
Launching an application from another application (also inside the same Cameyo exe)) either displays 'Could not inject process' for 64 bit applications or fails completely when launching a 32 bit application.

I have created an example application which demonstrates the problem (this is the bare minimum code).
Happy to pm you a link to the example cameyo package, source code, log files (one with the error and one using Cameyo 2.5.1154 where the error does not happen) and a mht showing exactly what I was doing.

This was tested with a 64 bit Windows7 VM (nothing installed except for all windows updates and .NET 4.0) and a 64 bit Windows8 VM. Both exhibited the exact same symptoms.

Phill



__________________


Newbie

Status: Offline
Posts: 2
Date:
Permalink   
 

This is the c# code that starts the new process.

public void Launch(string path)
{

    Process proc = new Process();
    proc.EnableRaisingEvents = false;
    proc.StartInfo = new ProcessStartInfo(path, "");

    proc.StartInfo.WorkingDirectory = System.IO.Path.GetDirectoryName(Application.ExecutablePath);

    proc.Start();
}



__________________


Guru

Status: Offline
Posts: 912
Date:
Permalink   
 

Hello Phill,

Yes, please PM me links to download the following:

1. working package from Build 1154
2. non-working package from Build 1289
3. installer for the application in question
4. log files for working and non-working packages
5. instructions showing how to reproduce

Thanks.



__________________
Page 1 of 1  sorted by
 
Quick Reply

Please log in to post quick replies.



Create your own FREE Forum
Report Abuse
Powered by ActiveBoard