Click here to Skip to main content
15,890,282 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Register Dll Pin
ThatsAlok27-Feb-08 19:55
ThatsAlok27-Feb-08 19:55 
Generaldefine max length for allocator Pin
George_George27-Feb-08 19:37
George_George27-Feb-08 19:37 
GeneralRe: define max length for allocator Pin
Maximilien28-Feb-08 2:58
Maximilien28-Feb-08 2:58 
GeneralRe: define max length for allocator Pin
George_George28-Feb-08 14:23
George_George28-Feb-08 14:23 
QuestionBuild a chm file? [modified] Pin
fantasy121527-Feb-08 19:23
fantasy121527-Feb-08 19:23 
AnswerRe: Build a chm file? Pin
Rajkumar R27-Feb-08 21:04
Rajkumar R27-Feb-08 21:04 
QuestionRe: Build a chm file? Pin
David Crow28-Feb-08 2:34
David Crow28-Feb-08 2:34 
QuestionIE7/COM problems ? Pin
Christian Graus27-Feb-08 18:40
protectorChristian Graus27-Feb-08 18:40 
We have a bunch of code that works for IE6, but doesn't for IE7. Two examples:

try
{
hres = pDispatch->GetIDsOfNames(IID_NULL
, &memberName
, 1
, LOCALE_SYSTEM_DEFAULT
, &nameDispId
);
}
catch(...)
{
// Stupid IE7 will blow up instead of returning DISP_E_UNKNOWNNAME
hres = DISP_E_UNKNOWNNAME;
}

When we pass in a method it can't find ( typically because we have
getNodeNames when we want the get accessor for the nodeNames property
), IE6 returns the right code, IE7 blows up. This above solves our
problem.

// See if we can get the ITypeInfo interface off this object
CComPtr<ITypeInfo> pTypeInfo;
pDispatch->GetTypeInfo(0, 0, &pTypeInfo);

This just blows up in IE7, no matter what.

Have things drastically changed in IE7 ? Is this documented somewhere
? I've been googling...

Christian Graus - Microsoft MVP - C++

"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

AnswerRe: IE7/COM problems ? Pin
Stephen Hewitt27-Feb-08 20:41
Stephen Hewitt27-Feb-08 20:41 
GeneralRe: IE7/COM problems ? Pin
Christian Graus27-Feb-08 21:13
protectorChristian Graus27-Feb-08 21:13 
GeneralRe: IE7/COM problems ? Pin
Stephen Hewitt28-Feb-08 13:04
Stephen Hewitt28-Feb-08 13:04 
QuestionException Pin
T.RATHA KRISHNAN27-Feb-08 18:20
T.RATHA KRISHNAN27-Feb-08 18:20 
GeneralRe: Exception Pin
Maxwell Chen27-Feb-08 18:41
Maxwell Chen27-Feb-08 18:41 
QuestionRe: Exception Pin
T.RATHA KRISHNAN27-Feb-08 18:57
T.RATHA KRISHNAN27-Feb-08 18:57 
QuestionRe: Exception Pin
Rajkumar R28-Feb-08 2:50
Rajkumar R28-Feb-08 2:50 
GeneralRe: Exception Pin
Michael Dunn28-Feb-08 13:17
sitebuilderMichael Dunn28-Feb-08 13:17 
GeneralDisplay only the screen Pin
Chandrasekharan P27-Feb-08 17:05
Chandrasekharan P27-Feb-08 17:05 
AnswerRe: Display only the screen Pin
Rajkumar R27-Feb-08 18:25
Rajkumar R27-Feb-08 18:25 
GeneralRe: Display only the screen [modified] Pin
Chandrasekharan P27-Feb-08 18:49
Chandrasekharan P27-Feb-08 18:49 
AnswerRe: Display only the screen [modified] Pin
Rajkumar R27-Feb-08 19:28
Rajkumar R27-Feb-08 19:28 
GeneralRe: Display only the screen Pin
Chandrasekharan P27-Feb-08 20:28
Chandrasekharan P27-Feb-08 20:28 
GeneralRe: Display only the screen Pin
Rajkumar R28-Feb-08 2:57
Rajkumar R28-Feb-08 2:57 
QuestionRe: Display only the screen Pin
Chandrasekharan P28-Feb-08 18:51
Chandrasekharan P28-Feb-08 18:51 
GeneralRe: Display only the screen Pin
Chandrasekharan P28-Feb-08 22:06
Chandrasekharan P28-Feb-08 22:06 
GeneralRe: Display only the screen Pin
Rajkumar R5-Mar-08 19:28
Rajkumar R5-Mar-08 19: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.