1. You can use CDaoRecordset* prs;prs=new CDaoRecordset(); But memory allocation is diferent from your example. 2. If a method in a class is static, you can use it without creating an object of the class.

old (HH)
(#28345@0)
2001-2-24 -05:00

回到话题: Could you help me ?I am trying to learn some classes about database access in VC++.

回到论坛: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论

URL:   
http://www.rolia.net/zh/post.php?f=0&p=28345