<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>pnotepad.org forums &#187; Tag: Source - Recent Posts</title>
		<link>http://pnotepad.org/forums/tags/source</link>
		<description>Programmer&#039;s Notepad Forums</description>
		<language>en-US</language>
		<pubDate>Thu, 09 Feb 2012 07:23:54 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.3</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://pnotepad.org/forums/search.php</link>
		</textInput>
		<atom:link href="http://pnotepad.org/forums/rss/tags/source" rel="self" type="application/rss+xml" />

		<item>
                        <title>Compiling with Visual Studio 2008 (kuukkeli)</title>
			<link>http://pnotepad.org/forums/topic/430#post-1592</link>
			<pubDate>Wed, 30 Jul 2008 11:46:02 +0000</pubDate>
			<dc:creator>kuukkeli</dc:creator>
			<guid isPermaLink="false">1592@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Like you said, everything &#60;strong&#62;SHOULD&#60;/strong&#62; have worked :) Instead though I got a bunch of &#60;code&#62;unresolved externals&#60;/code&#62;. Here's the whole error set from PyPN after the above changes:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;1&#38;gt;mod_pn.obj : error LNK2019: unresolved external symbol &#38;quot;__declspec(dllimport) public: __thiscall boost::python::objects::enum_base::~enum_base(void)&#38;quot; (__imp_??1enum_base@objects@python@boost@@QAE@XZ) referenced in function &#38;quot;public: __thiscall boost::python::enum_&#38;lt;enum FindNextResult&#38;gt;::~enum_&#38;lt;enum FindNextResult&#38;gt;(void)&#38;quot; (??1?$enum_@W4FindNextResult@@@python@boost@@QAE@XZ)
