This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// こんなエラーが出て | |
// xx\servprov.h(92): error C2872: 'IServiceProvider' : あいまいなシンボルです。 | |
// xx\servprov.h(45) の可能性があります : System::IServiceProvider IServiceProvider'' | |
// yy\.netframework\v4.5.1\mscorlib.dll : System::IServiceProvider' | |
#pragma once | |
// デフォルトの using を消す。 | |
// using namespace System; | |
// 他にも、COM 用インターフェイスの include など、 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// msvc2013 sp3 でコンパイルは通るけど、正しく動作するかは不明なコード片です。 | |
// | |
// Some IDL Generated interfaces's header | |
// こんな idl 生成のインターフェイスがあるとき | |
// | |
MIDL_INTERFACE("GUID IA") | |
IA : public IUnknown | |
{}; | |
MIDL_INTERFACE("GUID IB") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.IO; | |
using System.Resources; | |
namespace TestExe | |
{ | |
static class Program | |
{ | |
// 自分用リソースデータのタイプ文字列。 | |
private const string MyResString = "MyString"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Reflection; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace AttrTest | |
{ |