Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linker error ConvertStringToBSTR

Status
Not open for further replies.

helpsai

Programmer
Nov 7, 2002
3
0
0
IN
Hai,
I am getting the following linker errors.I am using BCB.

[Linker Error] Unresolved external '__stdcall _com_util::ConvertStringToBSTR(const char *)'

[Linker Error] Unresolved external '__stdcall _com_issue_error(long)'

How to overcome these linker errors.
Please help.

Thank you,
With Regards,
Sai.
 
Allo Helpsai,

I would like to know if you found the answer to this problem
Linker Error] Unresolved external '__stdcall _com_util::ConvertStringToBSTR(const char *)'

[Linker Error] Unresolved external '__stdcall _com_issue_error(long)'

I am facing the same, i would be grateful if you could help me.
thanks in advance
Hou
 
find this in your help files. I have never used
it myself but its implementation would seem to
answer your situation.

TOleString

TOleString wraps a BSTR.

Header
utilcls.h

Description

TOleString provides a convenient object wrapper for the Windows BSTR type. Because TOleString frees the BSTR in its destructor, there is no need to call SysFreeString to free the wrapped string.

tomcruz.net
 
Thanks Butthead :),
It works fine with TOleString ...

Hou
back to work ;)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top