Advertisement

1 - 10 of 35 containing alltags:("c2664") (0 seconds)
I am trying to make the following construction: class A {     CString s;     void method(CString t); }; void A::method(CString t) {     s = t; } ....   A a;   x = global_functio...
Zones: C++Date Answered: 02/19/2003 Grade: B Views: 0
I use the timeSetEvent function in ms VC++5.0.The source code of my program like this: { .................       Timer_id=timeSetEvent( 33,uResolution,myTimeProc,       dwUser,TIME_PERIODIC); ....... } void ...
Zones: Windows MFCDate Answered: 11/06/1998 Grade: B Views: 0
I'm getting the following error: error C2664: 'CreateThread' : cannot convert parameter 3 from 'bool (class std::basic_string<char,struct std::char_traits<char>,class std::allocator <char> >)' t...
Zones: C++Date Answered: 10/18/2001 Grade: A Views: 0
How do I correct the C2664 error?   from the header file:                // CONST MEMBER FUNCTIONS       const Item& data( ) const { return data_field; }       const expr_tree_node* left( ) const { retu...
Zones: C++Date Answered: 11/12/2005 Grade: A Views: 0
i am trying to compile a vc project in Microsoft Visual C++ 2005 (XP Pro v2002 SP2) and i am getting errors (there's only a few of them) like -- error C2146: syntax error : missing ';' before id...
Zones: MS Visual C++Date Answered: 05/29/2006 Grade: A Views: 0
Hi,   I am a little bit confused on some syntax in C++, yet I do not have a C++ reference book at hand... So please help if you can...   I declared my class (Vector) like following: template <cla...
Zones: C++Date Answered: 05/14/1998 Grade: A Views: 0
using vc6.0 I want to compile some code written with vc5.0        the problem seems to be as following:        (this time I give you complete code of my test-proggy...)        #include <...
Zones: C++, Microsoft Visual C++Date Answered: 10/12/1999 Grade: A Views: 0
Hi, I have a class called CMonitor. In this class I defined unsigned int __stdcall PollingUpdate(void *pParameters); I wanted to call it like this to create my thread: hThread = (HAN...
Zones: Windows MFCDate Answered: 07/03/2000 Grade: A Views: 0
I would like to declare a list of smart pointers. Is this possible? I am trying something like: std::list< CComPtr< IMyInterface > > m_spMyInterface; I get the following copile error: erro...
Zones: C++, Microsoft Visual C++, Microsoft...Date Answered: 07/07/2000 Grade: A Views: 0
OK How do I fix this little problem?  The code originally compiled and worked in MS C++ 4.0, but is now in MS C++ 6.0.  Now I get this error. Here is the data: str.Format("SELECT * FROM BA...
Zones: C++Date Answered: 08/02/2000 Grade: A Views: 5