Click to See Complete Forum and Search --> : VS.NET 2003 and _com_ptr using ADO


Derek_Burdick
July 11th, 2003, 12:49 PM
When I do an #import of msado15.dll and declare an object of type ADODB::_ConnectionPtr zConnection, intellisense does not show any members for zConnection. or zConnection->. Has anybody ran in to this or found a fix for this?

Thanks,
Derek

Derek_Burdick
July 11th, 2003, 12:53 PM
Of course once I submitted the question, I thought of a possible solution.

If I add a #using ADODB at the top of the source file, or specify no_namespace on #import, it fixes the problem. Has anybody else seen this?

Thanks,
Derek