Click here to Skip to main content
15,921,905 members
Home / Discussions / COM
   

COM

 
GeneralRe: Does anyone know of a tool for reporting differences between two versions of the same typelib? Pin
pdohara19-Feb-09 11:27
pdohara19-Feb-09 11:27 
GeneralRe: Does anyone know of a tool for reporting differences between two versions of the same typelib? Pin
«_Superman_»19-Feb-09 18:02
professional«_Superman_»19-Feb-09 18:02 
GeneralRe: Does anyone know of a tool for reporting differences between two versions of the same typelib? Pin
pdohara23-Feb-09 9:11
pdohara23-Feb-09 9:11 
QuestionError : hr 0x80040154 Class not registered Pin
pandit8418-Feb-09 3:47
pandit8418-Feb-09 3:47 
QuestionRe: Error : hr 0x80040154 Class not registered Pin
«_Superman_»18-Feb-09 17:59
professional«_Superman_»18-Feb-09 17:59 
AnswerRe: Error : hr 0x80040154 Class not registered Pin
pandit8418-Feb-09 18:29
pandit8418-Feb-09 18:29 
QuestionInvalid callee error when calling COM function Pin
vineeshV18-Feb-09 1:32
vineeshV18-Feb-09 1:32 
QuestionIXMLHTTPRequest only seems to work once! [modified] Pin
Henrik Nelson18-Feb-09 1:05
Henrik Nelson18-Feb-09 1:05 
I'm using IXMLHTTPRequest to retrieve a XML document to parse it in an application I'm writing for a Pocket PC. I have written a function to retrieve the XML-document as a BSTR-string. Here's my function (without error handling and such):

BSTR GetXmlFeed()
{

HRESULT hr;
HRESULT hrCoInit;
hrCoInit = CoInitializeEx(NULL,COINIT_MULTITHREADED);

MSXML2::IXMLDOMDocumentPtr pXMLDoc = NULL;
MSXML2::IXMLHTTPRequestPtr pIXMLHTTPRequest = NULL;

hr=pIXMLHTTPRequest.CreateInstance("Msxml2.XMLHTTP");

hr=pIXMLHTTPRequest->open("GET", L"http://tv4vadret.se/autoflow/export/weather?cities=tv4.vader.sverige.orter.stockholm", false);

hr=pIXMLHTTPRequest->send();

pXMLDoc=pIXMLHTTPRequest->responseXML;

BSTR bstrString;
pIXMLHTTPRequest->get_responseText(&bstrString);

return bstrString;

}

This works fantastic the first time I use the function, however if I leave the program running for a while (and sees that the xml-document I'm trying to load is updated on the webserver) and call the function again, it returns with the same value of bstrString.. Can anyone please help me?

EDIT: It somehow works now, but only after my program has been idling for 5 minutes. I would like it to be able to retrieve the information straight away!

modified on Wednesday, February 18, 2009 7:32 AM

QuestionExcel's 2007 WorkbookBeforeSave Interface cancel problem Pin
nitincop18-Feb-09 0:58
nitincop18-Feb-09 0:58 
QuestionProblem with COleDispatchDriver::CreateDispatch(...). It is failing on x64 platform. Pin
sumd17-Feb-09 23:21
sumd17-Feb-09 23:21 
QuestionError - hr = 0x80040110 Class does not support aggregation (or class object is remote) Pin
pandit8416-Feb-09 17:54
pandit8416-Feb-09 17:54 
AnswerRe: Error - hr = 0x80040110 Class does not support aggregation (or class object is remote) Pin
«_Superman_»16-Feb-09 23:08
professional«_Superman_»16-Feb-09 23:08 
GeneralRe: Error - hr = 0x80040110 Class does not support aggregation (or class object is remote) Pin
pandit8416-Feb-09 23:27
pandit8416-Feb-09 23:27 
AnswerRe: Error - hr = 0x80040110 Class does not support aggregation (or class object is remote) Pin
frx9617-Feb-09 14:13
frx9617-Feb-09 14:13 
QuestionInterfacing with Excel Manager application Pin
Aladin10116-Feb-09 6:35
Aladin10116-Feb-09 6:35 
QuestionSharing variable between instances of COM object? Pin
Mike the Red16-Feb-09 1:43
Mike the Red16-Feb-09 1:43 
AnswerRe: Sharing variable between instances of COM object? Pin
frx9616-Feb-09 17:44
frx9616-Feb-09 17:44 
GeneralRe: Sharing variable between instances of COM object? Pin
Mike the Red16-Feb-09 23:17
Mike the Red16-Feb-09 23:17 
QuestionAddin a port to firewall's exception list. Pin
ShyamR15-Feb-09 23:58
ShyamR15-Feb-09 23:58 
Questioncalling COM using CreateObject ( late bind ) Pin
vineeshV15-Feb-09 23:22
vineeshV15-Feb-09 23:22 
AnswerRe: calling COM using CreateObject ( late bind ) Pin
Mike the Red16-Feb-09 3:32
Mike the Red16-Feb-09 3:32 
Question[HELP]Problems with Kodak scanner Pin
Palermo4ever15-Feb-09 22:17
Palermo4ever15-Feb-09 22:17 
QuestionHow do I un register and re register dlls in COM+ - need help Pin
Slow Learner14-Feb-09 12:15
Slow Learner14-Feb-09 12:15 
AnswerRe: How do I un register and re register dlls in COM+ - need help Pin
Slow Learner14-Feb-09 12:31
Slow Learner14-Feb-09 12:31 
GeneralRe: How do I un register and re register dlls in COM+ - need help Pin
Mike the Red16-Feb-09 3:52
Mike the Red16-Feb-09 3:52 

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.