Click here to Skip to main content
15,895,667 members
Home / Discussions / C#
   

C#

 
AnswerRe: Problem with Convert.FromBase64String !!! Pin
Giorgi Dalakishvili20-Jun-08 10:07
mentorGiorgi Dalakishvili20-Jun-08 10:07 
AnswerRe: Problem with Convert.FromBase64String !!! Pin
Spacix One20-Jun-08 10:38
Spacix One20-Jun-08 10:38 
AnswerRe: Problem with Convert.FromBase64String !!! Pin
Mohammad Dayyan20-Jun-08 11:44
Mohammad Dayyan20-Jun-08 11:44 
QuestionVista titlebar custom drawing Pin
Nedim Sabic20-Jun-08 9:37
Nedim Sabic20-Jun-08 9:37 
Question[Message Deleted] Pin
ferronrsmith20-Jun-08 8:10
ferronrsmith20-Jun-08 8:10 
Question[Message Deleted] Pin
ferronrsmith20-Jun-08 8:10
ferronrsmith20-Jun-08 8:10 
AnswerRe: Creating A Web From with database back-end Pin
leppie20-Jun-08 8:13
leppie20-Jun-08 8:13 
QuestionC# and COM and return values. (newby question) Pin
Maximilien20-Jun-08 8:06
Maximilien20-Jun-08 8:06 
(Just learning C# and trying to do what I did in C++ with C#, and this is not an urgent question)

I have a COM "server" with a method FileOpen which returns a HRESULT :

...
	[id(2), helpstring("Open a file.")] HRESULT FileOpen([in] BSTR filename);
...
	STDMETHOD(FileOpen)(BSTR filename);
...


When I added the reference to my COM stuff in my sample C# project, the method is listed as Void FileOpen(...) (when I look at the browser in the IDE), I loose the return code.

Am I missing something ? As far as I understand, the COM is wrapped in a proxy (Runtime callable Wrapper) of some kind; I assume this strips the return value from the prototype ?

Thanks for any help, hints, tips, or links (or even better) for google keywords that can help me in my searches.

Max.

This signature was proudly tested on animals.

AnswerRe: C# and COM and return values. (newby question) Pin
leppie20-Jun-08 8:15
leppie20-Jun-08 8:15 
GeneralRe: C# and COM and return values. (newby question) Pin
Maximilien20-Jun-08 8:36
Maximilien20-Jun-08 8:36 
GeneralRe: C# and COM and return values. (newby question) Pin
Brady Kelly20-Jun-08 8:56
Brady Kelly20-Jun-08 8:56 
GeneralRe: C# and COM and return values. (newby question) Pin
Luc Pattyn20-Jun-08 9:07
sitebuilderLuc Pattyn20-Jun-08 9:07 
GeneralRe: C# and COM and return values. (newby question) Pin
leppie20-Jun-08 9:25
leppie20-Jun-08 9:25 
GeneralRe: C# and COM and return values. (newby question) Pin
leppie20-Jun-08 9:27
leppie20-Jun-08 9:27 
QuestionCannot seem to be able to write a byte[] to a file Pin
LCI20-Jun-08 7:56
LCI20-Jun-08 7:56 
AnswerRe: Cannot seem to be able to write a byte[] to a file Pin
Giorgi Dalakishvili20-Jun-08 8:06
mentorGiorgi Dalakishvili20-Jun-08 8:06 
AnswerRe: Cannot seem to be able to write a byte[] to a file Pin
leppie20-Jun-08 8:12
leppie20-Jun-08 8:12 
GeneralRe: Cannot seem to be able to write a byte[] to a file Pin
LCI20-Jun-08 8:22
LCI20-Jun-08 8:22 
GeneralRe: Cannot seem to be able to write a byte[] to a file Pin
leppie20-Jun-08 8:27
leppie20-Jun-08 8:27 
GeneralRe: Cannot seem to be able to write a byte[] to a file Pin
LCI20-Jun-08 8:32
LCI20-Jun-08 8:32 
QuestionHex String into number Pin
aman200620-Jun-08 7:26
aman200620-Jun-08 7:26 
AnswerRe: Hex String into number Pin
snorkie20-Jun-08 7:47
professionalsnorkie20-Jun-08 7:47 
GeneralRe: Hex String into number Pin
aman200620-Jun-08 7:56
aman200620-Jun-08 7:56 
GeneralRe: Hex String into number Pin
snorkie20-Jun-08 8:05
professionalsnorkie20-Jun-08 8:05 
GeneralRe: Hex String into number Pin
leppie20-Jun-08 8:17
leppie20-Jun-08 8:17 

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.