1&#38;gt;mod_pn.obj : error LNK2019: unresolved external symbol &#38;quot;__declspec(dllimport) public: __thiscall boost::python::objects::class_base::~class_base(void)&#38;quot; (__imp_??1class_base@objects@python@boost@@QAE@XZ) referenced in function &#38;quot;public: __thiscall boost::python::class_&#38;lt;class extensions::IDocument,class boost::noncopyable_::noncopyable,struct boost::python::detail::not_specified,struct boost::python::detail::not_specified&#38;gt;::~class_&#38;lt;class extensions::IDocument,class boost::noncopyable_::noncopyable,struct boost::python::detail::not_specified,struct boost::python::detail::not_specified&#38;gt;(void)&#38;quot; (??1?$class_@VIDocument@extensions@@Vnoncopyable@noncopyable_@boost@@Unot_specified@detail@python@5@U6785@@python@boost@@QAE@XZ)
1&#38;gt;mod_scintilla.obj : error LNK2001: unresolved external symbol &#38;quot;__declspec(dllimport) public: __thiscall boost::python::objects::class_base::~class_base(void)&#38;quot; (__imp_??1class_base@objects@python@boost@@QAE@XZ)
1&#38;gt;mod_pn.obj : error LNK2019: unresolved external symbol &#38;quot;__declspec(dllimport) protected: __thiscall boost::python::objects::enum_base::enum_base(char const *,struct _object * (__cdecl*)(void const *),void * (__cdecl*)(struct _object *),void (__cdecl*)(struct _object *,struct boost::python::converter::rvalue_from_python_stage1_data *),struct boost::python::type_info,char const *)&#38;quot; (__imp_??0enum_base@objects@python@boost@@IAE@PBDP6APAU_object@@PBX@ZP6APAXPAU4@@ZP6AX3PAUrvalue_from_python_stage1_data@converter@23@@ZUtype_info@23@0@Z) referenced in function &#38;quot;public: __thiscall boost::python::enum_&#38;lt;enum FindNextResult&#38;gt;::enum_&#38;lt;enum FindNextResult&#38;gt;(char const *,char const *)&#38;quot; (??0?$enum_@W4FindNextResult@@@python@boost@@QAE@PBD0@Z)
1&#38;gt;mod_pn.obj : error LNK2019: unresolved external symbol &#38;quot;__declspec(dllimport) protected: void __thiscall boost::python::objects::enum_base::add_value(char const *,long)&#38;quot; (__imp_?add_value@enum_base@objects@python@boost@@IAEXPBDJ@Z) referenced in function &#38;quot;public: struct boost::python::enum_&#38;lt;enum FindNextResult&#38;gt; &#38;#38; __thiscall boost::python::enum_&#38;lt;enum FindNextResult&#38;gt;::value(char const *,enum FindNextResult)&#38;quot; (?value@?$enum_@W4FindNextResult@@@python@boost@@QAEAAU123@PBDW4FindNextResult@@@Z)
1&#38;gt;mod_pn.obj : error LNK2019: unresolved external symbol &#38;quot;__declspec(dllimport) protected: static struct _object * __cdecl boost::python::objects::enum_base::to_python(struct _typeobject *,long)&#38;quot; (__imp_?to_python@enum_base@objects@python@boost@@KAPAU_object@@PAU_typeobject@@J@Z) referenced in function &#38;quot;private: static struct _object * __cdecl boost::python::enum_&#38;lt;enum FindNextResult&#38;gt;::to_python(void const *)&#38;quot; (?to_python@?$enum_@W4FindNextResult@@@python@boost@@CAPAU_object@@PBX@Z)
1&#38;gt;mod_pn.obj : error LNK2019: unresolved external symbol &#38;quot;__declspec(dllimport) public: __thiscall boost::python::converter::shared_ptr_deleter::shared_ptr_deleter(struct boost::python::converter::shared_ptr_deleter const &#38;#38;)&#38;quot; (__imp_??0shared_ptr_deleter@converter@python@boost@@QAE@ABU0123@@Z) referenced in function &#38;quot;private: static void __cdecl boost::python::converter::shared_ptr_from_python&#38;lt;class extensions::IDocument&#38;gt;::construct(struct _object *,struct boost::python::converter::rvalue_from_python_stage1_data *)&#38;quot; (?construct@?$shared_ptr_from_python@VIDocument@extensions@@@converter@python@boost@@CAXPAU_object@@PAUrvalue_from_python_stage1_data@234@@Z)
1&#38;gt;mod_scintilla.obj : error LNK2001: unresolved external symbol &#38;quot;__declspec(dllimport) public: __thiscall boost::python::converter::shared_ptr_deleter::shared_ptr_deleter(struct boost::python::converter::shared_ptr_deleter const &#38;#38;)&#38;quot; (__imp_??0shared_ptr_deleter@converter@python@boost@@QAE@ABU0123@@Z)
1&#38;gt;mod_pn.obj : error LNK2019: unresolved external symbol &#38;quot;__declspec(dllimport) void __cdecl boost::python::objects::register_dynamic_id_aux(struct boost::python::type_info,struct std::pair&#38;lt;void *,struct boost::python::type_info&#38;gt; (__cdecl*)(void *))&#38;quot; (__imp_?register_dynamic_id_aux@objects@python@boost@@YAXUtype_info@23@P6A?AU?$pair@PAXUtype_info@python@boost@@@std@@PAX@Z@Z) referenced in function &#38;quot;void __cdecl boost::python::objects::register_dynamic_id&#38;lt;class extensions::IDocument&#38;gt;(class extensions::IDocument *)&#38;quot; (??$register_dynamic_id@VIDocument@extensions@@@objects@python@boost@@YAXPAVIDocument@extensions@@@Z)
1&#38;gt;mod_scintilla.obj : error LNK2001: unresolved external symbol &#38;quot;__declspec(dllimport) void __cdecl boost::python::objects::register_dynamic_id_aux(struct boost::python::type_info,struct std::pair&#38;lt;void *,struct boost::python::type_info&#38;gt; (__cdecl*)(void *))&#38;quot; (__imp_?register_dynamic_id_aux@objects@python@boost@@YAXUtype_info@23@P6A?AU?$pair@PAXUtype_info@python@boost@@@std@@PAX@Z@Z)
1&#38;gt;mod_pn.obj : error LNK2019: unresolved external symbol &#38;quot;__declspec(dllimport) void * __cdecl boost::python::objects::find_dynamic_type(void *,struct boost::python::type_info,struct boost::python::type_info)&#38;quot; (__imp_?find_dynamic_type@objects@python@boost@@YAPAXPAXUtype_info@23@1@Z) referenced in function &#38;quot;private: virtual void * __thiscall boost::python::objects::pointer_holder&#38;lt;class boost::shared_ptr&#38;lt;class extensions::IDocument&#38;gt;,class extensions::IDocument&#38;gt;::holds(struct boost::python::type_info,bool)&#38;quot; (?holds@?$pointer_holder@V?$shared_ptr@VIDocument@extensions@@@boost@@VIDocument@extensions@@@objects@python@boost@@EAEPAXUtype_info@34@_N@Z)
1&#38;gt;mod_scintilla.obj : error LNK2019: unresolved external symbol &#38;quot;__declspec(dllimport) void * __cdecl boost::python::objects::find_static_type(void *,struct boost::python::type_info,struct boost::python::type_info)&#38;quot; (__imp_?find_static_type@objects@python@boost@@YAPAXPAXUtype_info@23@1@Z) referenced in function &#38;quot;private: virtual void * __thiscall boost::python::objects::value_holder&#38;lt;class PNScintilla&#38;gt;::holds(struct boost::python::type_info,bool)&#38;quot; (?holds@?$value_holder@VPNScintilla@@@objects@python@boost@@EAEPAXUtype_info@34@_N@Z)
1&#38;gt;..\bin/pypn.dll : fatal error LNK1120: 9 unresolved externals&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
                        <title>Compiling with Visual Studio 2008 (simon)</title>
			<link>http://pnotepad.org/forums/topic/430#post-1591</link>
			<pubDate>Tue, 29 Jul 2008 22:26:29 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">1591@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Ah, lightbulb moment! The project is set to link to that DLL by the inclusion of &#60;code&#62;boost_python-vc80-mt-gd-1_35.lib&#60;/code&#62; in the linker inputs in the project settings. Change that to the relevant lib built for vc90 and then everything should start working. The vc80 dll is copied by the post build step, also configured in the project settings.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Compiling with Visual Studio 2008 (kuukkeli)</title>
			<link>http://pnotepad.org/forums/topic/430#post-1590</link>
			<pubDate>Mon, 28 Jul 2008 20:25:32 +0000</pubDate>
			<dc:creator>kuukkeli</dc:creator>
			<guid isPermaLink="false">1590@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Concerning option 1:&#60;/p&#62;
