Click here to Skip to main content
15,923,689 members
Home / Discussions / C#
   

C#

 
GeneralRe: socket program Pin
Heath Stewart5-Apr-04 9:35
protectorHeath Stewart5-Apr-04 9:35 
Generalsocket problem Pin
Member 6910895-Apr-04 8:16
Member 6910895-Apr-04 8:16 
GeneralUneable to stop tcp multithreaded server process Pin
michael.wikstrom5-Apr-04 8:02
michael.wikstrom5-Apr-04 8:02 
GeneralRe: Uneable to stop tcp multithreaded server process Pin
Heath Stewart5-Apr-04 9:34
protectorHeath Stewart5-Apr-04 9:34 
GeneralRe: Uneable to stop tcp multithreaded server process Pin
Spanky35-Apr-04 11:39
Spanky35-Apr-04 11:39 
GeneralRe: Uneable to stop tcp multithreaded server process Pin
scadaguy6-Apr-04 3:35
scadaguy6-Apr-04 3:35 
GeneralSystem.OutOfMemoryException on return from unmanaged code Pin
IOUATP5-Apr-04 7:22
IOUATP5-Apr-04 7:22 
GeneralRe: System.OutOfMemoryException on return from unmanaged code Pin
Heath Stewart5-Apr-04 9:31
protectorHeath Stewart5-Apr-04 9:31 
If this is an instance method, you need an instance of the class to which the method belongs. In this case, you need to use the ThisCall calling convention. See http://www.codeproject.com/script/comments/forums.asp?msg=771919&forumid=1649&XtraIDs=1649&searchkw=ThisCall&sd=1%2F6%2F2004&ed=4%2F5%2F2004#xx771919xx[^] for more information and an example I gave a while back.

If this is a static method, then you've got me. It's good to see that you're using the right types when converting to C# (ex: C++ long == C# int), so I don't see any problem there.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: System.OutOfMemoryException on return from unmanaged code Pin
IOUATP5-Apr-04 10:35
IOUATP5-Apr-04 10:35 
GeneralRe: System.OutOfMemoryException on return from unmanaged code Pin
Heath Stewart5-Apr-04 10:50
protectorHeath Stewart5-Apr-04 10:50 
GeneralRe: System.OutOfMemoryException on return from unmanaged code Pin
IOUATP5-Apr-04 10:59
IOUATP5-Apr-04 10:59 
GeneralRe: System.OutOfMemoryException on return from unmanaged code Pin
Heath Stewart5-Apr-04 11:23
protectorHeath Stewart5-Apr-04 11:23 
GeneralRe: System.OutOfMemoryException on return from unmanaged code Pin
IOUATP5-Apr-04 11:41
IOUATP5-Apr-04 11:41 
GeneralRe: System.OutOfMemoryException on return from unmanaged code Pin
Anonymous27-Apr-04 9:05
Anonymous27-Apr-04 9:05 
QuestionDouble Buffering Theme Image via pDC? Pin
Tristan Rhodes5-Apr-04 5:53
Tristan Rhodes5-Apr-04 5:53 
AnswerRe: Double Buffering Theme Image via pDC? Pin
Heath Stewart5-Apr-04 6:03
protectorHeath Stewart5-Apr-04 6:03 
GeneralRe: Double Buffering Theme Image via pDC? Pin
Tristan Rhodes5-Apr-04 8:38
Tristan Rhodes5-Apr-04 8:38 
AnswerRe: Double Buffering Theme Image via pDC? Pin
Heath Stewart5-Apr-04 6:42
protectorHeath Stewart5-Apr-04 6:42 
GeneralRe: Double Buffering Theme Image via pDC? Pin
Tristan Rhodes5-Apr-04 13:23
Tristan Rhodes5-Apr-04 13:23 
GeneralCorrection Pin
Tristan Rhodes5-Apr-04 13:28
Tristan Rhodes5-Apr-04 13:28 
GeneralArray of objects and Serialization Pin
pedro rivera5-Apr-04 5:41
pedro rivera5-Apr-04 5:41 
GeneralRe: Array of objects and Serialization Pin
Heath Stewart5-Apr-04 6:00
protectorHeath Stewart5-Apr-04 6:00 
GeneralThanks!. Pin
pedro rivera5-Apr-04 7:05
pedro rivera5-Apr-04 7:05 
GeneralRe: Array of objects and Serialization Pin
LongRange.Shooter5-Apr-04 9:01
LongRange.Shooter5-Apr-04 9:01 
GeneralClientRectangle - No Docking Calculation Pin
Tristan Rhodes5-Apr-04 4:42
Tristan Rhodes5-Apr-04 4: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.