Avatar

Please consider registering
Guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
Error in CreateProcess()
No permission to create posts
March 25, 2015
12:01 am
Avatar
BrianD
Member
Members
Forum Posts: 8
Member Since:
March 24, 2015
sp_UserOfflineSmall Offline

Hey, I'm running VS Express 2013 with a brand new install of Windows 8.1 (yes I made sure to install the 08' redistrib) and I run into this error when I go to create a new project:

Error in CreateProcess() for the compiler path:
and command prompt:
"C:\Users\Brian\AppData\Roaming\RackAFX\RackAFXProjects\NanoSynth\NanoSynth.vcxproj"
Check your compiler choice in View -> Properties

In Win7 and Win8 you must be logged in as Administrator to spawn this process.

The thing is, I do have VS 2013 express as the compiler choice in RackAFX, and I am logged in as the administrator, so I'm not sure what to do. Should I try a different version of Visual Studio?

March 25, 2015
5:02 pm
Avatar
W Pirkle
Admin
Forum Posts: 143
Member Since:
January 28, 2017
sp_UserOfflineSmall Offline

CreateProcess() is a low-level windows function that RackAFX uses to launch Visual Studio programmatically.

The only time this has been a problem in the past was due to incorrect permissions from Windows, or anti-virus software preventing the function call - the OS/virus software isn't letting RackAFX call the function. It is not an issue with redistributables or RackAFX itself - any software that tries to call this function would also fail. It will also fail if you try to install RackAFX onto the desktop (which it appears that you have not done),

We are using WIn8.1 and VS2013 Express/Pro.Community without issues. You could try a different version of VS but I doubt that would fix the problem.

Are you creating a new project or opening an existing one (NanoSynth)? I don't think it would make a difference but just curious.

- Will

March 25, 2015
8:19 pm
Avatar
BrianD
Member
Members
Forum Posts: 8
Member Since:
March 24, 2015
sp_UserOfflineSmall Offline

Well I allowed RackAFX through firewall and addressed permissions as best I could and was still getting the issue.

However, I then opened the project in RackAFX, which brought up that error and clicking ok leads to a running RackAFX with the compiler not found error. I thought maybe I could get it to work by opening the visual studio project manually. So, I opened it in VSExpress and tried to use the load button in RackAFX. This brought up the CreateProcess() error again, but this time when I hit OK a second dialogue appeared that said:

"Could not create process for VCExpress.exe - Make sure it is installed on this computer!"

And thought that might be a big clue, because on my computer VS is installed as VSWinExpress.exe not VCExpress.exe
So, I went to the install location and renamed it VCExpress.exe. Reloaded the RackAFX project, got the CreateProcess() error again but this time when I hit load and OK'd through CreateProcess() error dialogue the second dialogue reappeared but read:

"Compiler not found - it is either loading up now of you closed it. Wait or reopen it."

So I manually opened Visual Studio again but because I had renamed it there were compatibility issues and I wasn't able to even view any of the projects files at all.

And, that's where I am at now; still basically no progress. Do you think maybe one or both of the install might just be corrupted and I should try a clean re-install of RackAFX and VS?

March 26, 2015
6:36 pm
Avatar
W Pirkle
Admin
Forum Posts: 143
Member Since:
January 28, 2017
sp_UserOfflineSmall Offline

There are multiple versions of Visual Studio - it looks like you have VS 2013 "for Windows."

You need VS2013 "for Windows Desktop"

https://www.visualstudio.com/downloads/download-visual-studio-vs#d-express-windows-desktop

The Desktop version is for building plugins and desktop apps, executables, etc.... It specifically supports Win32, which is what the RackAFX plugin API uses (as well as VST2 and VST3). The "for Windows" version is for building Win8 apps and windows phone apps.

March 26, 2015
7:59 pm
Avatar
BrianD
Member
Members
Forum Posts: 8
Member Since:
March 24, 2015
sp_UserOfflineSmall Offline

Will,

You were right! haha, thank you very much!

I completely forgot that a lot of apps make that distinction now. But it RackAFX was able to launch the compiler immediately once I had the right version installed!

Cheers.

Forum Timezone: America/New_York

Most Users Ever Online: 36

Currently Online:
7 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Skyler: 47

Peter: 41

Derek: 41

clau_ste: 39

Frodson: 38

Gwen: 32

EZB: 24

lppier: 23

Msaldaña: 18

Jorge: 17

Member Stats:

Guest Posters: 1

Members: 476

Moderators: 1

Admins: 4

Forum Stats:

Groups: 11

Forums: 30

Topics: 482

Posts: 1876

Newest Members:

sam, annaharris, Marie Weaver, kev, Steven, Mr Anderson, mguy, omelc

Moderators: W Pirkle: 143

Administrators: Tom: 65, JD Young: 80, Will Pirkle: 0, W Pirkle: 143