Click here to Skip to main content
15,907,687 members
Home / Discussions / C#
   

C#

 
QuestionServer.Create(<Object>) Pin
NET_GEEK24-Oct-05 18:16
NET_GEEK24-Oct-05 18:16 
AnswerRe: Server.Create(<Object>) Pin
Christian Graus24-Oct-05 18:51
protectorChristian Graus24-Oct-05 18:51 
QuestionClass Stucture Question Pin
jgallen2324-Oct-05 14:49
jgallen2324-Oct-05 14:49 
AnswerRe: Class Stucture Question Pin
Christian Graus24-Oct-05 15:26
protectorChristian Graus24-Oct-05 15:26 
GeneralRe: Class Stucture Question Pin
jgallen2324-Oct-05 15:35
jgallen2324-Oct-05 15:35 
GeneralRe: Class Stucture Question Pin
Christian Graus24-Oct-05 15:39
protectorChristian Graus24-Oct-05 15:39 
GeneralRe: Class Stucture Question Pin
jgallen2324-Oct-05 16:46
jgallen2324-Oct-05 16:46 
GeneralRe: Class Stucture Question Pin
Christian Graus24-Oct-05 16:47
protectorChristian Graus24-Oct-05 16:47 
Question2 question in C# Pin
Yanshof24-Oct-05 14:33
Yanshof24-Oct-05 14:33 
AnswerRe: 2 question in C# Pin
Christian Graus24-Oct-05 15:24
protectorChristian Graus24-Oct-05 15:24 
QuestionHelp with REGEX match cases Pin
jeweladdict24-Oct-05 13:57
jeweladdict24-Oct-05 13:57 
AnswerRe: Help with REGEX match cases Pin
Christian Graus24-Oct-05 14:00
protectorChristian Graus24-Oct-05 14:00 
GeneralRe: Help with REGEX match cases Pin
jeweladdict25-Oct-05 5:39
jeweladdict25-Oct-05 5:39 
QuestionRichtextbox -> ListBox Pin
Stathread24-Oct-05 13:49
Stathread24-Oct-05 13:49 
AnswerRe: Richtextbox -> ListBox Pin
Christian Graus24-Oct-05 14:02
protectorChristian Graus24-Oct-05 14:02 
GeneralRe: Richtextbox -> ListBox Pin
Stathread24-Oct-05 14:06
Stathread24-Oct-05 14:06 
GeneralRe: Richtextbox -> ListBox Pin
Christian Graus24-Oct-05 14:11
protectorChristian Graus24-Oct-05 14:11 
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

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.