タグ

.netとc++に関するHoriuchi_Hのブックマーク (2)

  • How to: Compile MFC and ATL Code By Using -clr

    This topic discusses how to compile existing MFC and ATL programs to target the Common Language Runtime. To compile an MFC executable or regular MFC DLL by using /clr Right-click the project in Solution Explorer and then click Properties. In the Project Properties dialog box, expand the node next to Configuration Properties and select General. In the right pane, under Project Defaults, set Common

    How to: Compile MFC and ATL Code By Using -clr
    Horiuchi_H
    Horiuchi_H 2009/12/09
    COMの中から直接 .NETなライブラリを呼び出せる。
  • C++ アプリケーションの効率的なテスト手法(NUnit編) - @IT

    第3回 C++アプリケーションの効率的なテスト手法(NUnit編):連載 C++開発者のための単体テスト入門(1/4 ページ) 連載目次 単体テスト・フレームワーク(Unit Test Framework)は、さまざまな言語に対応したものが無償でリリースされています。Cに対応した「CUnit」、Javaの「JUnit」、前回紹介したC++対応の「CppUnit」などがあります。これらは“xUnit”と総称されます。 もちろんC#やVisual Basic(.NET/2005)に代表されるCLI(Common Language Infrastructure)に準拠した.NET言語で書かれたプログラムをテストするための単体テスト・フレームワークもあり、その1つが「NUnit」です。NUnitはC#で実装されたアセンブリ(.DLLファイル群)と単体テスト実行環境(nunit.exe/nunit-

    C++ アプリケーションの効率的なテスト手法(NUnit編) - @IT
    Horiuchi_H
    Horiuchi_H 2009/10/27
    VC++のネイティブコードを、NUnitでテストする。
  • 1