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) Last Updated: 2001-2-24 This post has been archived. It cannot be replied.