Click here to Skip to main content
15,886,873 members
Home / Discussions / C#
   

C#

 
QuestionAn interview Question Pin
Mogamboo_Khush_Hua26-Oct-09 0:41
Mogamboo_Khush_Hua26-Oct-09 0:41 
AnswerRe: An interview Question Pin
Daniel Vaughan26-Oct-09 1:31
Daniel Vaughan26-Oct-09 1:31 
GeneralRe: An interview Question Pin
Mogamboo_Khush_Hua26-Oct-09 2:01
Mogamboo_Khush_Hua26-Oct-09 2:01 
GeneralRe: An interview Question Pin
J4amieC26-Oct-09 2:24
J4amieC26-Oct-09 2:24 
AnswerMessage Closed Pin
26-Oct-09 1:35
stancrm26-Oct-09 1:35 
GeneralRe: An interview Question Pin
Mogamboo_Khush_Hua26-Oct-09 1:54
Mogamboo_Khush_Hua26-Oct-09 1:54 
GeneralRe: An interview Question Pin
J4amieC26-Oct-09 2:25
J4amieC26-Oct-09 2:25 
QuestionInvoke C dll functions and structs in C# [modified] Pin
fifthjourney26-Oct-09 0:38
fifthjourney26-Oct-09 0:38 
Below is the header file.can anyone please give a idea to call the callback function below.



Dll name is client.dll

//Function Prototype

int PASCAL EXPORT RegisterCallbackFunctions (TCallbacks CallbackFuncs);

//Data Structure

struct TCallbacks
{
LPONUSSDREQUEST m_pOnRequest;
LPONUSSDRESPONSE m_pOnResponse;
};


//Prototypes



typedef int (*LPONUSSDREQUEST) (HANDLE hLoginInstance, HANDLE hDialog, DWORD *pdwAppParam);

typedef int (*LPONUSSDRESPONSE) (HANDLE hLoginInstance, HANDLE hDialog, char szString [ ], DWORD dwAppParam);



I have already got the hloginInstance and hDialog functions,But I need help in calling the callback function.

regards,
Jeanix Sigh | :sigh:

Sh@Re

modified on Monday, October 26, 2009 6:48 AM

AnswerRe: Invoke C dll functions and structs in C# Pin
Keith Barrow26-Oct-09 0:43
professionalKeith Barrow26-Oct-09 0:43 
QuestionDifference between Monitor.TryEnter(object,Timespan) and Monitor.Wait(object,Timespan) Pin
frommi26-Oct-09 0:12
frommi26-Oct-09 0:12 
AnswerRe: Difference between Monitor.TryEnter(object,Timespan) and Monitor.Wait(object,Timespan) Pin
Simon P Stevens26-Oct-09 0:43
Simon P Stevens26-Oct-09 0:43 
AnswerProblem with System.Diagnostics.Process.Start [modified] Pin
Slavakr26-Oct-09 0:10
Slavakr26-Oct-09 0:10 
AnswerRe: Problem with System.Diagnostics.Process.Start Pin
Simon P Stevens26-Oct-09 0:15
Simon P Stevens26-Oct-09 0:15 
GeneralRe: Problem with System.Diagnostics.Process.Start Pin
Slavakr26-Oct-09 0:31
Slavakr26-Oct-09 0:31 
GeneralRe: Problem with System.Diagnostics.Process.Start Pin
Simon P Stevens26-Oct-09 1:03
Simon P Stevens26-Oct-09 1:03 
QuestionShow Windows Desktop, nothing else... Pin
Naruki25-Oct-09 23:39
Naruki25-Oct-09 23:39 
AnswerRe: Show Windows Desktop, nothing else... Pin
Simon P Stevens26-Oct-09 0:11
Simon P Stevens26-Oct-09 0:11 
GeneralRe: Show Windows Desktop, nothing else... Pin
Naruki26-Oct-09 4:08
Naruki26-Oct-09 4:08 
AnswerRe: Show Windows Desktop, nothing else... Pin
Shorgov26-Oct-09 0:16
Shorgov26-Oct-09 0:16 
GeneralRe: Show Windows Desktop, nothing else... Pin
Naruki26-Oct-09 4:20
Naruki26-Oct-09 4:20 
QuestionHow to get contents of cache memory in c#? Pin
Swapnil 200925-Oct-09 23:24
Swapnil 200925-Oct-09 23:24 
AnswerRe: How to get contents of cache memory in c#? Pin
Abhishek Sur25-Oct-09 23:32
professionalAbhishek Sur25-Oct-09 23:32 
GeneralRe: How to get contents of cache memory in c#? Pin
Swapnil 200925-Oct-09 23:42
Swapnil 200925-Oct-09 23:42 
AnswerRe: How to get contents of cache memory in c#? Pin
Jaiprakash M Bankolli25-Oct-09 23:43
Jaiprakash M Bankolli25-Oct-09 23:43 
GeneralRe: How to get contents of cache memory in c#? Pin
Swapnil 200926-Oct-09 0:04
Swapnil 200926-Oct-09 0:04 

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.