Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Com Interop with Net DLL and Callbacks
Message
From
16/06/2008 15:11:24
 
 
To
16/06/2008 02:28:08
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01324295
Message ID:
01324508
Views:
15
I dug deeper into the dotnet version and discovered it was using winsock to communicate back and forth. They refer to the return communication as a 'callback' in documentation, but there isn't really a 'callback' method. It is simply using winsock to monitor the port and translate the data received. I have a chat server/client I created in the past (long ago) using winsock so I can do that. The problem now is that the api sets up its own winsock connection and there is nothing listening once it is connected when accessed via com interop which is why I can send but not receive. I am working with the developers at their end to see if they can add a method for me which will allow me to setup my own connection and pass the connection to the api so it will use it instead of creating one. Then I should be able to send and receive (in theory). They have no other client/vendors using com interop so I am alone in this endeavor it appears (and why it takes so many versions of the com interop dll to get it right). In a few months it will be much simpler to work with their api using dotnet (it is written in dotnet), but until then it will be a pain in the arse.
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform