Click here to Skip to main content
15,900,378 members
Home / Discussions / C#
   

C#

 
GeneralRe: iterating through xml created from a spreadsheet Pin
Heath Stewart28-Sep-04 13:11
protectorHeath Stewart28-Sep-04 13:11 
QuestionOutlook sync component? Pin
cmkWildsky28-Sep-04 11:53
cmkWildsky28-Sep-04 11:53 
AnswerRe: Outlook sync component? Pin
Heath Stewart28-Sep-04 13:12
protectorHeath Stewart28-Sep-04 13:12 
GeneralC# COM object to TLB generation problem Pin
Werdna28-Sep-04 10:35
Werdna28-Sep-04 10:35 
GeneralRe: C# COM object to TLB generation problem Pin
Heath Stewart28-Sep-04 15:41
protectorHeath Stewart28-Sep-04 15:41 
GeneralRe: C# COM object to TLB generation problem Pin
Werdna28-Sep-04 16:00
Werdna28-Sep-04 16:00 
GeneralRe: C# COM object to TLB generation problem Pin
Heath Stewart28-Sep-04 18:34
protectorHeath Stewart28-Sep-04 18:34 
GeneralRe: C# COM object to TLB generation problem Pin
Werdna29-Sep-04 4:33
Werdna29-Sep-04 4:33 
Also, while we're on the subject.
How do strings returned from .net work?
If I have a method string getSomething()
I have to call it as: HRESULT getSomething(BSTR* result);

It seems I have to allocate the string for the result.
I'm doing:
CComBSTR result(20);
and call it:
getSomething(&result.m_str);

what happens if I return string longer than 20 characters? Does CLR allocate more chars?

I tried looking in MSDN, but I couldn't find any information. It seems all examples I can find only deal with ints or doubles.
GeneralRe: C# COM object to TLB generation problem Pin
Heath Stewart29-Sep-04 5:51
protectorHeath Stewart29-Sep-04 5:51 
GeneralRe: C# COM object to TLB generation problem Pin
Werdna29-Sep-04 6:17
Werdna29-Sep-04 6:17 
GeneralToolBar That Doesn't Move Pin
MarkMokris28-Sep-04 10:04
MarkMokris28-Sep-04 10:04 
GeneralRe: ToolBar That Doesn't Move Pin
Brian Nottingham28-Sep-04 10:28
Brian Nottingham28-Sep-04 10:28 
GeneralRe: ToolBar That Doesn't Move Pin
MarkMokris28-Sep-04 10:44
MarkMokris28-Sep-04 10:44 
General"Independent Display" Pin
monkeymonkey00728-Sep-04 7:11
monkeymonkey00728-Sep-04 7:11 
GeneralRe: "Independent Display" Pin
Christian Graus28-Sep-04 11:50
protectorChristian Graus28-Sep-04 11:50 
GeneralA C# / SQL Query Problem Pin
cemlouis28-Sep-04 6:51
cemlouis28-Sep-04 6:51 
GeneralRe: A C# / SQL Query Problem Pin
Christian Graus28-Sep-04 11:51
protectorChristian Graus28-Sep-04 11:51 
GeneralRe: A C# / SQL Query Problem Pin
Colin Angus Mackay28-Sep-04 12:19
Colin Angus Mackay28-Sep-04 12:19 
GeneralRe: A C# / SQL Query Problem Pin
cemlouis28-Sep-04 14:01
cemlouis28-Sep-04 14:01 
GeneralKeep a Form on Top Pin
MarkMokris28-Sep-04 6:22
MarkMokris28-Sep-04 6:22 
GeneralRe: Keep a Form on Top Pin
Nnamdi Onyeyiri28-Sep-04 6:33
Nnamdi Onyeyiri28-Sep-04 6:33 
GeneralRe: Keep a Form on Top Pin
Anonymous28-Sep-04 6:40
Anonymous28-Sep-04 6:40 
Generaluploading to images to remote server Pin
butchzn28-Sep-04 4:12
butchzn28-Sep-04 4:12 
GeneralRe: uploading to images to remote server Pin
Heath Stewart28-Sep-04 5:14
protectorHeath Stewart28-Sep-04 5:14 
GeneralInverse colour in GDI+ Pin
benjymous28-Sep-04 3:48
benjymous28-Sep-04 3:48 

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.