yes i now my application never run in the back ground here it means that it get 
the notification take action for the particular notification and in my case the 
notification is for socket read  which work fine in all way that I get  the 
notification and take the action to read the socket and do all the stuff what i 
want but this i do when  the application is in fore ground .
I pass the socket reference in the notice registration .by mean of a structure 
means i create the structure like this 
typedef struct MyGlobalsType {
        
        Boolean                 registered;
        int                     socket;         
        int                     AppRef;
} MyGlobalsType ;
MyGlobalsType  global;

and store the socket reference  in it and pass  this global varaible in 

SysNotifyRegister(cardNo, dbID,Mynotification, 0,1, &global);   like this and 
when i get socket notification retrieve the socket reference from it and use 
it.This all works fine  when the applcation is  in fore ground and every time 
their is socket notification i get the socket reference and read the socket.
But when i exits applcation  than i get the socket notification(Mean s  when i 
exits do not break my connection thats why i get the socket notification 
)relaunch the application and when i try to read the socket its now give the  
fatal error why i don't understand 
do u have any idea about that .

Thanks for your reply    
-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to