| 
					阅读:1219回复:4
				 怎么样把一个已知的字符串变成UNICODE类型?
					比如
 “斯蒂芬dff” | |
| 
 | 
| 沙发#发布于:2002-08-02 14:15 
					PUNICODE_STRING foo;
 RtlInitUnicodeString(&foo, L\"Hello, world!\"); | |
| 
 | 
| 板凳#发布于:2002-08-02 14:21 
					多看MSDN或书。。。				 | |
| 地板#发布于:2002-08-02 17:03 
					在应用程序里:
 BSTR bstrString = SysAllocString(L\"Win32_NetworkAdapterConfiguration\"); | |
| 地下室#发布于:2002-08-02 17:08 
					还有,用完要记着释放:SysFreeString 。
 在CString中,用成员函数AllocSysString 。 | |
 
							
 
				 
				 
				