I'm not sure about Powerbuilder issues, but I use the Automation in VC++ and don't have that problem unless I exit the App. improperly. So to combat any issues as such, (could be OLE crashing and not even my fault) I store the process ID of previous mapinfo object and kill it next time if it was still in my process space when I run the App.
Arash. -----Original Message----- From: MAGS-Gerencia [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 03, 2001 3:00 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: MI-L Mapinfow.exe processes reamining open Matthew, The only I can tell you is that we have two applications with the same technology (PB 5.0, MI Pro 5.0 via OLE on Windows 95) and we have not problems. The application was developed 3 years ago and it's running propertly from that date. Regards Alejandro ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 03, 2001 12:20 PM Subject: MI-L Mapinfow.exe processes reamining open > All, > > I'm working with an application which is written in PowerBuilder, and uses > MapInfo Pro as an OLE, to display various map windows (I know MapX is a > viable alternative, but we've kind of inherited the system as is). > > If you open the map window, within the application, then make no changes and > close it again, everything shuts down fine. However, if you open the window, > make any kind of amendment to the displayed data, then close the > application, it leaves a 'rogue' MAPINFOW.EXE process open. This can be > viewed via Task Manager. This causes problems the next time an attempt is > made to open the same window, as it tends to lock tables. > > Is anyone aware of some special command which should be issued by > PowerBuilder to eliminate this process? > Our PowerBuilder expert has run out of ideas, so I'm hoping someone out > there has experienced something similar. > > In case it makes a difference, we're currently running v4.1.2 of MapInfo > Pro, soon to be upgrading to v6.0 or v6.5. > > Thanks in advance. > > Matt. > > > > _______________________________________________________________________ > List hosting provided by Directions Magazine | www.directionsmag.com | > To unsubscribe, send e-mail to [EMAIL PROTECTED] and > put "unsubscribe MapInfo-L" in the message body. > _______________________________________________________________________ List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MapInfo-L" in the message body. _______________________________________________________________________ List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MapInfo-L" in the message body.
