[Valentina][VSDK] M:M problems
    Ruslan Zasukhin 
    sunshine at public.kherson.ua
       
    Mon Jan 20 18:58:05 CST 2003
    
    
  
on 1/20/03 6:52 PM, Eric Forget at forgete at cafederic.com wrote:
>> 3) You should not create cursor as stack variable. I just did not check if
>> this way works correctly. And please use the next way to build cursor:
>> 
>>   VDK_Cursor* c = this->SqlSelect( query );
>> 
>> If you need it only in this function you can use auto_ptr<> or other guards
>> to destroy cursor automatically.
> 
> Ok, but from my testing it seems to work well. It is cleaner, throw safe
> with a lot less code. You should make sure it works!
Oaky, use it then :-)
Just remember at least one thing not works:
    Second query for the same cursor object.
-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com
To subscribe to the Valentina mail list go to:
http://listserv.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------
    
    
More information about the Valentina
mailing list