2012年2月10日

摘要: How to remove optional Windows componentsYou can remove Windows optional components, for example Windows games,by using the Windows Component Wizard.What to doBefore performing either of the following... 阅读全文

posted @ 2012-02-10 11:30 lixxu 阅读(185) 评论(0) 推荐(0)


2011年12月19日

摘要: session值的更新session 好像有4K大小的限制, 如果要保存较多内容时, 要更换成其他存储, 如数据库.文档没看仔细当 session 的值是可变对象 (如 session['cart'] = [])时, 在作session['cart'].append(product)时, 要加上 sesssion.modified = True以通知 session 更新.Be advised that modifications on mutable structures are not picked up automatically, in that sit 阅读全文

posted @ 2011-12-19 23:21 lixxu 阅读(1195) 评论(0) 推荐(0)

摘要: 如何得知 USB设备接在哪个端口?网上抄的, 话说 不懂 mfc的人压力很大啊import structimport win32fileimport win32apiimport win32conimport pywintypesIOCTL_GET_HCD_DRIVERKEY_NAME = 0x220424IOCTL_USB_GET_ROOT_HUB_NAME = 0x220408IOCTL_USB_GET_NODE_INFORMATION = 0x220408IOCTL_USB_GET_NODE_CONNECTION_INFORMATION = 0x22040CIOCTL_USB_GET_N 阅读全文

posted @ 2011-12-19 23:13 lixxu 阅读(2963) 评论(0) 推荐(0)


博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3