could not launch sourceboost

For C and ASSEMBLY users to post questions and code snippets for programming in C and ASSEMBLY. And for any other C or ASM course related questions.

Moderators: Benj, Mods

Post Reply
mathias
Posts: 2
Joined: Tue Sep 12, 2006 8:20 am

could not launch sourceboost

Post by mathias »

I've bought the C for picmicrosoftware, and everytime i try to run an example (lab1: leds) i get this message: could not launch sourceboost.
What could be wrong?

Kind regards

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Post by Benj »

Hi Mathias

I take it you have installed sourceboost onto your computer from the c for PICmicros setup. Is your program files directory named in a different language. If so you may have to make a folder called program files on your C drive and move the sourceboost directory into it. Let me know if this doesn't work or if you already have the standard c:\program files\ directory and I will see what else I can do.

mathias
Posts: 2
Joined: Tue Sep 12, 2006 8:20 am

Post by mathias »

I indeed installed the sourceboostversion from the cd-rom. Its located in: c:\program files\sourceboost
When i try to acces sourceboost by the c for picmicro course, the error says: could not launch sourceboost
"C:\program Files\SourceBoost\ide.exe"%1"
Is this a directory problem?

User avatar
Steve
Matrix Staff
Posts: 3433
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Post by Steve »

Ok, here's a fix that seems to work here...

You need to set the "ExePath" registry entries in *both* of these locations to the location of your "ide.exe" file:

Code: Select all

HKEY_CURRENT_USER\Software\MatrixMM\C4PICs3
HKEY_LOCAL_MACHINE\Software\MatrixMM\C4PICs3

Code: Select all

ExePath=c:\Program Files\SourceBoost\ide.exe
Or create a "c4picsfix.reg" file containing the following text, and run it:

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\matrixmm\C4PICs3]
"ExePath"="c:\\Program Files\\SourceBoost\\ide.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\MatrixMM\C4PICs3]
"ExePath"="c:\\Program Files\\SourceBoost\\ide.exe"
[Note that if your installation directory of C4PICs or SourceBoost was different, then the strings in the registry will need to reflect this]

Please take the usual precautions when editing the registry

Post Reply