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

C#

 
QuestionSocket.Receive method. It blocks the UI Pin
Diego F.23-May-07 22:15
Diego F.23-May-07 22:15 
AnswerRe: Socket.Receive method. It blocks the UI Pin
Niiiissssshhhhhuuuuu23-May-07 22:54
Niiiissssshhhhhuuuuu23-May-07 22:54 
GeneralRe: Socket.Receive method. It blocks the UI Pin
Diego F.23-May-07 23:14
Diego F.23-May-07 23:14 
GeneralRe: Socket.Receive method. It blocks the UI Pin
Diego F.24-May-07 2:18
Diego F.24-May-07 2:18 
GeneralRe: Socket.Receive method. It blocks the UI Pin
Colin Angus Mackay24-May-07 2:39
Colin Angus Mackay24-May-07 2:39 
GeneralRe: Socket.Receive method. It blocks the UI Pin
jayart24-May-07 4:41
jayart24-May-07 4:41 
GeneralRe: Socket.Receive method. It blocks the UI Pin
Colin Angus Mackay24-May-07 2:36
Colin Angus Mackay24-May-07 2:36 
QuestionGet the values stored as int[] array in C# Pin
B. Vijayalakshmi23-May-07 21:55
B. Vijayalakshmi23-May-07 21:55 
Hello Guys,,

I need to send a int pointer to the C dll . The c coding is as follows

extern __declspec (dllexport) void __stdcall TestIntPointer (int *uiPosition) {

char cMessage[100] = {0};

*uiPosition = 55;
*(uiPosition+1) = 80;
*(uiPosition+2) = 100;


wsprintf (cMessage, "Integer Value Received is :%d:", *uiPosition);
MessageBox (NULL, cMessage, "Hello Sweet Heart", 0);
}



My DLLImport statement is looks like this

[DllImport("TestDLLInvocation.dll", CharSet = CharSet.Ansi)]
private static extern void TestIntPointer(IntPtr s);



Now i need to access all the three int values 55, 80, 100 in my C# coding

How can i do this.. Please help..
Thanks in Adv
Sundar

AnswerRe: Get the values stored as int[] array in C# Pin
Christian Graus23-May-07 21:56
protectorChristian Graus23-May-07 21:56 
GeneralRe: Get the values stored as int[] array in C# Pin
B. Vijayalakshmi24-May-07 23:31
B. Vijayalakshmi24-May-07 23:31 
Questioncopy from iis Pin
SVb.net23-May-07 21:47
SVb.net23-May-07 21:47 
AnswerRe: copy from iis Pin
WillemM24-May-07 2:16
WillemM24-May-07 2:16 
QuestionTo make TextBox scrollable Pin
Rahul8323-May-07 21:37
Rahul8323-May-07 21:37 
AnswerRe: To make TextBox scrollable Pin
Martin#23-May-07 21:48
Martin#23-May-07 21:48 
AnswerRe: To make TextBox scrollable Pin
Nouman Bhatti24-May-07 0:29
Nouman Bhatti24-May-07 0:29 
QuestionHow to include CHMHelpFile in C# Pin
david boon23-May-07 21:28
david boon23-May-07 21:28 
AnswerRe: How to include CHMHelpFile in C# Pin
Rajkishan23-May-07 22:14
Rajkishan23-May-07 22:14 
QuestionHow to put in cache only part of webpage Pin
Nimua23-May-07 21:07
Nimua23-May-07 21:07 
QuestionRead Large Files Into Memory Pin
Patricker23-May-07 20:54
Patricker23-May-07 20:54 
AnswerRe: Read Large Files Into Memory Pin
Christian Graus23-May-07 21:21
protectorChristian Graus23-May-07 21:21 
GeneralRe: Read Large Files Into Memory Pin
Patricker23-May-07 21:29
Patricker23-May-07 21:29 
GeneralRe: Read Large Files Into Memory Pin
Christian Graus23-May-07 21:57
protectorChristian Graus23-May-07 21:57 
GeneralRe: Read Large Files Into Memory Pin
Patricker23-May-07 22:00
Patricker23-May-07 22:00 
AnswerRe: Read Large Files Into Memory Pin
DavidNohejl24-May-07 0:27
DavidNohejl24-May-07 0:27 
AnswerRe: Read Large Files Into Memory Pin
lmoelleb23-May-07 21:49
lmoelleb23-May-07 21:49 

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.