&#60;p&#62;I already have &#60;code&#62;boost_python-vc90-mt-gd-1_35.dll&#60;/code&#62; and &#60;code&#62;boost_python-vc90-mt-gd-1_35.lib&#60;/code&#62; in &#60;code&#62;lib\boost-python-2.5&#60;/code&#62; folder because I can't compile PN without vc90 version. To me that would seem to fulfil option 1 but obviously it doesn't. What additional steps am I missing from option 1?&#60;/p&#62;
&#60;p&#62;Also (possibly related) why does &#60;code&#62;boost_python-vc80-mt-gd-1_35.dll&#60;/code&#62; still end up in the &#60;code&#62;bin&#60;/code&#62; directory while compiling requires vc90 version (if I replace it with vc90 version I get an error than vc80 version isn't found)?
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Compiling with Visual Studio 2008 (simon)</title>
			<link>http://pnotepad.org/forums/topic/430#post-1589</link>
			<pubDate>Mon, 28 Jul 2008 19:17:20 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">1589@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Ah, this is because the vc80-mt-gd-1_35.dll version of boost python is built against the Visual Studio 2005 debug libraries, these are not on your machine because you only have VS 2008. You have a few options:&#60;/p&#62;
&#60;ol&#62;
&#60;li&#62;Build boost python for vc90 and use that
&#60;/li&#62;
&#60;li&#62;Download a copy of the 2005 DebugCRT and install it, that should work ok but no guarantees
&#60;/li&#62;
&#60;li&#62;Just use a release build of pypn, hopefully all the dlls you need should be on the machine already and if not they're in the prerequisites folder under the installer.&#60;/li&#62;
&#60;/ol&#62;</description>
		</item>
		<item>
                        <title>Compiling with Visual Studio 2008 (kuukkeli)</title>
			<link>http://pnotepad.org/forums/topic/430#post-1588</link>
			<pubDate>Mon, 28 Jul 2008 18:34:21 +0000</pubDate>
			<dc:creator>kuukkeli</dc:creator>
			<guid isPermaLink="false">1588@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Assuming I did it correctly this is the debugger output concerning PyPN:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;#39;pn.exe&#38;#39;: Loaded &#38;#39;E:\Tomi\Ohjelmointi\pnwtl\bin\pypn.dll&#38;#39;, Symbols loaded.
