Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
When exec CodeSnippets.exe, it's auto change Window type
Loaden:
--- Quote from: Pecan on May 26, 2009, 08:56:28 pm ---So, when running in portable mode, either use the CodeBlocks plugin version of CodeSnippets *or* use the standalone external version. But not both.
--- End quote ---
Oh. Have any way to made both use?
example: When run codesnippets.exe, it's not modify codesnippets.ini anything, but only read the codesnippets.xml ?
Pecan:
--- Quote from: Loaden on May 27, 2009, 04:01:31 am ---
--- Quote from: Pecan on May 26, 2009, 08:56:28 pm ---So, when running in portable mode, either use the CodeBlocks plugin version of CodeSnippets *or* use the standalone external version. But not both.
--- End quote ---
Oh. Have any way to made both use?
example: When run codesnippets.exe, it's not modify codesnippets.ini anything, but only read the codesnippets.xml ?
--- End quote ---
No, it doesn't fit the design or intent of the program. However, you have access to the source and can change it as you like.
ollydbg:
Hi, I find a strange problem.
I use the portable CB see:
http://forums.codeblocks.org/index.php/topic,10360.0.html
My codeblocks.exe was located in "F:\cb_svn\src\output"
But the "codesnippets.ini" was located in "F:\"
Is there something wrong?
Or this pulgin can't use the APPDATA related information to store its configuration?
Thanks
Pecan:
--- Quote from: ollydbg on June 21, 2009, 07:26:14 am ---Hi, I find a strange problem.
I use the portable CB see:
http://forums.codeblocks.org/index.php/topic,10360.0.html
My codeblocks.exe was located in "F:\cb_svn\src\output"
But the "codesnippets.ini" was located in "F:\"
Is there something wrong?
Or this pulgin can't use the APPDATA related information to store its configuration?
Thanks
--- End quote ---
CodeSnippets first looks for its .ini file in the executable folder.
If it doesn't find the .ini file in the executable folder, it uses the location reported by the Configuration Manager.
It knows nothing about APPDATA.
ollydbg:
Hi, here is the steps to reproduce this problem.
1, unzip a nightly build or build the CB from SVN source. ( a clean CB, with out APPDATA folder)
2, copy CbLauncher.exe to the folder where codeblocks.exe locates. (suppose in "F:\cb_svn\src\output")
3, run CbLauncher.exe
4, then a "codesnippets.ini" will appeared in "F:\"
Any comments? :D, I will report to Biplab.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version