Mercurial > trustbridge
view packaging/exdll.h @ 1332:8362e30f7b55
(issue139) Check that pid is not running if the lock can be aquired
If the lock on the lockfile can be aquired it might still be
possible that another process is running. So we read the
pid from the lockfile and check if another process with the
same installation prefix as us is running.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Wed, 15 Oct 2014 14:19:46 +0200 |
parents | fd85a02d771d |
children |
line wrap: on
line source
/* exdll.h for use with TrustBrdige * Copyright (C) 1999-2005 Nullsoft, Inc. * * This license applies to everything in the NSIS package, except * where otherwise noted. * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any * damages arising from the use of this software. * * Permission is granted to anyone to use this software for any * purpose, including commercial applications, and to alter it and * redistribute it freely, subject to the following restrictions: * * 1. The origin of this software must not be misrepresented; you must * not claim that you wrote the original software. If you use this * software in a product, an acknowledgment in the product * documentation would be appreciated but is not required. * * 2. Altered source versions must be plainly marked as such, and must * not be misrepresented as being the original software. * * 3. This notice may not be removed or altered from any source * distribution. ************************************************************ * 2005-11-14 wk Applied license text to orginal exdll.h file from * NSIS 2.0.4 and did some formatting changes. * 2014-09-16 ah Stripped out uneccesary stuff for TrustBridge plugin */ #ifndef _EXDLL_H_ #define _EXDLL_H_ /* only include this file from one place in your DLL. (it is all static, if you use it in two places it will fail) */ /* For page showing plug-ins */ #endif//_EXDLL_H_