&#38;#39;pn.exe&#38;#39;: Loaded &#38;#39;E:\Tomi\Ohjelmointi\pnwtl\bin\boost_python-vc80-mt-gd-1_35.dll&#38;#39;
LDR: LdrpWalkImportDescriptor() failed to probe e:\Tomi\Ohjelmointi\pnwtl\bin\boost_python-vc80-mt-gd-1_35.dll for its manifest, ntstatus 0xc0150002
&#38;#39;pn.exe&#38;#39;: Unloaded &#38;#39;E:\Tomi\Ohjelmointi\pnwtl\bin\pypn.dll&#38;#39;
&#38;#39;pn.exe&#38;#39;: Unloaded &#38;#39;E:\Tomi\Ohjelmointi\pnwtl\bin\boost_python-vc80-mt-gd-1_35.dll&#38;#39;
Failed to load extension: pypn.dll&#38;#39;pn.exe&#38;#39;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Does it ring any bells for you (I'm, as expected, drawing a blank)?
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Compiling with Visual Studio 2008 (simon)</title>
			<link>http://pnotepad.org/forums/topic/430#post-1585</link>
			<pubDate>Sun, 27 Jul 2008 20:39:29 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">1585@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Thanks, done.&#60;/p&#62;
&#60;p&#62;For PyPN, as you have built PN you can put a breakpoint in App::LoadExtensions() and then run the program in the debugger. You'll then be able to walk step by step through the extensions being loaded and find out at what point PN fails to load PyPN.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Compiling with Visual Studio 2008 (kuukkeli)</title>
			<link>http://pnotepad.org/forums/topic/430#post-1584</link>
			<pubDate>Fri, 25 Jul 2008 20:15:40 +0000</pubDate>
			<dc:creator>kuukkeli</dc:creator>
			<guid isPermaLink="false">1584@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;First, two more fixes. In file &#60;code&#62;actests.cpp&#60;/code&#62; there are two more imports with extra &#60;code&#62;pnwtl&#60;/code&#62;:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;#include &#38;quot;../pnwtl/autocomplete.h&#38;quot;
#include &#38;quot;../pnwtl/pnstrings.h&#38;quot;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Then about PyPN. I don't (again) fully grasp the meaning of your advice. How do I &#34;step into&#34; extension loading? Is there a log somewhere or what? And yes, with PN home directory I was referring to &#60;code&#62;bin&#60;/code&#62;.&#60;/p&#62;
&#60;p&#62;Thanks for all the help this far.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Compiling with Visual Studio 2008 (simon)</title>
			<link>http://pnotepad.org/forums/topic/430#post-1580</link>
			<pubDate>Fri, 25 Jul 2008 12:50:03 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">1580@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Thanks, I fixed the allocator and string thing, they should have been:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;#include &#38;quot;../allocator.h&#38;quot;
#include &#38;quot;../pnextstring.h&#38;quot;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;The string file was renamed recently to fix clashes with the standard library.&#60;/p&#62;
&#60;p&#62;As for PyPN, you could step into the extension loading to find out why it doesn't work. When you say the PN home directory, I presume you mean inside bin? PyPN needs your bin folder to look like:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;bin
 &#124;- pypn
 &#124;   &#124;- decorators.py
 &#124;- scripts
 &#124;- schemes
 &#124;- taggers&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;In terms of the include directories, I personally think it's easier to just add Boost and WTL to your global include directories (Tools&#124;Options&#124;Projects and Solutions&#124;VC++ Directories) which then makes these things available to all projects where needed. YMMV.&#60;/p&#62;
&#60;p&#62;I'll have to look more into the GetThemeSysFont thing. Is &#60;code&#62;NTDDI_WIN6&#60;/code&#62; even defined in your environment?
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Compiling with Visual Studio 2008 (kuukkeli)</title>
			<link>http://pnotepad.org/forums/topic/430#post-1574</link>
			<pubDate>Thu, 24 Jul 2008 04:53:45 +0000</pubDate>
			<dc:creator>kuukkeli</dc:creator>
			<guid isPermaLink="false">1574@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Finally I had time to return to this compile attempt. I got the PN to compile but I'll return to remaining problems a bit later. Now I'd need to know if any of the things I did are somehow wrong.&#60;/p&#62;
