RE: MI Callback to Mapbasic from DLL - is it possible?
Thanks for this code - yes, it was very helpful in understanding how to work this. One point - as it stands the example never calls the custom Endhandler routine (there is no code in the Mapbasic RemoteMsghandler to deal with a return value of 'closed'. I dealt with this simply by 'if commandinfo(CMD_INFO_MSG) = "Closed" then End Program'. I appreciate your assistance. Regards *** Alan Hale Area Ecologist, West Area Countryside Council for Wales Plas Gogerddan Aberystwyth SY23 3EE Tel.: 01970 821100 Email: [EMAIL PROTECTED] *** HENROTAY PIERRE [EMAIL PROTECTED] 06 January 2000 Maybe the following could be of interest; this illustrates a modeless form which communicates with MapBasic via OLE automation; most of the code for handling the modeless form was borrowed from the MapInfo FTP site (contribution from Robert Edwards, The MapTools Company); the OLE part is unpublished. Code is Delphi and was tested with Delphi 3. The MapBasic code is provided as well. Hope this helps. Pierre example.zip ! ! ! -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
MI Callback to Mapbasic from DLL - is it possible?
I'm pretty sure the answer to this is going to be a resounding no - but just in case: Is it possible to call back a function or procedure in Mapbasic from a DLL - by passing a pointer to the address of the function/procedure as a parameter of a function/procedure in the DLL, or in another way? Many thanks Alan Hale *** Alan Hale Area Ecologist, West Area Countryside Council for Wales Plas Gogerddan Aberystwyth SY23 3EE Tel.: 01970 821100 Email: [EMAIL PROTECTED] *** ! ! ! -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
MI Getting a list of tables when last opened has been closed
I expect this is an old problem, but as a relative newcomer I've only just come up against it. I'm used to getting a list of names of open tables by using a loop on the numeric ID of the table, from 0 to (number of tables -1). However, I now find if the most recently opened table is closed the table numbering isnt updated, so Table 0 ceases to exist, and an error is generated when looking for it. Can anyone please suggest a way round this. many thanks Alan Hale *** Alan Hale Area Ecologist, West Area Countryside Council for Wales Plas Gogerddan Aberystwyth SY23 3EE Tel.: 01970 821100 Email: [EMAIL PROTECTED] *** ! ! ! -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
MI Integrated mapping with Delphi
Can anyone point me to tutorials, books, example code etc. on this topic? Many thanks. *** Alan Hale Area Ecologist, West Area Countryside Council for Wales Plas Gogerddan Aberystwyth SY23 3EE Tel.: 01970 821100 Email: [EMAIL PROTECTED] *** ! ! ! -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]