Hi,
I'm programming a DB access application using SQL Server 2005 OLE DB(Native client) provider.
There's no problem everytime calling CoCreateInstance until I install the InstallShield program. After the InstallShield(Express edition) is installed in my pc, the result of calling CoCreateInstance() is strange. It seems that just return and I could not get the any error code. Anyone help

CoCreateInstance doesn't work if the InstallShield is installed
mintaka3
There are occasionally interactions between InstallShield and Visual Studio, like this:
http://support.installshield.com/kb/view.asp articleid=q106194
and maybe that's what you mean, but you need to be more specific. Does every CoCreateInstance fail What is the object you're trying to create, its classid etc
Alan Robbins