Home > Archives > 2010-04

2010-04

Visual Studioの情報量

  • 2010-04-29 (Thu)
  • Prog

Microsoft関連の製品についてぐぐると,わんさかhitする

一方Macはぜんぜんhitしない.

これがシェアの違いというものでつか

const System::String ^ から System::String ^の変換

  • 2010-04-29 (Thu)
  • C++

const System::String ^ to System::String ^の変換はどうすればいいのでしょう?

VC++.NETにおけるNULL

  • 2010-04-29 (Thu)
  • C++

VC++ .NET 2008 におけるNULL は nullptr なのかな?

VC++.NETで,app.configが使えない

  • 2010-04-29 (Thu)
  • C++

VC++.NET 2008 で,app.configがないといわれる.

PropertyBindingが使えないバグということ?

よくわからないので,データの保存はレジストリを使うことにしました.

error C2065: ‘String’ : undeclared identifier

  • 2010-04-28 (Wed)
  • C++

http://www.gamedev.net/community/forums/topic.asp?topic_id=276647

string.h contains the C string functions (strcmp, strcat, etc.) The C++ string header is <string>, the string class is called std::string

Win32_NetworkAdapterConfiguration Class

  • 2010-04-21 (Wed)
  • Prog

http://msdn.microsoft.com/en-us/library/Aa394217

Win32_NetworkAdapterConfiguration Class

The Win32_NetworkAdapterConfigurationWMI class represents the attributes and behaviors of a network adapter. This class includes extra properties and methods that support the management of the TCP/IP and Internetwork Packet Exchange (IPX) protocols that are independent from the network adapter.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties. Properties are listed in alphabetic order, not MOF order.

Syntax

class Win32_NetworkAdapterConfiguration : CIM_Setting
{
  boolean  ArpAlwaysSourceRoute;
  boolean  ArpUseEtherSNAP;
  string   Caption;
  string   DatabasePath;
  boolean  DeadGWDetectEnabled;
  string   DefaultIPGateway[];
  uint8    DefaultTOS;
  uint8    DefaultTTL;
  string   Description;
  boolean  DHCPEnabled;
  datetime DHCPLeaseExpires;
  datetime DHCPLeaseObtained;
  string   DHCPServer;
  string   DNSDomain;
  string   DNSDomainSuffixSearchOrder[];
  boolean  DNSEnabledForWINSResolution;
  string   DNSHostName;
  string   DNSServerSearchOrder[];
  boolean  DomainDNSRegistrationEnabled;
  uint32   ForwardBufferMemory;
  boolean  FullDNSRegistrationEnabled;
  uint16   GatewayCostMetric[];
  uint8    IGMPLevel;
  uint32   Index;
  uint32   InterfaceIndex;
  string   IPAddress[];
  uint32   IPConnectionMetric;
  boolean  IPEnabled;
  boolean  IPFilterSecurityEnabled;
  boolean  IPPortSecurityEnabled;
  string   IPSecPermitIPProtocols[];
  string   IPSecPermitTCPPorts[];
  string   IPSecPermitUDPPorts[];
  string   IPSubnet[];
  boolean  IPUseZeroBroadcast;
  string   IPXAddress;
  boolean  IPXEnabled;
  uint32   IPXFrameType[];
  uint32   IPXMediaType;
  string   IPXNetworkNumber[];
  string   IPXVirtualNetNumber;
  uint32   KeepAliveInterval;
  uint32   KeepAliveTime;
  string   MACAddress;
  uint32   MTU;
  uint32   NumForwardPackets;
  boolean  PMTUBHDetectEnabled;
  boolean  PMTUDiscoveryEnabled;
  string   ServiceName;
  string   SettingID;
  uint32   TcpipNetbiosOptions;
  uint32   TcpMaxConnectRetransmissions;
  uint32   TcpMaxDataRetransmissions;
  uint32   TcpNumConnections;
  boolean  TcpUseRFC1122UrgentPointer;
  uint16   TcpWindowSize;
  boolean  WINSEnableLMHostsLookup;
  string   WINSHostLookupFile;
  string   WINSPrimaryServer;
  string   WINSScopeID;
  string   WINSSecondaryServer;
};

How to fix iPhoto Library

  • 2010-04-20 (Tue)
  • Prog

iPhotoのライブラリが壊れたので,再構築しました.

http://support.apple.com/kb/ht2638

To rebuild the iPhoto library:

  1. Quit iPhoto if it is open.
  2. Hold down the Command and Option keys on the keyboard.
  3. Open iPhoto.
  4. Keep the keys held down until you are prompted to rebuild the library.
  5. A dialog will appear with rebuild options. Select the options you want to use.
  6. Click Rebuild to begin the rebuild process. This may take a few minutes to complete.

Cannot add data source in VC++ .NET 2008

  • 2010-04-20 (Tue)
  • C++

Visual Studio 2008 上で,MySQLを使いたいなーと思ってた.
データソースを追加するとき,問題が発生.

データソースの追加に,オブジェクトしかない.C#で見てみると,データベース等の項目がある.

http://social.msdn.microsoft.com/Forums/ja-JP/vcgeneralja/thread/02b409f6-5576-48b8-9023-1d06bca7f358
https://connect.microsoft.com/VisualStudio/feedback/details/292118/cannot-add-data-source-in-c-cli-winforms-project

http://quickprogram.blogspot.com/2008/10/vc-2008-express-datagridviewdatasource.html

どうやら,VC++.NET 2008 ではできないらしい.

Home > Archives > 2010-04

Search
Feeds
Meta

Return to page top