|Subject:||Re: 2 Instances Of Paradox
|Date:||Mon, 15 Jan 2018 11:19:21 +1000
|From:||Leslie <"ViaThe List"@NOSPAM.com>
On 14/01/2018 12:19 PM, Tom Krieg wrote:
> If you're talking about having
> one instance send an event to another instance, you can't do that (not
> that I know of).
There are three methods you could possibly use to communicate across
1. In the beginning of time Paradox supported DDE so it just might be
possible that it still does as I doubt Corel would have removed it (nor
would they have created a COM interface). So I would look at this
2. The next option is to use the Windows message loop. Fields in Paradox
are actually Windows and have a Window Handle. So you could use
WM_COPYDATA to send data/events - we use this exact method to
communicate between a native application and a phone PABX system which
only has an API using CLR (ie .NET)
3. the last easyish option is to create a DLL which allocates its own
memory and is loaded by each process/instance. The memory then
effectively becomes shared and you would just write a Put() and a Get()
function to store and retrieve the data.
There are other methods but then you will need to handle things like 32
or 64 bit architecture and it would be quite advanced - in which case
you would not be using Paradox anyway.
This email has been checked for viruses by AVG.