vc2005中没有classwizard这个命令了 2005下怎么添加鼠标事件vc2005中没有classwizard这个命令了取代classwizard 中的添加消息映射,添加类,等等的功能主要在属性窗口中鼠标事件不要手动添加,最好使用下述方法比如添加消息映射。你选定了一个类后,在属性点击右键 选... Read More
posted @ 2014-12-22 23:14 findumars Views(328) Comments(0) Diggs(0)
传给未分配内存的const char* (LPCTSTR)指针. CString cstr(asdd); const char* ch = (LPCTSTR)cstr; ch指向的地址和cstr相同。但由于使用const保证ch不会修改,所以安全.2.传给未分配内存的指针. CSt... Read More
posted @ 2014-12-22 23:11 findumars Views(1128) Comments(0) Diggs(0)
function RunAsAdmin(hWnd: HWND; filename: string; Parameters: string): Boolean;{ See Step 3: Redesign for UAC Compatibility (UAC) http://msdn.mi... Read More
posted @ 2014-12-22 04:38 findumars Views(1032) Comments(0) Diggs(0)