No, I think the middleware solution is the best - unless you'll make the developer of the third party application talk directy to MapInfo/MapBasic
I have also made this kind of solution, but I think its time is near the end as it has been based on DDE. My MapInfoDDE application can be called with a set of parameters. The application is launched, and checks whether MapInfo is running, if not MapInfo is started with and MapBasic application. If MapInfo is running, MapInfoDDE checks whether the MapBasic application is running, if not it is launched. Then the transport of parameters is initiated thru DDE. Once the parameters are send to the MapBasic application, the MapInfoDDE application stops. HTH, Peter Horsbøll Møller GIS Developer, MTM Geographical Information & IT COWI A/S Odensevej 95 DK-5260 Odense S. Denmark Tel +45 6311 4900 Direct +45 6311 4908 Mob +45 5156 1045 Fax +45 6311 4949 E-mail [EMAIL PROTECTED] http://www.cowi.dk/gis -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Zyczynski Sent: Tuesday, January 10, 2006 5:12 AM To: 'MapInfo-L' Subject: [MI-L] Passing parameters to an MBX Hi All, Is it possible to pass parameters to an MBX? I have to integrate my MBX with a third party application. The third party application will launch my MBX passing an ID number to it, my MBX then assembles a dataset based on this ID number and performs operations on it. If this can't be done, then any ideas? I could write a small EXE in Delphi which could be called by the third party app, the EXE could write the parameters to a text file and launch the MBX. The MBX could then read that text file........ is there an easier way without having to write middleware? Cheers, Peter _______________________________________________ MapInfo-L mailing list [email protected] http://www.directionsmag.com/mailman/listinfo/mapinfo-l _______________________________________________ MapInfo-L mailing list [email protected] http://www.directionsmag.com/mailman/listinfo/mapinfo-l
