To grab the automation object of a MapInfo session that is already running, one uses the GetObject function in Visual Basic . But if there is more than one MapInfo session running, GetObject appears to always grab the one that was opened first. Is there anyway to tell Visual Basic to grab a specified open session which may not be the first opened session? If I had a way to open all of them, I could select the one I wanted based on the application window HWND, but I don't know how to "browse through" all the open MapInfo automation objects. Is there a way to do it in Delphi? This is really where we need to do it because we intend to launch it from an MBX, so we have to write our code as an API DLL which one cannot make in Visual Basic. Vertical Mapper does this, but it will only run from the 1st MapInfo session, a limitation we are trying to avoid. Please send responses directly to me ([EMAIL PROTECTED]) and I will summarize and repost. Thanks! Matthew Katinsky GIS Programmer/Analyst Schlosser Geographic Systems, Inc. [EMAIL PROTECTED] 206-224-0800 (Work) 206-467-0458 (Fax) ---------------------------------------------------------------------- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
