grahamrhind
Technical User
After a struggle I have succeeded in creating a VFP 9 dll which can be accessed by .Net coding, and it's working fine.
The issue that I currently have is that when .Net passes a string to the VFP code, the VFP dll opens all the required tables, does the necessary work, passes the string back to .Net and closes itself and its tables. This has major speed consequences when there is more than one string to be processed as the tables are very large.
I'm looking for a way to keep VFP tables open between calls from .Net, or if there is a simpler way of doing this so that tables only have to be opened once and not for each transaction.
Any ideas?
Thanks in advance.
The issue that I currently have is that when .Net passes a string to the VFP code, the VFP dll opens all the required tables, does the necessary work, passes the string back to .Net and closes itself and its tables. This has major speed consequences when there is more than one string to be processed as the tables are very large.
I'm looking for a way to keep VFP tables open between calls from .Net, or if there is a simpler way of doing this so that tables only have to be opened once and not for each transaction.
Any ideas?
Thanks in advance.