Click here to Skip to main content
15,557,928 members
Home / Discussions / C#
   

C#

 
GeneralRe: implementing rubber banding into a drawing program Pin
Heath Stewart31-Dec-03 12:06
protectorHeath Stewart31-Dec-03 12:06 
Generalhelp meeee plzzzzzz in ActiveX msChart control Pin
hebzzz31-Dec-03 4:27
hebzzz31-Dec-03 4:27 
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 
By default, tlbimp.exe transforms any method signatures with an [out, retval] parameter such that it because the return type of the method. Since Microsoft developers also typed these methods, you can sometimes get away with returning an int to represent the HRESULT (so it would seem), but you can still return various HRESULT codes by throwing the COMException with an appropriate errorCode parameter value - even success codes like S_FALSE.

As far as all the interfaces that were imported, these interfaces, structs, etc., are used by the interfaces you imported so they must be imported too, being that they are dependend types of the interfaces' methods that you imported (or struct member types, etc.).

If you want more control over the method signatures, you should type them yourself.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
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 
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 

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.