Click here to Skip to main content
15,881,812 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: linked list adding operation with two structure type Pin
Andrew Phillips30-Apr-11 5:59
Andrew Phillips30-Apr-11 5:59 
AnswerRe: linked list adding operation with two structure type Pin
Luc Pattyn30-Apr-11 6:10
sitebuilderLuc Pattyn30-Apr-11 6:10 
GeneralRe: linked list adding operation with two structure type Pin
quartaela30-Apr-11 8:03
quartaela30-Apr-11 8:03 
GeneralRe: linked list adding operation with two structure type Pin
Luc Pattyn30-Apr-11 8:10
sitebuilderLuc Pattyn30-Apr-11 8:10 
GeneralRe: linked list adding operation with two structure type Pin
quartaela30-Apr-11 8:16
quartaela30-Apr-11 8:16 
GeneralRe: linked list adding operation with two structure type Pin
quartaela30-Apr-11 8:20
quartaela30-Apr-11 8:20 
GeneralRe: linked list adding operation with two structure type Pin
Luc Pattyn30-Apr-11 8:32
sitebuilderLuc Pattyn30-Apr-11 8:32 
QuestionProblem in Callback function in Client Application [modified] Pin
manoharbalu30-Apr-11 1:27
manoharbalu30-Apr-11 1:27 
I have created a test client application using WTClient.DLL to connect to matrikon OPC Server demo version. The WTClient.DLL has functions to interface the client application with the OPC Server. The client application basically exchange values with the server by creating the server tags (variables). The WTClient.DLL has callback functions used to update the client application tags with values from the server.


When there is an update of any of the value in the created tags the Matrikon OPC server issues callback to the client using the WTClient.DLL. Using the Callback function I update the changed values. However during sometimes after connecting my client application with the server, the callback does not happen even there is a change in the server data.

The code is as follows:

void CALLBACK EXPORT OPCUpdataCallback (HANDLE hGroup, HANDLE hItem, VARIANT *pVar, FILETIME timestamp, DWORD quality)
{
//Call to my function for updating the values (pVar) using the Handle hItem.
}

When I reopen my Client Application, it works fine. Again during sometimes the problem comes and so my application becomes unreliable.

Anybody Kindly help me to find out why my callback is not called from the server. My server is a standard application which is not supposed to have any errors

modified on Saturday, April 30, 2011 7:49 AM

AnswerRe: Problem in Callback function in Client Application Pin
Hans Dietrich30-Apr-11 4:27
mentorHans Dietrich30-Apr-11 4:27 
QuestionIs there any way to SendMessage to a Button control Pin
lamparded30-Apr-11 1:27
lamparded30-Apr-11 1:27 
AnswerRe: Is there any way to SendMessage to a Button control Pin
«_Superman_»30-Apr-11 2:12
professional«_Superman_»30-Apr-11 2:12 
GeneralRe: Is there any way to SendMessage to a Button control Pin
lamparded30-Apr-11 3:27
lamparded30-Apr-11 3:27 
AnswerRe: Is there any way to SendMessage to a Button control Pin
Hans Dietrich30-Apr-11 4:18
mentorHans Dietrich30-Apr-11 4:18 
GeneralRe: Is there any way to SendMessage to a Button control Pin
Richard MacCutchan30-Apr-11 5:33
mveRichard MacCutchan30-Apr-11 5:33 
GeneralRe: Is there any way to SendMessage to a Button control Pin
lamparded30-Apr-11 6:18
lamparded30-Apr-11 6:18 
GeneralRe: Is there any way to SendMessage to a Button control Pin
Richard MacCutchan30-Apr-11 6:51
mveRichard MacCutchan30-Apr-11 6:51 
GeneralRe: Is there any way to SendMessage to a Button control Pin
lamparded30-Apr-11 13:31
lamparded30-Apr-11 13:31 
GeneralRe: Is there any way to SendMessage to a Button control Pin
barneyman30-Apr-11 16:40
barneyman30-Apr-11 16:40 
GeneralRe: Is there any way to SendMessage to a Button control Pin
Richard MacCutchan30-Apr-11 21:34
mveRichard MacCutchan30-Apr-11 21:34 
GeneralRe: Is there any way to SendMessage to a Button control Pin
jeff61-May-11 12:01
jeff61-May-11 12:01 
Questioncompression Pin
hmaz462929-Apr-11 2:09
hmaz462929-Apr-11 2:09 
AnswerRe: compression Pin
Niklas L29-Apr-11 2:29
Niklas L29-Apr-11 2:29 
QuestionRe: compression Pin
David Crow29-Apr-11 2:50
David Crow29-Apr-11 2:50 
AnswerRe: compression Pin
hmaz462930-Apr-11 23:43
hmaz462930-Apr-11 23:43 
QuestionRe: compression Pin
David Crow2-May-11 2:54
David Crow2-May-11 2:54 

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.