Click here to Skip to main content
15,891,981 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalhelp me to find errors! Thanks Pin
Guoguor13-Oct-04 21:53
Guoguor13-Oct-04 21:53 
GeneralRe: help me to find errors! Thanks Pin
David Crow14-Oct-04 2:46
David Crow14-Oct-04 2:46 
GeneralRe: help me to find errors! Thanks Pin
Guoguor14-Oct-04 16:14
Guoguor14-Oct-04 16:14 
GeneralRe: help me to find errors! Thanks Pin
David Crow15-Oct-04 2:22
David Crow15-Oct-04 2:22 
QuestionHow to sign an ActiveX? Pin
anderslundsgard13-Oct-04 21:38
anderslundsgard13-Oct-04 21:38 
AnswerRe: How to sign an ActiveX? Pin
geo_m14-Oct-04 2:11
geo_m14-Oct-04 2:11 
QuestionHow To Pass CPoint* to VARIANT FAR Pin
Rajesh_Parameswaran13-Oct-04 21:09
Rajesh_Parameswaran13-Oct-04 21:09 
GeneralProblem occurred ...please help Pin
pubududilena13-Oct-04 20:40
pubududilena13-Oct-04 20:40 
hi all,
I have a Method like this:-
void CMyprogramDlg::Addcustomers(BSTR bstrParty)
{
CListBox m_lbParties;
_ASSERTE( bstrParty != NULL);
m_lbParties.AddString(bstrParty);
}

But when I compile this,I am getting such a Error:-
"error C2664: 'AddString' : cannot convert parameter 1 from 'unsigned short *' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
"
How do I solve this?
If anyone know this please help me..
Thanks in Advance..
GeneralRe: Problem occurred ...please help Pin
geo_m13-Oct-04 21:36
geo_m13-Oct-04 21:36 
GeneralRe: Problem occurred ...please help Pin
Andrzej Markowski13-Oct-04 22:26
Andrzej Markowski13-Oct-04 22:26 
QuestionHow to find the Domain name. Pin
Jijo.Raj13-Oct-04 20:04
Jijo.Raj13-Oct-04 20:04 
AnswerRe: How to find the Domain name. Pin
geo_m14-Oct-04 0:18
geo_m14-Oct-04 0:18 
GeneralRe: How to find the Domain name. Pin
Jijo.Raj14-Oct-04 2:28
Jijo.Raj14-Oct-04 2:28 
AnswerRe: How to find the Domain name. Pin
David Crow14-Oct-04 2:50
David Crow14-Oct-04 2:50 
GeneralRe: How to find the Domain name. Pin
Jijo.Raj18-Oct-04 20:35
Jijo.Raj18-Oct-04 20:35 
GeneralChanging the look and feel of button Pin
ledallam13-Oct-04 19:57
ledallam13-Oct-04 19:57 
GeneralRe: Changing the look and feel of button Pin
Sujan Christo13-Oct-04 20:41
Sujan Christo13-Oct-04 20:41 
GeneralRe: Changing the look and feel of button Pin
pubududilena13-Oct-04 20:45
pubududilena13-Oct-04 20:45 
GeneralRe: Changing the look and feel of button Pin
ledallam13-Oct-04 20:53
ledallam13-Oct-04 20:53 
GeneralRe: Changing the look and feel of button Pin
rabih_kai13-Oct-04 23:34
rabih_kai13-Oct-04 23:34 
QuestionHow do I remove this Error? Pin
pubududilena13-Oct-04 19:27
pubududilena13-Oct-04 19:27 
AnswerRe: How do I remove this Error? Pin
GDavy13-Oct-04 19:52
GDavy13-Oct-04 19:52 
GeneralRe: How do I remove this Error? Pin
pubududilena13-Oct-04 20:04
pubududilena13-Oct-04 20:04 
QuestionWhere's the code? Pin
Anonymous13-Oct-04 17:10
Anonymous13-Oct-04 17:10 
AnswerRe: Where's the code? Pin
Tyrus18213-Oct-04 17:28
Tyrus18213-Oct-04 17:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.