Click here to Skip to main content
15,569,768 members
Home / Discussions / C#
   

C#

 
GeneralRe: help meeee plzzzzzz in ActiveX msChart control Pin
Heath Stewart31-Dec-03 5:49
protectorHeath Stewart31-Dec-03 5:49 
GeneralRe: help meeee plzzzzzz in ActiveX msChart control Pin
Ivan Budiono31-Dec-03 14:27
Ivan Budiono31-Dec-03 14:27 
QuestionHow to duplicate controls from one form to another ?? Pin
nigs_krec31-Dec-03 4:17
nigs_krec31-Dec-03 4:17 
AnswerRe: How to duplicate controls from one form to another ?? Pin
Heath Stewart31-Dec-03 5:41
protectorHeath Stewart31-Dec-03 5:41 
Generaltlbimp marshaling problems. Pin
Tristan Rhodes31-Dec-03 3:45
Tristan Rhodes31-Dec-03 3:45 
GeneralRe: tlbimp marshaling problems. Pin
Heath Stewart31-Dec-03 5:37
protectorHeath Stewart31-Dec-03 5:37 
GeneralRe: tlbimp marshaling problems. Pin
Tristan Rhodes31-Dec-03 7:10
Tristan Rhodes31-Dec-03 7:10 
GeneralRe: tlbimp marshaling problems. Pin
Stephane Rodriguez.31-Dec-03 23:11
Stephane Rodriguez.31-Dec-03 23: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 22:48
Anonymous30-Dec-03 22:48 
GeneralRe: Default Button for a Form Pin
Mazdak30-Dec-03 22:53
Mazdak30-Dec-03 22:53 
Generalmaking String Bitmap Pin
azusakt30-Dec-03 21:25
azusakt30-Dec-03 21:25 
GeneralRe: making String Bitmap(Modified) Pin
Mazdak30-Dec-03 23:00
Mazdak30-Dec-03 23:00 
GeneralRe: making String Bitmap(Modified) Pin
azusakt30-Dec-03 23:40
azusakt30-Dec-03 23:40 
GeneralRe: making String Bitmap(Modified) Pin
Mazdak31-Dec-03 0:13
Mazdak31-Dec-03 0:13 
GeneralRe: making String Bitmap Pin
Heath Stewart31-Dec-03 5:26
protectorHeath Stewart31-Dec-03 5:26 
GeneralRe: making String Bitmap Pin
azusakt7-Jan-04 16:50
azusakt7-Jan-04 16:50 
GeneralRe: making String Bitmap Pin
Heath Stewart7-Jan-04 19:09
protectorHeath Stewart7-Jan-04 19:09 
GeneralProblem with FolderBrowserDialog Class Pin
ta10030-Dec-03 15:56
ta10030-Dec-03 15:56 
GeneralRe: Problem with FolderBrowserDialog Class Pin
Heath Stewart31-Dec-03 5:09
protectorHeath Stewart31-Dec-03 5:09 
GeneralRe: Problem with FolderBrowserDialog Class Pin
ta1001-Jan-04 7:31
ta1001-Jan-04 7:31 
GeneralPrinting Form Pin
IntegraSoft30-Dec-03 14:44
IntegraSoft30-Dec-03 14:44 
GeneralRe: Printing Form Pin
Mazdak30-Dec-03 20:41
Mazdak30-Dec-03 20:41 
GeneralRe: Printing Form Pin
Heath Stewart30-Dec-03 20:42
protectorHeath Stewart30-Dec-03 20:42 
QuestionDrawing panels in ownerdraw listbox? Pin
pwinant30-Dec-03 14:31
pwinant30-Dec-03 14:31 
GeneralPublic/Private Keys Pin
Guinness4Strength30-Dec-03 12:15
Guinness4Strength30-Dec-03 12:15 

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.