A external person is writing a DLL file in C++ for me to use in Visual Fxopro. I know I can include this file in my project no problem. I also know I can use the Functions just like any other functions. My question is how can my program be event driven from that dll file.
I've asked this question previously regarding "AddressOf", a keyword in Visual Basic. A number of people have tried to help but I'm stugling.
Basically the external program is controling two devices which things can be inserted. I can open these devices by using the functions, no problem. However the external program now wants to be event driven and send me info when things are inserted. Has anyone got any suggestions on how we can do this.
I thought about the external device writing to a file or perhaps a registry "??????" Then I could look for info in this mannor. However is there any other way we could achieve this. Something to do with callback??? or pointers.
As you will probably realise this is new terriorty to me. any help/suggestions will be greatly recieved.
Thanks
I've asked this question previously regarding "AddressOf", a keyword in Visual Basic. A number of people have tried to help but I'm stugling.
Basically the external program is controling two devices which things can be inserted. I can open these devices by using the functions, no problem. However the external program now wants to be event driven and send me info when things are inserted. Has anyone got any suggestions on how we can do this.
I thought about the external device writing to a file or perhaps a registry "??????" Then I could look for info in this mannor. However is there any other way we could achieve this. Something to do with callback??? or pointers.
As you will probably realise this is new terriorty to me. any help/suggestions will be greatly recieved.
Thanks