&#60;p&#62;First, to fix the &#60;code&#62;GetThemeSysFont&#60;/code&#62; I ended up commenting out the whole if-else part and left only &#60;code&#62;::GetThemeSysFont(m_winTheme, TMT_SMALLCAPTIONFONT, &#38;#38;lf);&#60;/code&#62; in its place. Just changing &#60;code&#62;NTDDI_WIN6SP1&#60;/code&#62; to &#60;code&#62;NTDDI_WIN6&#60;/code&#62; didn't make any difference.&#60;/p&#62;
&#60;p&#62;Second, in addition to changes mentioned in 'how to' above I had to include boost in two other projects as well (&#60;code&#62;ctagsnavigator&#60;/code&#62;, &#60;code&#62;pypn&#60;/code&#62;). For &#60;code&#62;pypn&#60;/code&#62; I also had to replace the Python related include with full path to &#60;code&#62;\Python25\include&#60;/code&#62; library as it didn't find it otherwise and add vc90 boost files to &#60;code&#62;\lib\boost-python-2.5&#60;/code&#62;. And finally I had to change &#60;code&#62;atlres.h&#60;/code&#62; in &#60;code&#62;pn.rc&#60;/code&#62; to full path to that file.&#60;/p&#62;
&#60;p&#62;With the above changes PN compiles and works. Project &#60;code&#62;tests&#60;/code&#62; still gives errors though because of the following:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;#include &#38;quot;../pnwtl/allocator.h&#38;quot;
#include &#38;quot;../pnwtl/string.h&#38;quot;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;These two files don't exist. I can fix the first by dropping &#60;code&#62;pnwtl&#60;/code&#62; from the path but there's no obvious fix to second.&#60;/p&#62;
&#60;p&#62;My main concern though is the fact that while &#60;code&#62;pypn&#60;/code&#62; compiles without errors or warnings it doesn't work. PN doesn't find it at all. I made &#60;code&#62;config.xml&#60;/code&#62; for it and it finds &#60;code&#62;ctags&#60;/code&#62; correctly but &#60;code&#62;pypn&#60;/code&#62; doesn't show up. I copied the &#60;code&#62;pypn&#60;/code&#62; and &#60;code&#62;scripts&#60;/code&#62; folders from svn to PN's home directory but it made no difference. I have no idea how to make &#60;code&#62;pypn&#60;/code&#62; work.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Compiling with Visual Studio 2008 (simon)</title>
			<link>http://pnotepad.org/forums/topic/430#post-1552</link>
			<pubDate>Thu, 17 Jul 2008 08:00:02 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">1552@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;jumpfroggy has put an excellent summary of the current build steps here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pnotepad.org/docs/dev/how_to_compile_pn&#34; rel=&#34;nofollow&#34;&#62;http://pnotepad.org/docs/dev/how_to_compile_pn&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Note that as of a couple of days ago, you should be able to get the current scintilla source (it's not been released as an official package yet) and use that without the patches. I'll confirm when I've tried it. This should simplify things.&#60;/p&#62;
&#60;p&#62;Another thing to note is that I put boost and WTL in my directories configuration in Visual Studio meaning that I don't need to modify the project files. This saves the project files from having library paths specific to me in them. The method in the wiki will work fine, though.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Compiling with Visual Studio 2008 (jumpfroggy)</title>
			<link>http://pnotepad.org/forums/topic/430#post-1546</link>
			<pubDate>Wed, 16 Jul 2008 06:11:46 +0000</pubDate>
			<dc:creator>jumpfroggy</dc:creator>
			<guid isPermaLink="false">1546@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;I'd love to capture this on a wiki page, so others can find a step-by-step to compile PN.  I know it'd help me a lot (I've spent about 5-8 hours so far, still can't get it to compile).&#60;/p&#62;
&#60;p&#62;Can we fix the wiki so we can get this information in there?  Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Compiling with Visual Studio 2008 (simon)</title>
			<link>http://pnotepad.org/forums/topic/430#post-1530</link>
			<pubDate>Tue, 08 Jul 2008 18:47:31 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">1530@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;GetThemeSysFont:&#60;/p&#62;
