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)
2001-2-24 -04:00
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

Back To Topic: Could you help me ?I am trying to learn some classes about database access in VC++.

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论