Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Current SVN-HEAD reminds again and again about file association

(1/2) > >>

MortenMacFly:
Dear all,

I am having troubles with the current SVN-HEAD:
Everytime I open Code::Blocks I get the message: "Code::Blocks is not currently the default application for C/C++ source files. Do you want to set it as default?". I click "Yes" (also the setting is enabled in the environment config) but the question is raised everytime again when I close/open Code::Blocks. I also tried "Set now" in the environment settings but that does not help.

Furthermore any additional file type associations I typed in manually are lost after re-openening C::B. Any hints?

Morten.

mandrav:
Then why don't you turn it off until it's fixed?

MortenMacFly:

--- Quote from: mandrav on December 08, 2005, 10:24:31 pm ---Then why don't you turn it off until it's fixed?

--- End quote ---
I didn't know it's a bug because searching the registry I found all entries are correctly in place. So I thought it's an issue on my machine...

I've turned it off by now. Thanks.

Morten.

Edit: I've just found http://forums.codeblocks.org/index.php?topic=1569. Sorry, I didn't see it's already reported.

MortenMacFly:
By the way... debuggging through the code it seems to be:

--- Code: ---if (strVal != _T("\"") + exe + _T("\" ") + batchbuildargs + _T(" --build \"%1\""))

--- End code ---
in the DoCheckAssociation() method in "associations.cpp" that causes the error if this is of any help.

Morten.

killerbot:
Morten,

I hope you are so right and that's the cause, so Yiannis, please please, can fix it.
This thing had me going crazy yesterday  :twisted:

Navigation

[0] Message Index

[#] Next page

Go to full version