Hello

I'm trying to use _bstr_t and variant_t variables with SQL CE and I get an
error on building:

error LNK2019: unresolved external symbol "void __cdecl
_com_issue_error(long)" (?_com_issue_error@@YAXJ@Z) referenced in function
"public: __cdecl _bstr_t::_bstr_t(unsigned short const *)"
(??0_bstr_t@@QAA@PBG@Z)

What library do I need to include to make this work?

Thank you.

Ps. All documentatio say that it's easy integration with SQL CE, but thus
far I can't even create a catalog ???!!!

Re: SQL CE WITH EVC++ by Kirk

Kirk
Mon Apr 19 04:22:11 CDT 2004

> I'm trying to use _bstr_t and variant_t variables with SQL CE and I
> get an error on building:
>

You just have to define the function :

void _com_issue_error(HRESULT hr)
{
... your code to handle errors
}