I would like to insert a function AFXMessageBox in generic class, but the compiler said this "error C2665: 'AfxMessageBox' : none of the 2 overloads can convert parameter 1 from type 'char [30]'"
.
I have de same code in oder project type CDialog and i haven't any error
morais
0
Newbie Poster
Recommended Answers
Jump to PostThis board is for introductions only. Moved to C forum.
Jump to PostPost the line of code that caused that error because I'm not a mind reader or clairvoyant.
All 5 Replies
jbennet
1,618
Most Valuable Poster
Team Colleague
Featured Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Denniz
103
Posting Pro in Training
jencas
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.