Click here to Skip to main content
15,898,929 members
Home / Discussions / C#
   

C#

 
GeneralRe: Richtextbox -> ListBox Pin
Stathread24-Oct-05 14:13
Stathread24-Oct-05 14:13 
GeneralRe: Richtextbox -> ListBox Pin
Christian Graus24-Oct-05 14:15
protectorChristian Graus24-Oct-05 14:15 
GeneralRe: Richtextbox -> ListBox Pin
Stathread24-Oct-05 14:15
Stathread24-Oct-05 14:15 
GeneralRe: Richtextbox -> ListBox Pin
Christian Graus24-Oct-05 14:17
protectorChristian Graus24-Oct-05 14:17 
GeneralRe: Richtextbox -> ListBox Pin
Stathread24-Oct-05 14:20
Stathread24-Oct-05 14:20 
QuestionIs it possible to copy or delete or move a locked file? Pin
Sasuko24-Oct-05 12:49
Sasuko24-Oct-05 12:49 
AnswerRe: Is it possible to copy or delete or move a locked file? Pin
enjoycrack24-Oct-05 12:58
enjoycrack24-Oct-05 12:58 
QuestionPassing an active Socket from C# to Managed C++ Pin
DeepToot24-Oct-05 11:58
DeepToot24-Oct-05 11:58 
I have a C# application that acts as a socket listener.
I have another class that is built as a managed C++ dll that processes my data and sends the data back out to the connected client.

My question is, im having problems passing my active connection to the managed dll.

I did something like this:

C# side:
Socket socks;

//lets pretend its already connected, and accepted, huh
int success = ManagedMethod(ref socks);

C++ Side:
SOCKET *socks;
int ManagedMethod(Socket& act_sock)
{
socks = act_sock
}

cant remember what error it gives me, but I know its not right.

On the parameters of this method, I also tried 'Socket *act_sock' and still couldnt pass it.

My goal is to have my Managed C++ dll use this active connection after processing my data and send it to the connected client.

Thanks.

Steve Welborn

"Science can purify religion from error and superstition.
Religion can purify science from idolatry and false absolutes"
- 1987 John Paul the Great

AnswerRe: Passing an active Socket from C# to Managed C++ Pin
S. Senthil Kumar24-Oct-05 19:21
S. Senthil Kumar24-Oct-05 19:21 
GeneralRe: Passing an active Socket from C# to Managed C++ Pin
DeepToot25-Oct-05 3:53
DeepToot25-Oct-05 3:53 
QuestionDisplay Window's Explorer menu in MY program's context menu Pin
Kasdoffe24-Oct-05 11:47
Kasdoffe24-Oct-05 11:47 
AnswerRe: Display Window's Explorer menu in MY program's context menu Pin
Judah Gabriel Himango24-Oct-05 12:23
sponsorJudah Gabriel Himango24-Oct-05 12:23 
QuestionNetwork communications Pin
Wjousts24-Oct-05 10:58
Wjousts24-Oct-05 10:58 
AnswerRe: Network communications Pin
enjoycrack24-Oct-05 12:29
enjoycrack24-Oct-05 12:29 
GeneralRe: Network communications Pin
Wjousts25-Oct-05 2:06
Wjousts25-Oct-05 2:06 
QuestionDelete Event Pin
Agyeman24-Oct-05 10:20
Agyeman24-Oct-05 10:20 
AnswerRe: Delete Event Pin
Judah Gabriel Himango24-Oct-05 12:19
sponsorJudah Gabriel Himango24-Oct-05 12:19 
GeneralRe: Delete Event Pin
Anonymous24-Oct-05 13:35
Anonymous24-Oct-05 13:35 
QuestionFill form with Rectangle Pin
har04mich24-Oct-05 9:24
har04mich24-Oct-05 9:24 
AnswerRe: Fill form with Rectangle Pin
Wjousts24-Oct-05 10:03
Wjousts24-Oct-05 10:03 
GeneralRe: Fill form with Rectangle Pin
har04mich24-Oct-05 10:10
har04mich24-Oct-05 10:10 
QuestionA net message Pin
Anonymous24-Oct-05 9:19
Anonymous24-Oct-05 9:19 
GeneralMillora en el login Pin
Anonymous24-Oct-05 9:02
Anonymous24-Oct-05 9:02 
GeneralRe: Millora en el login Pin
André Ziegler24-Oct-05 12:05
André Ziegler24-Oct-05 12:05 
QuestionLogin Pin
Rugi24-Oct-05 8:59
Rugi24-Oct-05 8:59 

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.