unoapploader.c (ff3f4ebc) | unoapploader.c (599cc5b4) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 47 unchanged lines hidden (view full) --- 56 * new process inherits the environment of the calling process, including 57 * the modified PATH environment variable. The application's executable name 58 * must be the same as the name of this executable, prefixed by '_'.</p> 59 * 60 * <p>A UNO installation can be specified by the user by setting the UNO_PATH 61 * environment variable to the program directory of the UNO installation. 62 * If no installation is specified by the user, the default installation on 63 * the system will be taken. The default installation is read from the | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 47 unchanged lines hidden (view full) --- 56 * new process inherits the environment of the calling process, including 57 * the modified PATH environment variable. The application's executable name 58 * must be the same as the name of this executable, prefixed by '_'.</p> 59 * 60 * <p>A UNO installation can be specified by the user by setting the UNO_PATH 61 * environment variable to the program directory of the UNO installation. 62 * If no installation is specified by the user, the default installation on 63 * the system will be taken. The default installation is read from the |
64 * default value of the key "Software\Apache OpenOffice\UNO\InstallPath" from the | 64 * default value of the key "Software\OpenOffice\UNO\InstallPath" from the |
65 * root key HKEY_CURRENT_USER in the Windows Registry. If this key is missing, 66 * the key is read from the root key HKEY_LOCAL_MACHINE.</p> 67 */ 68int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, 69 LPSTR lpCmdLine, int nCmdShow ) 70{ 71 const char* ENVVARNAME = "PATH"; 72 const char* PATHSEPARATOR = ";"; --- 347 unchanged lines hidden --- | 65 * root key HKEY_CURRENT_USER in the Windows Registry. If this key is missing, 66 * the key is read from the root key HKEY_LOCAL_MACHINE.</p> 67 */ 68int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, 69 LPSTR lpCmdLine, int nCmdShow ) 70{ 71 const char* ENVVARNAME = "PATH"; 72 const char* PATHSEPARATOR = ";"; --- 347 unchanged lines hidden --- |