Click here to Skip to main content
15,914,071 members
Home / Discussions / COM
   

COM

 
GeneralODBC, SQL Server, "FOR XML" & Cursors error Pin
zoltanie14-Oct-04 6:04
zoltanie14-Oct-04 6:04 
Questionexe com server problem? Pin
G.Richard13-Oct-04 21:12
G.Richard13-Oct-04 21:12 
AnswerRe: exe com server problem? Pin
User 21559714-Oct-04 19:44
User 21559714-Oct-04 19:44 
GeneralRe: exe com server problem? Pin
G.Richard14-Oct-04 20:49
G.Richard14-Oct-04 20:49 
GeneralRe: exe com server problem? Pin
Lim Bio Liong15-Oct-04 1:52
Lim Bio Liong15-Oct-04 1:52 
AnswerRe: exe com server problem? Pin
darkbyte11-Nov-04 10:34
darkbyte11-Nov-04 10:34 
GeneralSaving message using MAPI Pin
Madmaximus13-Oct-04 7:02
Madmaximus13-Oct-04 7:02 
GeneralDecode HRESULT from URLDownloadToFile() (e.g.0x800C0005) Pin
Eugene Homyakov13-Oct-04 6:26
Eugene Homyakov13-Oct-04 6:26 
How to get message string for HRESULTs I got from URLDownloadToFile() and other URL Monikers functions?

8 is error
C is FACILITY_INTERNET
5 is some error code.

I need smth like FormatMessage() API.

I tried FormatMessage() from modules "wininet.dll" and "urlmon.dll" (for codes 0x800C0005 and 5) but that does not work:

// hr == 0x800C0005
FormatMessage (FORMAT_MESSAGE_FROM_HMODULE | FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_IGNORE_INSERTS,
GetModuleHandle("wininet.dll"), hr & 0xFFFF, 0, (LPTSTR) &msg, 0, NULL);

InternetGetLastResponse() does not return anything too.

BTW, I found the following explanations is MSDN:
The server or proxy was not found (Error=800C0005)
The protocol is not known and no pluggable protocols have been entered that match. (Error=800C000D)

What are other codes (I experienced 0x800C0007, 0x800C0008)?
GeneralRe: Decode HRESULT from URLDownloadToFile() (e.g.0x800C0005) Pin
Eugene Homyakov13-Oct-04 6:32
Eugene Homyakov13-Oct-04 6:32 
GeneralRe: Decode HRESULT from URLDownloadToFile() (e.g.0x800C0005) Pin
geo_m14-Oct-04 1:35
geo_m14-Oct-04 1:35 
Generallooking for help related to IPicture Pin
summerbwn13-Oct-04 0:52
summerbwn13-Oct-04 0:52 
GeneralRe: looking for help related to IPicture Pin
geo_m14-Oct-04 1:30
geo_m14-Oct-04 1:30 
GeneralRe: looking for help related to IPicture Pin
ThatsAlok15-Oct-04 4:13
ThatsAlok15-Oct-04 4:13 
GeneralSMTP email id Pin
Deepak Kumar Singh12-Oct-04 21:16
Deepak Kumar Singh12-Oct-04 21:16 
Generalpassing a structure across DCOM Pin
Ravi Jadhav12-Oct-04 2:38
Ravi Jadhav12-Oct-04 2:38 
GeneralRe: passing a structure across DCOM Pin
Kurt Muellner12-Oct-04 21:43
Kurt Muellner12-Oct-04 21:43 
QuestionHow to fire an event within a thread in Vc++ Pin
Akshay Dave11-Oct-04 18:12
Akshay Dave11-Oct-04 18:12 
AnswerRe: How to fire an event within a thread in Vc++ Pin
Ravi Bhavnani13-Oct-04 6:46
professionalRavi Bhavnani13-Oct-04 6:46 
GeneralRe: How to fire an event within a thread in Vc++ Pin
Akshay Dave13-Oct-04 19:17
Akshay Dave13-Oct-04 19:17 
GeneralRe: How to fire an event within a thread in Vc++ Pin
Lim Bio Liong15-Oct-04 2:11
Lim Bio Liong15-Oct-04 2:11 
GeneralRe: How to fire an event within a thread in Vc++ Pin
Akshay Dave15-Oct-04 20:31
Akshay Dave15-Oct-04 20:31 
GeneralRe: How to fire an event within a thread in Vc++ Pin
Lim Bio Liong16-Oct-04 18:52
Lim Bio Liong16-Oct-04 18:52 
QuestionUsing Text Object Model for RichEdit manipulation? Pin
Jonathan Lee Brown11-Oct-04 12:37
Jonathan Lee Brown11-Oct-04 12:37 
GeneralRDO data binding works if set up at design time but not in code Pin
Yuqing Zhu10-Oct-04 17:37
Yuqing Zhu10-Oct-04 17:37 
Questionbar code coding using serial port? Pin
unambiguos8-Oct-04 19:01
unambiguos8-Oct-04 19:01 

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.