View unanswered posts | View active topics It is currently Wed Jan 16, 2019 11:54 am



Reply to topic  [ 2 posts ] 
 Create new process with libctru 
Author Message

Joined: Fri Nov 16, 2018 11:47 am
Posts: 1
I don't understand how to create a new process that it a copy of the current process with ctru.
I have to use svcOpenProcess + svrRun ?
If yes:
- Use CUR_PROCESS_HANDLE + svcGetProcessId is a good way for getting current process id ?
- For the svcRun function, a StartupInfo is asked. Which priority I have to give to my new process ? What is the stack size argument ?

If no, how to do that I want ?

By the way, I don't undersand how to interpret error messages when I use ERRF_ThrowResult.
For example, how do you understand this error: 0xd900060C (Error type: generic, Address: 0x00100D34) ?

A big thanks for those who could help me ! :mrgreen:


Fri Nov 16, 2018 12:02 pm
Profile
Site Admin

Joined: Tue Aug 09, 2005 3:21 am
Posts: 1314
Location: UK
What you want to do isn't possible, sorry. The 3DS OS doesn't work like that.

_________________
Help keep devkitPro toolchains free, Donate today

devkitPro IRC support
Personal Blog


Thu Jan 03, 2019 2:34 pm
Profile ICQ WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  
  Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.
Get devkitPro at SourceForge.net. Fast, secure and Free Open Source software downloads