CoCreateInstance doesn't work if the InstallShield is installed

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




Answer this question

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

    I struggle to see the connection between this question and the CLR. You get a HRESULT back from CoCreateInstance(). What's the value


  • CoCreateInstance doesn't work if the InstallShield is installed