﻿<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Computer Architechs International Corporation &#187; C++/CLI</title>
	<atom:link href="http://www.caicorp.com/archives/tag/ccli/feed" rel="self" type="application/rss+xml" />
	<link>http://www.caicorp.com</link>
	<description>Premier IT Administrators and Developers of Los Angeles, Orange County and Beyond</description>
	<lastBuildDate>Fri, 03 Feb 2012 00:33:25 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>C++CLIとNotes C APIの間でのマルチバイト文字の変換</title>
		<link>http://www.caicorp.com/ja/archives/328</link>
		<comments>http://www.caicorp.com/ja/archives/328#comments</comments>
		<pubDate>Tue, 05 May 2009 17:48:35 +0000</pubDate>
		<dc:creator>ktatsuki</dc:creator>
				<category><![CDATA[Lotus Notes]]></category>
		<category><![CDATA[Notes C API]]></category>
		<category><![CDATA[C++/CLI]]></category>
		<category><![CDATA[CJK]]></category>
		<category><![CDATA[LMBCS]]></category>

		<guid isPermaLink="false">http://www.caicorp.com/?p=328</guid>
		<description><![CDATA[ </p> ]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.caicorp.com%2Fja%2Farchives%2F328"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.caicorp.com%2Fja%2Farchives%2F328&amp;source=caicorp&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div></p>
]]></content:encoded>
			<wfw:commentRss>http://www.caicorp.com/ja/archives/328/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C++/CLIでNotes C APIを使用する設定</title>
		<link>http://www.caicorp.com/ja/archives/276</link>
		<comments>http://www.caicorp.com/ja/archives/276#comments</comments>
		<pubDate>Mon, 20 Apr 2009 18:08:17 +0000</pubDate>
		<dc:creator>ktatsuki</dc:creator>
				<category><![CDATA[Lotus Notes]]></category>
		<category><![CDATA[Notes C API]]></category>
		<category><![CDATA[C++/CLI]]></category>

		<guid isPermaLink="false">http://www.caicorp.com/?p=276</guid>
		<description><![CDATA[Notes C API を C++/CLI から使う方法を書いたものがインターネット上に見当たらなかったので書いてみました。 以下の設定はVisual Studio 2005 Standard Edition （英語バー [...] [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.caicorp.com%2Fja%2Farchives%2F276"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.caicorp.com%2Fja%2Farchives%2F276&amp;source=caicorp&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Notes C API を C++/CLI から使う方法を書いたものがインターネット上に見当たらなかったので書いてみました。</p>
<p>以下の設定はVisual Studio 2005 Standard Edition （英語バージョン）を使っています。</p>
<ol>
<li>New Projectからプロジェクトを作成したあと、[Project] &#8211; [Properties]からプロパティを開きます。</li>
<li>左のナビゲーションから [Configuration Properties] &#8211; [General] を開く。<strong>Dynamic Library(.dll) </strong>と<strong> </strong><strong>Common Language Runtime Support (/clr) </strong>を設定<strong>。</strong>
<div id="attachment_277" class="wp-caption alignnone" style="width: 759px"><strong><strong><a href="http://www.caicorp.com/wp-content/uploads/2009/04/cfg_capi.jpg" rel="lightbox[276]"><img class="size-full wp-image-277" title="cfg_capi" src="http://www.caicorp.com/wp-content/uploads/2009/04/cfg_capi.jpg" alt="Configuration Properties - General" width="749" height="521" /></a></strong></strong><p class="wp-caption-text">Configuration Properties - General</p></div>
<p><strong> </strong></li>
<li>プロパティから [C/C++] &#8211; [General]を開きます。[Additional Include Directories]に Notes C API include folderを追加。
<p><div id="attachment_279" class="wp-caption alignnone" style="width: 759px"><a href="http://www.caicorp.com/wp-content/uploads/2009/04/cfg_capi1.jpg" rel="lightbox[276]"><img class="size-full wp-image-279" title="cfg_capi1" src="http://www.caicorp.com/wp-content/uploads/2009/04/cfg_capi1.jpg" alt="C/C++ - General" width="749" height="521" /></a><p class="wp-caption-text">C/C++ - General</p></div></li>
<li> [C/C++] &#8211; [Peprocessor]を開きます。[Preprocessor Definitions]に <strong>W32;WIN32</strong> を追加。
<p><div id="attachment_283" class="wp-caption alignnone" style="width: 759px"><a href="http://www.caicorp.com/wp-content/uploads/2009/04/cfg_capi5.jpg" rel="lightbox[276]"><img class="size-full wp-image-283" title="cfg_capi5" src="http://www.caicorp.com/wp-content/uploads/2009/04/cfg_capi5.jpg" alt="C/C++ - Preprocessor" width="749" height="521" /></a><p class="wp-caption-text">C/C++ - Preprocessor</p></div></li>
<li> [C/C++] &#8211; [Code Generation]を開きます。[Runtime Library]から<strong>Multi-threaded DLL (/MD)</strong>を選択。
<p><div id="attachment_280" class="wp-caption alignnone" style="width: 759px"><a href="http://www.caicorp.com/wp-content/uploads/2009/04/cfg_capi2.jpg" rel="lightbox[276]"><img class="size-full wp-image-280" title="cfg_capi2" src="http://www.caicorp.com/wp-content/uploads/2009/04/cfg_capi2.jpg" alt="C/C++ - Code Generation" width="749" height="521" /></a><p class="wp-caption-text">C/C++ - Code Generation</p></div></li>
<li> [Linker] &#8211; [General]を開きます。[Additional Include Directories]にC Notes API Libraryを追加。
<p><div id="attachment_281" class="wp-caption alignnone" style="width: 759px"><a href="http://www.caicorp.com/wp-content/uploads/2009/04/cfg_capi3.jpg" rel="lightbox[276]"><img class="size-full wp-image-281" title="cfg_capi3" src="http://www.caicorp.com/wp-content/uploads/2009/04/cfg_capi3.jpg" alt="Linker - General" width="749" height="521" /></a><p class="wp-caption-text">Linker - General</p></div></li>
<li>[Linker] &#8211; [Input]を開きます。[Additional Dependencies]に<strong>notes.lib</strong> を追加。
<div id="attachment_282" class="wp-caption alignnone" style="width: 759px"><a href="http://www.caicorp.com/wp-content/uploads/2009/04/cfg_capi4.jpg" rel="lightbox[276]"><img class="size-full wp-image-282" title="cfg_capi4" src="http://www.caicorp.com/wp-content/uploads/2009/04/cfg_capi4.jpg" alt="Linker - Input" width="749" height="521" /></a><p class="wp-caption-text">Linker - Input</p></div>
<p>必要であればnotes.libを相対パスで指定します。（例）<strong>notesapi\lib\mswin32\notes.lib</strong></li>
</ol>
<p>以上です。</p>
<p>Notes C APIを快適なC++/CLIのプログラミングでラッピングしてしまうことで、他のプログラム（C#やJava）とのインテグレーションが容易になると思います。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.caicorp.com/ja/archives/276/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

