Re: [PEDA] 2 SESSIONS
i know it is relatively easy for a program to check for another instance of itself and either allow or disallow another copy to run some programs make it an option i was wondering if it was feasible for a general utility to do such a thing for specified programs as i remember the technique was to walk the list of title bar titles but that was back in Win3 days Dennis Saputelli JaMi Smith wrote: Dennis, Actually, many programs do in fact check to see if there is already another instance of itself running, and just open the file in the instance that is running. For example, Adobe Acrobat does check and open pdf files in an existing instance. Unfortunately, Protel does not check for much of anything, and the double instance issue has been brought up before. I thought it might be possibly responsible for some of the hidden processes that don't show up until you go to shut down the computer. Unfortunately, this particular problem is one of these loose nut behind the wheel problems. It was just doing what you told it to do. JaMi - Original Message - From: JaMi Smith [EMAIL PROTECTED] To: Protel EDA Forum [EMAIL PROTECTED] Cc: JaMi Smith [EMAIL PROTECTED] Sent: Friday, August 29, 2003 3:57 PM Subject: Re: [PEDA] 2 SESSIONS Dennis, How about a mouse with a 15 pound spring in the left button? Its kind of like having an Are You Sure? dialogue built right in, and since it takes both hands to operate, it really makes you think twice (if not three or four times) before you do any double clicking. ; ) JaMi - Original Message - From: Dennis Saputelli [EMAIL PROTECTED] To: Protel EDA Forum [EMAIL PROTECTED] Sent: Thursday, August 28, 2003 4:49 PM Subject: Re: [PEDA] 2 SESSIONS god i hate when i double click a DDB by mistake (instead of dragging it) Protel starts another session (which i have proven to be a 'bad' thing - library troubles commence) seems like it might be feasible for a utility to watch for a program starting, check if a session is already running and then advise or prevent any Windows gurus out there? is this feasible? this could be useful for other programs too Dennis Saputelli = send only plain text please! - no HTML == ___ Integrated Controls, Inc. www.integratedcontrolsinc.com 2851 21st Streettel: 415-647-0480 San Francisco, CA 94110 fax: 415-647-3003 -- Dennis Saputelli = send only plain text please! - no HTML == ___ Integrated Controls, Inc. www.integratedcontrolsinc.com 2851 21st Streettel: 415-647-0480 San Francisco, CA 94110 fax: 415-647-3003 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * To post a message: mailto:[EMAIL PROTECTED] * * To leave this list visit: * http://www.techservinc.com/protelusers/leave.html * * Contact the list manager: * mailto:[EMAIL PROTECTED] * * Forum Guidelines Rules: * http://www.techservinc.com/protelusers/forumrules.html * * Browse or Search previous postings: * http://www.mail-archive.com/[EMAIL PROTECTED] * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Re: [PEDA] 2 SESSIONS
On 09:08 AM 1/09/2003, Dennis Saputelli said: i know it is relatively easy for a program to check for another instance of itself and either allow or disallow another copy to run some programs make it an option i was wondering if it was feasible for a general utility to do such a thing for specified programs as i remember the technique was to walk the list of title bar titles but that was back in Win3 days There are a number of techniques (including checking for the presence of global, unique OS synchronization objects of atoms or other globally definable objects). The normal method used in Win16 doesn't work in Win32. Win16 actually had a instance variable, part of each application, that could be queried to see if this was the first, or later, instance. Yes, it would be possible to write a utility that was associated with DDB files (replacing P99SE as the DDB editor) and then passed that file name across to the running instance. The exact details could get a little messy, depending on the details of P99SE's OLE interface. In the worst case instance it may be necessary to post key messages into P99SE to get it to open the right file. It may be that the most reliable method would be a combined P99SE server and another hook application to handle dbl-clicks on DDB files. It would be possible but I don't know who will do it. Ian * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * To post a message: mailto:[EMAIL PROTECTED] * * To leave this list visit: * http://www.techservinc.com/protelusers/leave.html * * Contact the list manager: * mailto:[EMAIL PROTECTED] * * Forum Guidelines Rules: * http://www.techservinc.com/protelusers/forumrules.html * * Browse or Search previous postings: * http://www.mail-archive.com/[EMAIL PROTECTED] * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Re: [PEDA] 2 SESSIONS
Should be able to remove the open command from Explorer file options for DDB file types, that may stop it from opening 99. Darren On 09:08 AM 1/09/2003, Dennis Saputelli said: i know it is relatively easy for a program to check for another instance of itself and either allow or disallow another copy to run some programs make it an option i was wondering if it was feasible for a general utility to do such a thing for specified programs as i remember the technique was to walk the list of title bar titles but that was back in Win3 days * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * To post a message: mailto:[EMAIL PROTECTED] * * To leave this list visit: * http://www.techservinc.com/protelusers/leave.html * * Contact the list manager: * mailto:[EMAIL PROTECTED] * * Forum Guidelines Rules: * http://www.techservinc.com/protelusers/forumrules.html * * Browse or Search previous postings: * http://www.mail-archive.com/[EMAIL PROTECTED] * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Re: [PEDA] 2 SESSIONS
Dennis, How about a mouse with a 15 pound spring in the left button? Its kind of like having an Are You Sure? dialogue built right in, and since it takes both hands to operate, it really makes you think twice (if not three or four times) before you do any double clicking. ; ) JaMi - Original Message - From: Dennis Saputelli [EMAIL PROTECTED] To: Protel EDA Forum [EMAIL PROTECTED] Sent: Thursday, August 28, 2003 4:49 PM Subject: Re: [PEDA] 2 SESSIONS god i hate when i double click a DDB by mistake (instead of dragging it) Protel starts another session (which i have proven to be a 'bad' thing - library troubles commence) seems like it might be feasible for a utility to watch for a program starting, check if a session is already running and then advise or prevent any Windows gurus out there? is this feasible? this could be useful for other programs too Dennis Saputelli = send only plain text please! - no HTML == ___ Integrated Controls, Inc. www.integratedcontrolsinc.com 2851 21st Streettel: 415-647-0480 San Francisco, CA 94110 fax: 415-647-3003 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * To post a message: mailto:[EMAIL PROTECTED] * * To leave this list visit: * http://www.techservinc.com/protelusers/leave.html * * Contact the list manager: * mailto:[EMAIL PROTECTED] * * Forum Guidelines Rules: * http://www.techservinc.com/protelusers/forumrules.html * * Browse or Search previous postings: * http://www.mail-archive.com/[EMAIL PROTECTED] * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Re: [PEDA] 2 SESSIONS
Dennis, Actually, many programs do in fact check to see if there is already another instance of itself running, and just open the file in the instance that is running. For example, Adobe Acrobat does check and open pdf files in an existing instance. Unfortunately, Protel does not check for much of anything, and the double instance issue has been brought up before. I thought it might be possibly responsible for some of the hidden processes that don't show up until you go to shut down the computer. Unfortunately, this particular problem is one of these loose nut behind the wheel problems. It was just doing what you told it to do. JaMi - Original Message - From: JaMi Smith [EMAIL PROTECTED] To: Protel EDA Forum [EMAIL PROTECTED] Cc: JaMi Smith [EMAIL PROTECTED] Sent: Friday, August 29, 2003 3:57 PM Subject: Re: [PEDA] 2 SESSIONS Dennis, How about a mouse with a 15 pound spring in the left button? Its kind of like having an Are You Sure? dialogue built right in, and since it takes both hands to operate, it really makes you think twice (if not three or four times) before you do any double clicking. ; ) JaMi - Original Message - From: Dennis Saputelli [EMAIL PROTECTED] To: Protel EDA Forum [EMAIL PROTECTED] Sent: Thursday, August 28, 2003 4:49 PM Subject: Re: [PEDA] 2 SESSIONS god i hate when i double click a DDB by mistake (instead of dragging it) Protel starts another session (which i have proven to be a 'bad' thing - library troubles commence) seems like it might be feasible for a utility to watch for a program starting, check if a session is already running and then advise or prevent any Windows gurus out there? is this feasible? this could be useful for other programs too Dennis Saputelli = send only plain text please! - no HTML == ___ Integrated Controls, Inc. www.integratedcontrolsinc.com 2851 21st Streettel: 415-647-0480 San Francisco, CA 94110 fax: 415-647-3003 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * To post a message: mailto:[EMAIL PROTECTED] * * To leave this list visit: * http://www.techservinc.com/protelusers/leave.html * * Contact the list manager: * mailto:[EMAIL PROTECTED] * * Forum Guidelines Rules: * http://www.techservinc.com/protelusers/forumrules.html * * Browse or Search previous postings: * http://www.mail-archive.com/[EMAIL PROTECTED] * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Re: [PEDA] 2 SESSIONS
god i hate when i double click a DDB by mistake (instead of dragging it) Protel starts another session (which i have proven to be a 'bad' thing - library troubles commence) seems like it might be feasible for a utility to watch for a program starting, check if a session is already running and then advise or prevent any Windows gurus out there? is this feasible? this could be useful for other programs too Dennis Saputelli = send only plain text please! - no HTML == ___ Integrated Controls, Inc. www.integratedcontrolsinc.com 2851 21st Streettel: 415-647-0480 San Francisco, CA 94110 fax: 415-647-3003 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * To post a message: mailto:[EMAIL PROTECTED] * * To leave this list visit: * http://www.techservinc.com/protelusers/leave.html * * Contact the list manager: * mailto:[EMAIL PROTECTED] * * Forum Guidelines Rules: * http://www.techservinc.com/protelusers/forumrules.html * * Browse or Search previous postings: * http://www.mail-archive.com/[EMAIL PROTECTED] * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *