Using ADO in C/SIDE vs. Windows Vista

nemandrenemandre Member Posts: 4
Hi,

I read an (http://www.mibuso.com/forum/viewtopic.php?t=23038) article, because I have to be attached it SQL 2005 with ADO. Unfortunately Windows Vista we are useful and we receive conversation error.


lvarActiveConnection: type Variant.
lADOCommand: type Automation (Subtype: 'Microsoft ActiveX Data Objects 2.8 Library'.Command)

lvarActiveConnection := lADOConnection;
lADOCommand.ActiveConnection := lvarActiveConnection; //-- error is here

Error text: The expression Variant cannot be typed-conversation to a Text value.



Thank a lot!
Andrew
Thanks,
NeMa
Sign In or Register to comment.