- labels: bug, projectsimporter --> projectsimporter
I created a custom File Type association for
- .vcproj label:"Project File (MS Visual C++)(v7.0+)"
using existing Code::Block entries as a template...
(loading from batch file archives the same result as well.)
Project File (MS Visual C++)(v7.0+)
C:\Dev-CodeBlocks\codeblocks.exe "%1"
[Open("%1")]
CODEBLOCKS
[IfExec_Open("%1")]
CodeBlocksDDEServer
1) ^^Create File Type association^^ or skip to 2) and run via .cmd batch file:
on WinXP Windows Explorer --> Tools --> Folder Options --> File Types. new
a Program called Types ^_^ can also be used to create
custom file type association manually
(especially on Win7(default app ONLY)
and newer where the old File Types editor NO LONGER EXISTS)
"Types allows you to customize the way Windows handles different file types:
set program associations, change icons, context menus and other properties. "
http://izt.name/apps/types/
http://izt.name/apps/types/new.rss <-- ChangeLog newsfeed
requires .NET v2 or newer
2)
either double click the "Notepad2.vcproj"(step 1) FILE or run the batch file..
after C::B loads and comes up
- OK, compiler selection popup
- OK, Build Target import
Confirmation (POPUP)
Project file already exists.
Are you really sure you want to OVERWRITE it?
(apparently C::B creates the cbp file shortly after it loads the .vcproj file.
OK, that overwrite ^
REPEATs --> compiler select, OK
REPEATs --> build target import, OK.. THEN IT CRASHES!
I have included a RAR archive with a copy of includes
- Notepad 2's src,
- scintilla src, and the
- .cmd batch file I created for debugging(gdb) Code::Blocks
while loading "Notepad2.vcproj"
(customize to your system layout!)
- Debugging (gdb)_CodeBlocks__gdb Logs.txt
on a side note this bug was probably never noticed because C::B devs never actually added .vcproj to the file type associations internally
gdb log:
http://dpaste.com/33A7RQE <-- Full gdb log
http://dpaste.com/1JEECQY <-- SIGSEGV & BackTrace