&#60;p&#62;The bit of code we're looking at is this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;LOGFONTW lf;
// Newer SDKs fix this define:
#ifdef NTDDI_WIN6SP1
    ::GetThemeSysFont(m_winTheme, TMT_SMALLCAPTIONFONT, &#38;#38;lf);
#else
    ::GetThemeSysFont(m_winTheme, TMT_SMALLCAPTIONFONT, (LOGFONT *)&#38;#38;lf);
#endif&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;The bit in the #else section is the code giving you trouble, and it's there because older versions of the platform SDK incorrectly defined the GetThemeSysFont method as taking &#60;code&#62;LOGFONT&#60;/code&#62; instead of &#60;code&#62;LOGFONTW&#60;/code&#62; which is what they really wanted (so &#60;code&#62;LOGFONTW&#60;/code&#62; is cast to &#60;code&#62;LOGFONT&#60;/code&#62;).&#60;/p&#62;
&#60;p&#62;I suspect that instead of &#60;code&#62;NTDDI_WIN6SP1&#60;/code&#62; we want something earlier, perhaps you could see if &#60;code&#62;NTDDI_WIN6&#60;/code&#62; works for you? If so, let me know and I'll change it in the code for good.&#60;/p&#62;
&#60;p&#62;Answers to your other questions:&#60;/p&#62;
&#60;p&#62;1. Unfortunately there's no easy way to tell which prerequisites you are missing, it does get easier with experience to guess ;)&#60;/p&#62;
&#60;p&#62;2. I think the way boost works you'll have to stick with the vc90 version for your build of PyPN. Is this a problem?&#60;/p&#62;
&#60;p&#62;3. I generally select &#34;Not using ATL&#34; and haven't found this to be a problem - this is only relevant when using the non-template parts of ATL anyway which we're not doing at the moment. If you do have to use it, go for dynamic linking but note we'll need to add extra files to the installer if we ship that change.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Compiling with Visual Studio 2008 (kuukkeli)</title>
			<link>http://pnotepad.org/forums/topic/430#post-1519</link>
			<pubDate>Thu, 03 Jul 2008 18:37:24 +0000</pubDate>
			<dc:creator>kuukkeli</dc:creator>
			<guid isPermaLink="false">1519@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;simon:&#60;br /&#62;
&#34;As for the GetThemeSysFont thing I think you can just change it to LOGFONTW and it should work.&#34;&#60;/p&#62;
&#60;p&#62;Could you be a bit more precise? I looked at the file that gives the error but I have no idea what you mean (I guess that's a symptom of being C++ newbie).&#60;/p&#62;
&#60;p&#62;Couple more questions too.&#60;/p&#62;
&#60;p&#62;1. I've been building and checking the error messages to see which projects need which additional includes. Is there easier (and more refined) way to do it?&#60;/p&#62;
&#60;p&#62;2. As I mentioned earlier I couldn't get PyPN to compile without copying vc90 version of required boost library. Is there a way to keep vc80 version after the project conversion?&#60;/p&#62;
&#60;p&#62;3. For PN projects that require ATL should I use static or dynamic linking?
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Compiling with Visual Studio 2008 (simon)</title>
			<link>http://pnotepad.org/forums/topic/430#post-1518</link>
			<pubDate>Thu, 03 Jul 2008 16:34:24 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">1518@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hi, please update to the latest WTL from their subversion (sorry!) as this should fix the CDialogBaseUnits bit. As for the GetThemeSysFont thing I think you can just change it to LOGFONTW and it should work. Let me know, and I'll try and see if there's some pattern - it's different in different versions of the Platform SDK.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Compiling with Visual Studio 2008 (kuukkeli)</title>
			<link>http://pnotepad.org/forums/topic/430#post-1517</link>
			<pubDate>Thu, 03 Jul 2008 16:01:51 +0000</pubDate>
			<dc:creator>kuukkeli</dc:creator>
			<guid isPermaLink="false">1517@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;After updating WTL through SVN I got rid of one error but this I can't solve:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;6&#38;gt;e:\tomi\ohjelmointi\pn2\dockingframework\extdockingwindow.h(344) : error C2664: &#38;#39;GetThemeSysFont&#38;#39; : cannot convert parameter 3 from &#38;#39;LOGFONT *&#38;#39; to &#38;#39;LOGFONTW *&#38;#39;
6&#38;gt;        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
6&#38;gt;Creating browse information file...
6&#38;gt;Microsoft Browse Information Maintenance Utility Version 9.00.21022
6&#38;gt;Copyright (C) Microsoft Corporation. All rights reserved.
6&#38;gt;BSCMAKE: error BK1506 : cannot open file &#38;#39;.\Debug\appsettings.sbr&#38;#39;: No such file or directory
6&#38;gt;Build log was saved at &#38;quot;file://e:\Tomi\Ohjelmointi\PN2\Debug\BuildLog.htm&#38;quot;
6&#38;gt;pn - 2 error(s), 0 warning(s)&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
                        <title>Compiling with Visual Studio 2008 (kuukkeli)</title>
			<link>http://pnotepad.org/forums/topic/430#post-1516</link>
			<pubDate>Wed, 02 Jul 2008 11:50:34 +0000</pubDate>
			<dc:creator>kuukkeli</dc:creator>
			<guid isPermaLink="false">1516@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;After some effort this is where I'm stuck. I had to copy a new version of boost::python to /lib because after converting the project it looked for vc-90 version and I just couldn't figure out how to change that, but I suppose this has nothing to do with it.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;Compiling...
stdafx.cpp
e:\tomi\ohjelmointi\pn2\include\taskdialog.h(453) : error C2504: &#38;#39;CDialogBaseUnits&#38;#39; : base class undefined
        e:\tomi\ohjelmointi\pn2\include\taskdialog.h(1978) : see reference to class template instantiation &#38;#39;CTask98DialogImpl&#38;#39; being compiled
        with
        [
            T=CTask98Dialog
        ]
e:\tomi\ohjelmointi\pn2\dockingframework\extdockingwindow.h(344) : error C2664: &#38;#39;GetThemeSysFont&#38;#39; : cannot convert parameter 3 from &#38;#39;LOGFONT *&#38;#39; to &#38;#39;LOGFONTW *&#38;#39;
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
Creating browse information file...
Microsoft Browse Information Maintenance Utility Version 9.00.21022
Copyright (C) Microsoft Corporation. All rights reserved.
BSCMAKE: error BK1506 : cannot open file &#38;#39;.\Debug\appsettings.sbr&#38;#39;: No such file or directory&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;That's the only error I'm getting now but I have no idea what it's about.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Compiling with Visual Studio 2008 (simon)</title>
			<link>http://pnotepad.org/forums/topic/430#post-1515</link>
			<pubDate>Wed, 02 Jul 2008 08:16:01 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">1515@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;1. I normally just download the boost source and unzip it, you shouldn't need to build any part of boost for working with PN normally. The only reason to build anything would be if you wanted to update the version of boost::python that PyPN is using.&#60;/p&#62;
&#60;p&#62;The bits of boost used in the main application are all header-only meaning they don't need compiling before PN can use them.&#60;/p&#62;
&#60;p&#62;2. Currently there are a few extra steps as we're using a custom build of Scintilla with some patches. You need to place the source for scintilla (&#60;a href=&#34;http://scintilla.org&#34; rel=&#34;nofollow&#34;&#62;http://scintilla.org&#60;/a&#62;) in the include\scintilla directory, and then place the files from this zip on top:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pnotepad.org/files/altregex_ns.zip&#34; rel=&#34;nofollow&#34;&#62;http://pnotepad.org/files/altregex_ns.zip&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;3. I think VS2008 should be fine to just convert the project files, but I haven't tried recently. Post any errors you get and I'll try to help.&#60;/p&#62;
&#60;p&#62;Enjoy!
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Compiling with Visual Studio 2008 (kuukkeli)</title>
			<link>http://pnotepad.org/forums/topic/430#post-1514</link>
			<pubDate>Mon, 30 Jun 2008 08:34:28 +0000</pubDate>
			<dc:creator>kuukkeli</dc:creator>
			<guid isPermaLink="false">1514@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;I've decided to learn some C/C++ (I know the very basics but as Python has always been enough for my own projects I've been stuck with those rudimentary skills for years). As PN is both interesting and rather small project I'm trying to use it as some sort of a learning environment. I just need couple of answers first:&#60;/p&#62;
&#60;p&#62;1. Installing Boost has far too many options to my taste (I'm using the Windows installer provided by 'boostpro computing'). Which of the compiled library variants are needed to compile PN? Which of them I should install?&#60;/p&#62;
&#60;p&#62;2. Besides linking WTL and Boost is there anything special to do before trying to compile PN?&#60;/p&#62;
&#60;p&#62;3. PN sources have some Visual Studio project files which are (if I'm correct) for older version than 2008. Does using VS2008 cause any issues because of that?&#60;/p&#62;
&#60;p&#62;And please, don't expect much contributions from me in a long time - I'm sure I'll be challenged enough by merely getting the current sources compiled :)
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>need source code (jumpfroggy)</title>
			<link>http://pnotepad.org/forums/topic/224#post-837</link>
			<pubDate>Wed, 23 May 2007 22:44:27 +0000</pubDate>
			<dc:creator>jumpfroggy</dc:creator>
			<guid isPermaLink="false">837@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Wouldn't go through, gmail doesn't like EXE's in attachments.  Here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://rocketmonkeys.com/perm/pnotepad/pnwtl_20070522.zip&#34; rel=&#34;nofollow&#34;&#62;http://rocketmonkeys.com/perm/pnotepad/pnwtl_20070522.zip&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>need source code (jumpfroggy)</title>
			<link>http://pnotepad.org/forums/topic/224#post-833</link>
			<pubDate>Wed, 23 May 2007 12:08:17 +0000</pubDate>
			<dc:creator>jumpfroggy</dc:creator>
			<guid isPermaLink="false">833@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;PS. It's the latest live SVN, don't think it's stable.  Sorry if that's not what you wanted.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>need source code (jumpfroggy)</title>
			<link>http://pnotepad.org/forums/topic/224#post-832</link>
			<pubDate>Wed, 23 May 2007 12:07:21 +0000</pubDate>
			<dc:creator>jumpfroggy</dc:creator>
			<guid isPermaLink="false">832@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Sending it right now.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>need source code (wozza)</title>
			<link>http://pnotepad.org/forums/topic/224#post-830</link>
			<pubDate>Wed, 23 May 2007 02:35:39 +0000</pubDate>
			<dc:creator>wozza</dc:creator>
			<guid isPermaLink="false">830@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;I only have the internet at work and I can't access the SVN. Could someone please email a zip of the latest stable source code to &#60;a href=&#34;mailto:wozzap@gmail.com&#34;&#62;wozzap@gmail.com&#60;/a&#62;.&#60;br /&#62;
Thanks
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Some build files missing (RoryM)</title>
			<link>http://pnotepad.org/forums/topic/113#post-390</link>
			<pubDate>Thu, 28 Sep 2006 23:34:05 +0000</pubDate>
			<dc:creator>RoryM</dc:creator>
			<guid isPermaLink="false">390@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;thanks, the header file is fine - it's where the includes are.  my post formatting just didn't work.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Some build files missing (eepman)</title>
			<link>http://pnotepad.org/forums/topic/113#post-389</link>
			<pubDate>Thu, 28 Sep 2006 22:18:09 +0000</pubDate>
			<dc:creator>eepman</dc:creator>
			<guid isPermaLink="false">389@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;On the developer page it explains that you need the boost libraries and the wtl.  They can be found at &#60;a href=&#34;http://www.boost.org/&#34; rel=&#34;nofollow&#34;&#62;http://www.boost.org/&#60;/a&#62; and &#60;a href=&#34;http://wtl.sourceforge.net/&#34; rel=&#34;nofollow&#34;&#62;http://wtl.sourceforge.net/&#60;/a&#62; respectively.  Hope that gets it working.&#60;/p&#62;
&#60;p&#62;I don't know about the pypn header though.  Maybe try the dll that comes with the pypn 0.3 download on the sourceforge page.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Some build files missing (RoryM)</title>
			<link>http://pnotepad.org/forums/topic/113#post-388</link>
			<pubDate>Thu, 28 Sep 2006 21:26:36 +0000</pubDate>
			<dc:creator>RoryM</dc:creator>
			<guid isPermaLink="false">388@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;I'm attempting to build PN from source.&#60;/p&#62;
&#60;p&#62;The following include files are not found, can you point me in the right direction.  I'm building with VS2005.&#60;/p&#62;
&#60;p&#62;pypn\stdafx.h&#60;br /&#62;
  #include &#38;lt;boost/shared_ptr.hpp&#38;gt;&#60;br /&#62;
  #include &#38;lt;boost/python.hpp&#38;gt;
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Source Code (simon)</title>
			<link>http://pnotepad.org/forums/topic/70#post-322</link>
			<pubDate>Fri, 28 Jul 2006 16:17:52 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">322@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;There's currently no way other than SVN as I don't zip it up and upload it. You should be able to use the command-line subversion tools from subversion.org.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Source Code (dancur21)</title>
			<link>http://pnotepad.org/forums/topic/70#post-263</link>
			<pubDate>Tue, 13 Jun 2006 15:26:33 +0000</pubDate>
			<dc:creator>dancur21</dc:creator>
			<guid isPermaLink="false">263@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hi, i'm ad italian student and i'm trying to develop an interpreter for my language so i need to use a powerfull editor.&#60;br /&#62;
I'm looking for it in the web and found &#34;PNotepad&#34;, so i try it.&#60;br /&#62;
It's very usefull and easy, but i'm not able to download it's source code from the web site, either after install Tortoise SVN. Can i downlaod PNotepad's source directly from the web, or can you tell me a different way to get the it's source code?&#60;/p&#62;
&#60;p&#62;Thanks all.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>

