Hi Joao,
I don't have an environment to test this c++ connection. But it looks good to me.
Since the error message ( Database server type not supported ) is quite clear it should be imho one of the following :
- you are not having a MSSQL 2008 Server
- your SQL Server is not reachable at 192.168.168.150 ( is it a new server installation ? ), maybe it is an SQL instance like : Server\SQLinstance )
I just read your addition : this is a highly possible - there are a lot of 32/64 bit issues in SBO 90. In .net I would advice you to build your application in x86 mode and use only 32 bit DI API.
regards,
Maik