GIDForums  

Go Back   GIDForums > Computer Programming Forums > C++ Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 07-Mar-2006, 12:49
polonskyg polonskyg is offline
New Member
 
Join Date: Mar 2006
Posts: 5
polonskyg is on a distinguished road

_bstr_t link problem HELP!!!!


Hi! i´m trying to import en embedded C++ 3.0 project to embedded 4.0 but i have an link error with this
Code:
Utils.obj : 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)
Please help! how can i replace it?
The line i use it is this

CPP / C++ / C Code:
CEMerge->put_PublisherLogin( _bstr_t( g_strUser ) ); 

Thanks in advance. Guillermo.
Last edited by LuciWiz : 08-Mar-2006 at 00:24. Reason: Please insert your C++ code between [c++] & [/c++] tags
  #2  
Old 07-Mar-2006, 18:20
Paramesh's Avatar
Paramesh Paramesh is offline
Regular Member
 
Join Date: Sep 2005
Location: The Milky Way
Posts: 929
Paramesh is a jewel in the roughParamesh is a jewel in the roughParamesh is a jewel in the rough

Re: _bstr_t link problem HELP!!!!


Did you link your external libraries correctly?
Did you add the libraries to the "Additional Dependencies" section?
Or you missed the definion of the _com_issue_error function?

Can you give us more details please?

Regards,
Paramesh.
__________________

Don't walk in front of me, I may not follow.
Don't walk behind me, I may not lead.
Just walk beside me and be my friend.
  #3  
Old 08-Mar-2006, 05:54
polonskyg polonskyg is offline
New Member
 
Join Date: Mar 2006
Posts: 5
polonskyg is on a distinguished road

Re: _bstr_t link problem HELP!!!!


I have this in the link tab -> Object/library modules

commctrl.lib coredll.lib aygshell.lib ca_mergex20.lib Ole32.lib Oleaut32.lib cemapi.lib winsock.lib Cellcore.lib uuid.lib

Preprocesor definitions

ARM,_ARM_,ARMV4,UNDER_CE=$(CEVersion),_WIN32_WCE=$ (CEVersion),$(CePlatform),UNICODE,_UNICODE,NDEBUG, _AFXDLL

In the libraries section i have this

C:\Archivos de programa\Windows CE Tools\wce420\POCKET PC 2003\lib\ARMV4
C:\Archivos de programa\Windows CE Tools\wce420\POCKET PC 2003\mfc\lib\ARMV4
C:\Archivos de programa\Windows CE Tools\wce420\POCKET PC 2003\atl\lib\ARMV4
C:\ARCHIVOS DE PROGRAMA\MICROSOFT SQL SERVER CE 2.0\LIB\ARM\SA1100
C:\ARCHIVOS DE PROGRAMA\WINDOWS CE TOOLS\WCE400\STANDARDSDK\LIB\ARMV4

In the include section i have this

C:\Archivos de programa\Windows CE Tools\wce420\POCKET PC 2003\Include\ARMV4
C:\Archivos de programa\Windows CE Tools\wce420\POCKET PC 2003\mfc\include
C:\Archivos de programa\Windows CE Tools\wce420\POCKET PC 2003\atl\include
C:\ARCHIVOS DE PROGRAMA\MICROSOFT SQL SERVER CE 2.0\INC
C:\ARCHIVOS DE PROGRAMA\WINDOWS CE TOOLS\WCE400\STANDARDSDK\INCLUDE\ARMV4
C:\ARCHIVOS DE PROGRAMA\MICROSOFT SQL SERVER CE 2.0\LIB
C:\DOCUMENTS AND SETTINGS\SPABLO\ESCRITORIO\YPF\YERMOVILNUEVO\YERMO VIL

If you need any more information just tell me.

Thanks!
 
 

Recent GIDBlogGoogle+ Cheat Sheet by LocalTech

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Code Snipet For Doubly Linked List Danny C Programming Language 8 19-Feb-2008 11:37
High quality link building spogg Search Engine Optimization Forum 7 23-Aug-2006 11:41
Useful Free Link Exchange Program JC3 Member Announcements, Advertisements & Offers 0 23-Sep-2005 14:12
a significant problem after installing Xp mohammad Computer Software Forum - Windows 10 09-Aug-2005 07:03
link problem [1][2]----- zuzupus MySQL / PHP Forum 0 16-Sep-2003 05:16

Network Sites: GIDNetwork · GIDApp · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 03:42.


vBulletin, Copyright © 2000 - 2012, Jelsoft Enterprises Ltd.