トップ 差分 一覧 Farm ソース 検索 ヘルプ PDF RSS ログイン

Visual C++ .NET

[プログラミング]
[Windows]

L"ほげほげ"って何?
To specify a string of type wide-character (wchar_t[]), precede the opening double quotation mark with the character L

String ^ strの^って何?
A handle to an object on the managed heap points to the "whole" object, and not to a member of the object.The common language runtime maintains a separate heap on which it implements a precise, asynchronous, compacting garbage collection scheme. To work correctly, it must track all storage locations that can point into this heap at runtime. ^ provides a handle through which the garbage collector can track a reference to an object on the managed heap, thereby being able to update it whenever that object is moved.

TextBox内で改行したい
\r\nを使う

コマンドラインから使う
環境変数を追加する。PATHの最後のがないとmspdb80.dllがないといって怒られる
  • PATH
    • C:\Program Files\Microsoft Visual Studio 8\VC\bin
    • C:\Program Files\Microsoft Platform SDK\bin
    • C:\Program Files\Microsoft Visual Studio 8\Common7\IDE
  • INCLUDE
    • C:\Program Files\Microsoft Visual Studio 8\VC\include
    • C:\Program Files\Microsoft Platform SDK\include
  • LIB
    • C:\Program Files\Microsoft Visual Studio 8\VC\lib
    • C:\Program Files\Microsoft Platform SDK\Lib

Win32APIに対応する.NET Framework APIを知りたい。
http://www.microsoft.com/japan/msdn/net/general/win32map.aspx
OutputDebugString
System::Diagnostics::Debugger::Log