Click here to Skip to main content
16,005,376 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Where to create font and set it to owner drawn menu Pin
Hamid_RT18-Apr-07 1:41
Hamid_RT18-Apr-07 1:41 
Questioncolor of a button Pin
p_17-Apr-07 22:20
p_17-Apr-07 22:20 
AnswerRe: color of a button Pin
Hamid_RT17-Apr-07 22:22
Hamid_RT17-Apr-07 22:22 
GeneralRe: color of a button Pin
p_17-Apr-07 22:34
p_17-Apr-07 22:34 
GeneralRe: color of a button Pin
Hamid_RT18-Apr-07 1:28
Hamid_RT18-Apr-07 1:28 
GeneralRe: color of a button Pin
Hamid_RT18-Apr-07 1:32
Hamid_RT18-Apr-07 1:32 
GeneralRe: color of a button Pin
Mark Salsbery18-Apr-07 6:29
Mark Salsbery18-Apr-07 6:29 
QuestionDeclare Friend with a template class in Visual C++ 2005 Pin
Nacho Chip17-Apr-07 21:39
Nacho Chip17-Apr-07 21:39 
When I try to compile my old code in Visual C++ 2005, I get the error message

error C2990: 'Cg2HashTable' : non-class template has already been declared as a class template

with the code

<br />
//***************************************************************<br />
// Forward declarations <br />
<br />
template <class lType><br />
class Cg2FixedList;<br />
<br />
template <class keyType, class dataType><br />
class Cg2HashTable;<br />
<br />
template <class KEY, class DATA><br />
class Cg2SortedList;<br />
<br />
//***************************************************************<br />
<br />
class Cg2DataHandle {<br />
<br />
	private:<br />
		friend class Cg2FixedList;<br />
		friend class Cg2HashTable;<br />
		friend class Cg2SortedList;<br />
                ...............<br />
<br />


How can I fix this? Thanks!



Nacho

QuestionThe file contains a character that cannot be represented in the current code page Pin
Nacho Chip17-Apr-07 21:34
Nacho Chip17-Apr-07 21:34 
AnswerRe: The file contains a character that cannot be represented in the current code page Pin
Rajesh R Subramanian17-Apr-07 21:39
professionalRajesh R Subramanian17-Apr-07 21:39 
GeneralRe: The file contains a character that cannot be represented in the current code page Pin
Nacho Chip17-Apr-07 21:41
Nacho Chip17-Apr-07 21:41 
GeneralRe: The file contains a character that cannot be represented in the current code page Pin
Rajesh R Subramanian17-Apr-07 21:46
professionalRajesh R Subramanian17-Apr-07 21:46 
AnswerRe: The file contains a character that cannot be represented in the current code page Pin
Hamid_RT17-Apr-07 21:51
Hamid_RT17-Apr-07 21:51 
QuestionHelp on "XXX" in MMC menu not wroking Pin
mahanagarjuna17-Apr-07 21:12
mahanagarjuna17-Apr-07 21:12 
QuestionHow do i change the internet explorer settings programatically Pin
vishnuteja17-Apr-07 21:10
vishnuteja17-Apr-07 21:10 
AnswerRe: How do i change the internet explorer settings programatically Pin
Hamid_RT17-Apr-07 21:24
Hamid_RT17-Apr-07 21:24 
GeneralRe: How do i change the internet explorer settings programatically Pin
vishnuteja18-Apr-07 1:09
vishnuteja18-Apr-07 1:09 
GeneralRe: How do i change the internet explorer settings programatically Pin
Hamid_RT18-Apr-07 1:23
Hamid_RT18-Apr-07 1:23 
GeneralRe: How do i change the internet explorer settings programatically Pin
vishnuteja18-Apr-07 1:51
vishnuteja18-Apr-07 1:51 
GeneralRe: How do i change the internet explorer settings programatically Pin
Hamid_RT18-Apr-07 2:23
Hamid_RT18-Apr-07 2:23 
GeneralRe: How do i change the internet explorer settings programatically Pin
vishnuteja18-Apr-07 2:46
vishnuteja18-Apr-07 2:46 
GeneralRe: How do i change the internet explorer settings programatically Pin
Hamid_RT18-Apr-07 7:27
Hamid_RT18-Apr-07 7:27 
AnswerRe: How do i change the internet explorer settings programatically Pin
David Crow18-Apr-07 3:54
David Crow18-Apr-07 3:54 
GeneralRe: How do i change the internet explorer settings programatically Pin
vishnuteja18-Apr-07 19:54
vishnuteja18-Apr-07 19:54 
GeneralRe: How do i change the internet explorer settings programatically Pin
David Crow19-Apr-07 2:42
David Crow19-Apr-07 2:42 

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.