Click here to Skip to main content
15,917,565 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: How to load BHO DLL only with Window Explorer Pin
rhmitul5-Jan-12 4:58
rhmitul5-Jan-12 4:58 
AnswerRe: How to load BHO DLL only with Window Explorer Pin
Michael Dunn5-Dec-08 15:43
sitebuilderMichael Dunn5-Dec-08 15:43 
Questioncalling c# com from c++ using ATL Pin
Liat Even17-Nov-08 3:36
Liat Even17-Nov-08 3:36 
AnswerRe: calling c# com from c++ using ATL Pin
Stuart Dootson17-Nov-08 6:11
professionalStuart Dootson17-Nov-08 6:11 
GeneralRe: calling c# com from c++ using ATL Pin
Liat Even17-Nov-08 8:04
Liat Even17-Nov-08 8:04 
GeneralRe: calling c# com from c++ using ATL Pin
led mike17-Nov-08 9:23
led mike17-Nov-08 9:23 
GeneralRe: calling c# com from c++ using ATL Pin
Stuart Dootson17-Nov-08 12:09
professionalStuart Dootson17-Nov-08 12:09 
QuestionProblem in using _int64 as the key of STL hash_map : error C2064: term does not evaluate to a function Pin
abdulhameedutmanzai15-Nov-08 7:05
abdulhameedutmanzai15-Nov-08 7:05 
hi everybody!

I want to use a _int46 integer as the key of STL hash_map. it seems ok when i declare the map object. But when i insert some values in the map,i get the following error

"
Error C2064: term does not evaluate to a function

c:\program files\microsoft visual studio\vc98\include\stl_hashtable.h(537) : while compiling class-template member function 'unsigned int __thiscall std::hashtable<struct std::pair<__int64 const ,int>,__int64,struct std::hash<__int64>,struct
std::_Select1st<struct std::pair<__int64 const ,int> >,struct std::equal_to<__int64>,class std::__default_alloc_template<0,0> >::_M_bkt_num_key(const __int64 &,unsigned int) const'
Error executing cl.exe.
"
Blew is the code that generate this error.

//////////////////////////////////////////////////////////
#include "stdafx.h"
#include <hash_map>
#include <stdio>

using namespace std;

int main(int argc, char* argv[])
{

_int64 int64a=88888;

hash_map<_int64,int> amap;
hash_map<_int64,int>::iterator iter;

pair<const>apair;

amap.insert(apair(int64a,33)); //ERROR C2064
return 0;
}
////////////////////////////////////////////////////</const></stdio></hash_map>


please suggest what is the cause of error and how to avoid it.
AnswerRe: Problem in using _int64 as the key of STL hash_map : error C2064: term does not evaluate to a function Pin
Stuart Dootson17-Nov-08 0:04
professionalStuart Dootson17-Nov-08 0:04 
QuestionHow to change background color fot an IE toolbar? Pin
ritz123413-Nov-08 21:46
ritz123413-Nov-08 21:46 
QuestionHow to retrieve document content or whole document on DocumentOpen Event Pin
PatilVijay9-Nov-08 19:39
PatilVijay9-Nov-08 19:39 
QuestionIn ATL, how to sink web event with IDispEventImpl?? Pin
King_jinjing7-Nov-08 3:12
King_jinjing7-Nov-08 3:12 
AnswerRe: In ATL, how to sink web event with IDispEventImpl?? Pin
Stuart Dootson7-Nov-08 5:47
professionalStuart Dootson7-Nov-08 5:47 
GeneralRe: In ATL, how to sink web event with IDispEventImpl?? Pin
King_jinjing7-Nov-08 6:04
King_jinjing7-Nov-08 6:04 
GeneralRe: In ATL, how to sink web event with IDispEventImpl?? Pin
Stuart Dootson7-Nov-08 8:50
professionalStuart Dootson7-Nov-08 8:50 
GeneralRe: In ATL, how to sink web event with IDispEventImpl?? Pin
King_jinjing7-Nov-08 18:05
King_jinjing7-Nov-08 18:05 
GeneralRe: In ATL, how to sink web event with IDispEventImpl?? Pin
Stuart Dootson8-Nov-08 1:10
professionalStuart Dootson8-Nov-08 1:10 
GeneralRe: In ATL, how to sink web event with IDispEventImpl?? Pin
King_jinjing8-Nov-08 5:38
King_jinjing8-Nov-08 5:38 
GeneralRe: In ATL, how to sink web event with IDispEventImpl?? Pin
Stuart Dootson9-Nov-08 22:21
professionalStuart Dootson9-Nov-08 22:21 
GeneralRe: In ATL, how to sink web event with IDispEventImpl?? Pin
King_jinjing10-Nov-08 3:15
King_jinjing10-Nov-08 3:15 
QuestionNT Services (ATL Com AppWizard - ServerType:Service(exe) ) Pin
Taruni4-Nov-08 0:48
Taruni4-Nov-08 0:48 
AnswerRe: NT Services (ATL Com AppWizard - ServerType:Service(exe) ) Pin
led mike4-Nov-08 6:53
led mike4-Nov-08 6:53 
QuestionIs it to return the address of an element in a vector Pin
followait29-Oct-08 0:11
followait29-Oct-08 0:11 
AnswerRe: Is it to return the address of an element in a vector Pin
Roger Stoltz29-Oct-08 0:39
Roger Stoltz29-Oct-08 0:39 
AnswerRe: Is it to return the address of an element in a vector Pin
Stuart Dootson29-Oct-08 4:13
professionalStuart Dootson29-Oct-08 4:13 

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.