Click here to Skip to main content
15,919,245 members
Home / Discussions / C#
   

C#

 
GeneralDial Modem & Use Default Internet Connection Pin
Simon Wren2-Mar-04 4:09
professionalSimon Wren2-Mar-04 4:09 
GeneralRe: Dial Modem & Use Default Internet Connection Pin
Mazdak2-Mar-04 4:25
Mazdak2-Mar-04 4:25 
GeneralVB.NET to C# Language converter Pin
RB@Emphasys2-Mar-04 3:28
RB@Emphasys2-Mar-04 3:28 
GeneralRe: VB.NET to C# Language converter Pin
joan_fl2-Mar-04 4:10
joan_fl2-Mar-04 4:10 
GeneralRe: VB.NET to C# Language converter Pin
joan_fl2-Mar-04 4:17
joan_fl2-Mar-04 4:17 
GeneralRe: VB.NET to C# Language converter Pin
Heath Stewart2-Mar-04 4:38
protectorHeath Stewart2-Mar-04 4:38 
GeneralRe: VB.NET to C# Language converter Pin
RB@Emphasys2-Mar-04 4:41
RB@Emphasys2-Mar-04 4:41 
GeneralRe: VB.NET to C# Language converter Pin
Heath Stewart2-Mar-04 6:31
protectorHeath Stewart2-Mar-04 6:31 
GeneralRe: VB.NET to C# Language converter Pin
tgoggin2-Mar-04 5:42
tgoggin2-Mar-04 5:42 
GeneralRe: VB.NET to C# Language converter Pin
joan_fl2-Mar-04 4:43
joan_fl2-Mar-04 4:43 
GeneralRe: VB.NET to C# Language converter Pin
RB@Emphasys2-Mar-04 5:03
RB@Emphasys2-Mar-04 5:03 
GeneralRe: VB.NET to C# Language converter Pin
Daniel Turini2-Mar-04 7:13
Daniel Turini2-Mar-04 7:13 
Generalwww.DNNCS.com for sale Pin
Anonymous2-Mar-04 0:02
Anonymous2-Mar-04 0:02 
GeneralExchange tracking with C# Pin
Anonymous1-Mar-04 22:40
Anonymous1-Mar-04 22:40 
GeneralRe: Exchange tracking with C# Pin
Heath Stewart2-Mar-04 2:55
protectorHeath Stewart2-Mar-04 2:55 
Generalhelp with threads Pin
Krisst K1-Mar-04 21:58
Krisst K1-Mar-04 21:58 
GeneralRe: help with threads Pin
Stefan Troschuetz2-Mar-04 0:23
Stefan Troschuetz2-Mar-04 0:23 
GeneralCOM Interop Pin
Ungi.1-Mar-04 21:28
Ungi.1-Mar-04 21:28 
GeneralRe: COM Interop Pin
killerslaytanic1-Mar-04 21:49
killerslaytanic1-Mar-04 21:49 
GeneralRe: COM Interop Pin
Ungi.1-Mar-04 21:53
Ungi.1-Mar-04 21:53 
GeneralRe: COM Interop Pin
killerslaytanic1-Mar-04 22:09
killerslaytanic1-Mar-04 22:09 
GeneralRe: COM Interop Pin
Ungi.1-Mar-04 22:17
Ungi.1-Mar-04 22:17 
GeneralRe: COM Interop - boxing fault? Pin
Ungi.1-Mar-04 23:29
Ungi.1-Mar-04 23:29 
GeneralRe: COM Interop - boxing fault? Pin
killerslaytanic2-Mar-04 18:58
killerslaytanic2-Mar-04 18:58 
GeneralRe: COM Interop - boxing fault? Pin
Ungi.2-Mar-04 19:07
Ungi.2-Mar-04 19:07 
Of course I will post if I have the solution.

I really think that it is a boxing failure:
I have an array with four elements. To call the method of the ocx I have pass a reference to the first element of the array. But this element is a TypeValue and no reference value. So it is boxed --> put into the heap. But only the first(!!) element!!! So the ocx gets a reference to that element and writes the data into it and also writes data into the next 3 elements. But the other 3 elements aren't in the heap. At the end of the call my first element gets unboxed back into the stack and it has the correct value but the other 3 haven't.

Currently I try to pass through a SAFEARRAY. But there is a lot of studiing because I never used to work with MFC and ClassWizard and so on (only C/C++). But I think I am on the right way!

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.