文章分类 -  win8开发

摘要:String^ postData = ref new String(L"vps=1%23android2.2%23sdk%23JS11332819623969119164175006%23128%23480_800%237.1.3&pver=5&funid=4001"); ULONG BytesWritten = 0; ComPtr<IStream> postStream; HRESULT hr = S_FALSE; CreateStreamOnHGlobal(nullptr,true,&postStream); const wchar_ 阅读全文
posted @ 2012-07-03 13:31 狼哥2 阅读(5325) 评论(0) 推荐(0)
摘要:翻译自MSDN文档:This article shows how to use C++ to create a Windows Runtime Component DLL that's callable from a Windows Metro style app that's built by using JavaScript. Here are several reasons for building such a component:这文章展示了如何使用C++创建一个使用JavaScript 创建的Windows Metro风格程序可调用的windows Runtime 阅读全文
posted @ 2012-06-19 21:05 狼哥2 阅读(1782) 评论(0) 推荐(0)
摘要:The Windows Runtime provides asynchronous APIs and programming patterns that enable your app to continue working while another operation executes on another thread. In addition to this functionality, you can use the exclusive features in the C++ compiler and the Parallel Programming Library (PPL) to 阅读全文
posted @ 2012-06-17 16:17 狼哥2 阅读(1816) 评论(0) 推荐(0)
摘要:小于操作符重载Theless-thancomparison operator (operator<) is important to Standard Template Library operations such as sorting. We recommend that you implementoperator<if you develop a Windows Runtime component that you intend to be used in a Standard Template Library comparison operation.小于比较操作符对于标准 阅读全文
posted @ 2012-06-17 15:22 狼哥2 阅读(339) 评论(0) 推荐(0)
摘要:翻译自MSDN文档:C++/CX supports authoring function parameters whose type is a read/write array (Platform::Array) or a write-only array (Platform::WriteOnlyArray). You can't define a WriteOnlyArray array, but you can declare a function parameter type as WriteOnlyArray so that the Windows Runtime can ef 阅读全文
posted @ 2012-06-17 14:59 狼哥2 阅读(703) 评论(0) 推荐(0)
摘要:翻译自官方MSDN文档:An authored base class can inherit a class, and optionally one or more interfaces which must be implemented by the base class.And in a class derived from the base class, you can override a virtual method in the base class一个授权的基本类能继承于另外一个类,并且能实现一个或者多个接口。从基类派生的类,能覆盖基类中的徐方法。、Guidance:(引言)Cl 阅读全文
posted @ 2012-06-17 14:13 狼哥2 阅读(422) 评论(0) 推荐(0)