<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[mac_forward的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/mac_forward</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; mac_forward]]></copyright><item><title><![CDATA[C++/VC 学习心得]]></title><link>https://blog.youkuaiyun.com/mac_forward/article/details/159203</link><guid>https://blog.youkuaiyun.com/mac_forward/article/details/159203</guid><author>mac_forward</author><pubDate>Fri, 29 Oct 2004 22:01:00 +0800</pubDate><description><![CDATA[VC 心得：1:  什么时候该进行物理坐标和逻辑坐标之间的转换（LPtoDP and DPtoLP）    见VC内幕 p55    只要不该变映射模式（MM_TEXT MM_LOENGLISH等）就用不着这种转换。2： 按惯例，我们在直接调用win32函数时应该使用C++作用域分辨符(::)3： OnPrepareDC 。OnDraw会自动调用它，但是其他消息控制函数，如果使用   ]]></description><category></category></item><item><title><![CDATA[关于CreateService的一个大问题：权限问题]]></title><link>https://blog.youkuaiyun.com/mac_forward/article/details/139982</link><guid>https://blog.youkuaiyun.com/mac_forward/article/details/139982</guid><author>mac_forward</author><pubDate>Sun, 17 Oct 2004 17:14:00 +0800</pubDate><description><![CDATA[CreateService的最后两个参数是该服务从属的帐号（用户名，密码）。如果用null填的话，就会用默认帐号 LocalSystem。此帐号有很大的访问限制，在这个帐号下的服务程序不能访问其他帐号下的很多东西。而且在此帐号内生成的共享对象（shared object），其他帐号下的应用程序也不能访问（比如，我用administrator登入系统的，但是服务的帐号却是LocalSystem，则在]]></description><category></category></item><item><title><![CDATA[关于数据库被锁定的问题及其解决方案]]></title><link>https://blog.youkuaiyun.com/mac_forward/article/details/139978</link><guid>https://blog.youkuaiyun.com/mac_forward/article/details/139978</guid><author>mac_forward</author><pubDate>Sun, 17 Oct 2004 17:10:00 +0800</pubDate><description><![CDATA[在使用MFC和ODBC操作数据库时，分别映射了不同的表生成不同的CRecordset类，但在使用时出现了数据库被锁定的情况。解决方案，不要用CRecordset的默认构造函数（无参数），因为这样做的话，每个继承自CRecordset的子类对象在生成时都会被mfc框架自动构造然后传一个CDatabase对象给它，这样的话，有多少个CRecordset子类对象，就有多少个CDatabase对象，在]]></description><category></category></item></channel></rss>