Click here to Skip to main content
15,908,172 members
Home / Discussions / C#
   

C#

 
Generaldynamic invoke web services Pin
gongqiang26-Sep-04 16:56
gongqiang26-Sep-04 16:56 
GeneralRe: dynamic invoke web services Pin
Alex Korchemniy26-Sep-04 17:29
Alex Korchemniy26-Sep-04 17:29 
GeneralRe: dynamic invoke web services Pin
Sendilkumar.M26-Sep-04 19:56
Sendilkumar.M26-Sep-04 19:56 
GeneralRe: dynamic invoke web services Pin
gongqiang26-Sep-04 21:02
gongqiang26-Sep-04 21:02 
Generalgdi32 CreatePen Pin
Anonymous26-Sep-04 16:44
Anonymous26-Sep-04 16:44 
GeneralRe: gdi32 CreatePen Pin
Alex Korchemniy26-Sep-04 17:34
Alex Korchemniy26-Sep-04 17:34 
GeneralRe: gdi32 CreatePen Pin
azusakt26-Sep-04 20:42
azusakt26-Sep-04 20:42 
GeneralRe: gdi32 CreatePen Pin
Dave Kreskowiak27-Sep-04 4:13
mveDave Kreskowiak27-Sep-04 4:13 
azusakt wrote:
but for convenience, using window GDI is faster and more smooth than using C# only.

P/Invoking .DLL's is convenient? Since when? Actually, you won't get any performance increase at all since you have to marshal all kinds of stuff back and forth to unmanaged code, thereby killing any performance gain and even, possibly, slowing the drawing down.

Also, your just recreating the code in the System.Drawing namespace. It's a .NET Class Library wrapped around the GDI32.DLL, among a couple others. So why are you re-inventing the wheel?


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: gdi32 CreatePen Pin
azusakt27-Sep-04 15:41
azusakt27-Sep-04 15:41 
GeneralRe: gdi32 CreatePen Pin
Dave Kreskowiak27-Sep-04 17:30
mveDave Kreskowiak27-Sep-04 17:30 
GeneralPlease Help! Parallel port project! Pin
Mozart336224526-Sep-04 15:46
Mozart336224526-Sep-04 15:46 
GeneralRe: Please Help! Parallel port project! Pin
Christian Graus26-Sep-04 16:00
protectorChristian Graus26-Sep-04 16:00 
GeneralRe: Please Help! Parallel port project! Pin
Mozart336224528-Sep-04 10:48
Mozart336224528-Sep-04 10:48 
GeneralRe: Please Help! Parallel port project! Pin
Christian Graus28-Sep-04 11:05
protectorChristian Graus28-Sep-04 11:05 
GeneralRe: Please Help! Parallel port project! Pin
eggie526-Sep-04 17:28
eggie526-Sep-04 17:28 
GeneralRe: Please Help! Parallel port project! Pin
Mozart336224528-Sep-04 10:47
Mozart336224528-Sep-04 10:47 
GeneralMore philoisophical: on events Pin
peterchen26-Sep-04 9:27
peterchen26-Sep-04 9:27 
GeneralRe: More philoisophical: on events Pin
Alex Korchemniy26-Sep-04 11:03
Alex Korchemniy26-Sep-04 11:03 
GeneralRe: More philoisophical: on events Pin
Chris Austin26-Sep-04 11:47
Chris Austin26-Sep-04 11:47 
GeneralRe: More philosophical: on events Pin
LongRange.Shooter27-Sep-04 9:33
LongRange.Shooter27-Sep-04 9:33 
QuestionCallbacks / Single Cast Delegates? Pin
peterchen26-Sep-04 8:58
peterchen26-Sep-04 8:58 
AnswerRe: Callbacks / Single Cast Delegates? Pin
Chris Austin26-Sep-04 12:15
Chris Austin26-Sep-04 12:15 
GeneralRe: Callbacks / Single Cast Delegates? Pin
peterchen26-Sep-04 12:45
peterchen26-Sep-04 12:45 
QuestionIs there a WndProc or windowMessage numberlist reference somehwhere on the net? Pin
FocusedWolf26-Sep-04 8:53
FocusedWolf26-Sep-04 8:53 
AnswerRe: Is there a WndProc or windowMessage numberlist reference somehwhere on the net? Pin
FocusedWolf26-Sep-04 9:14
FocusedWolf26-Sep-04 9:14 

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.