Click here to Skip to main content
15,887,454 members
Home / Discussions / C#
   

C#

 
GeneralRe: Readline() ignores some characters Pin
Mazdak31-Dec-03 7:06
Mazdak31-Dec-03 7:06 
GeneralRe: Readline() ignores some characters Pin
Rostrox31-Dec-03 8:24
Rostrox31-Dec-03 8:24 
GeneralRe: Readline() ignores some characters Pin
Mazdak31-Dec-03 9:59
Mazdak31-Dec-03 9:59 
GeneralBinaryFormatter.Deserialize() Pin
Guinness4Strength31-Dec-03 6:04
Guinness4Strength31-Dec-03 6:04 
GeneralRe: BinaryFormatter.Deserialize() Pin
Tristan Rhodes31-Dec-03 6:29
Tristan Rhodes31-Dec-03 6:29 
GeneralRe: BinaryFormatter.Deserialize() Pin
Guinness4Strength31-Dec-03 6:41
Guinness4Strength31-Dec-03 6:41 
GeneralRe: BinaryFormatter.Deserialize() Pin
Tristan Rhodes31-Dec-03 6:46
Tristan Rhodes31-Dec-03 6:46 
GeneralRe: BinaryFormatter.Deserialize() Pin
Kentamanos31-Dec-03 8:57
Kentamanos31-Dec-03 8:57 
GeneralRe: BinaryFormatter.Deserialize() Pin
Guinness4Strength1-Jan-04 4:34
Guinness4Strength1-Jan-04 4:34 
GeneralRe: BinaryFormatter.Deserialize() Pin
Kentamanos2-Jan-04 6:07
Kentamanos2-Jan-04 6:07 
GeneralRe: BinaryFormatter.Deserialize() Pin
Heath Stewart31-Dec-03 11:14
protectorHeath Stewart31-Dec-03 11:14 
Generalimplementing rubber banding into a drawing program Pin
Miles Roberts31-Dec-03 5:03
Miles Roberts31-Dec-03 5:03 
GeneralRe: implementing rubber banding into a drawing program Pin
Tristan Rhodes31-Dec-03 6:42
Tristan Rhodes31-Dec-03 6:42 
GeneralRe: implementing rubber banding into a drawing program Pin
Heath Stewart31-Dec-03 11:06
protectorHeath Stewart31-Dec-03 11:06 
Generalhelp meeee plzzzzzz in ActiveX msChart control Pin
hebzzz31-Dec-03 3:27
hebzzz31-Dec-03 3:27 
GeneralRe: help meeee plzzzzzz in ActiveX msChart control Pin
Heath Stewart31-Dec-03 4:49
protectorHeath Stewart31-Dec-03 4:49 
GeneralRe: help meeee plzzzzzz in ActiveX msChart control Pin
Ivan Budiono31-Dec-03 13:27
Ivan Budiono31-Dec-03 13:27 
QuestionHow to duplicate controls from one form to another ?? Pin
nigs_krec31-Dec-03 3:17
nigs_krec31-Dec-03 3:17 
AnswerRe: How to duplicate controls from one form to another ?? Pin
Heath Stewart31-Dec-03 4:41
protectorHeath Stewart31-Dec-03 4:41 
Generaltlbimp marshaling problems. Pin
Tristan Rhodes31-Dec-03 2:45
Tristan Rhodes31-Dec-03 2:45 
GeneralRe: tlbimp marshaling problems. Pin
Heath Stewart31-Dec-03 4:37
protectorHeath Stewart31-Dec-03 4:37 
GeneralRe: tlbimp marshaling problems. Pin
Tristan Rhodes31-Dec-03 6:10
Tristan Rhodes31-Dec-03 6:10 
GeneralRe: tlbimp marshaling problems. Pin
Stephane Rodriguez.31-Dec-03 22:11
Stephane Rodriguez.31-Dec-03 22:11 
If you are ready to lose some of your hair, then you can edit the interop assembly (ildasm) by hand and then recompile it with a proper marshalling (ilasm).

Things to know about tlbimp.exe :
- it's a great tool but it doesn't export all of the content of IDL files.
- you need an actual tlb file (embedded or not), if not tlbimp.exe will fail miserably
- The .NET IntPtr type is the lowest common denominator for some struct. It shouldn't be a surprise that tlbimp exports an IDL-defined struct to a mere IntPtr when either 1) the struct is not defined as tlbimp.exe expects it to be 2) the structure is overly complex. Resulting in an IntPtr means that you have to marshal the struct back and forth yourself, that's not a big deal though since the Marshal class in the InteropServices namespace provides the API for just that.





  RSS feed
GeneralDefault Button for a Form Pin
Anonymous30-Dec-03 21:48
Anonymous30-Dec-03 21:48 
GeneralRe: Default Button for a Form Pin
Mazdak30-Dec-03 21:53
Mazdak30-Dec-03 21:53 

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.