Pārlūkot izejas kodu

#pragma package(smart_init) is not useful out of packages

Source commit: 7635ac3b532214f27ea2b6fe6aa80398c857cfcd
Martin Prikryl 1 mēnesi atpakaļ
vecāks
revīzija
b13e2e7c2b
76 mainītis faili ar 0 papildinājumiem un 120 dzēšanām
  1. 0 2
      source/core/Bookmarks.cpp
  2. 0 2
      source/core/Common.cpp
  3. 0 2
      source/core/Configuration.cpp
  4. 0 2
      source/core/CoreMain.cpp
  5. 0 2
      source/core/Exceptions.cpp
  6. 0 2
      source/core/FileBuffer.cpp
  7. 0 2
      source/core/FileInfo.cpp
  8. 0 2
      source/core/FileSystems.cpp
  9. 0 2
      source/core/FtpFileSystem.cpp
  10. 0 2
      source/core/Global.cpp
  11. 0 2
      source/core/HierarchicalStorage.cpp
  12. 0 2
      source/core/NamedObjs.cpp
  13. 0 2
      source/core/Option.cpp
  14. 0 2
      source/core/Queue.cpp
  15. 0 2
      source/core/S3FileSystem.cpp
  16. 0 2
      source/core/ScpFileSystem.cpp
  17. 0 2
      source/core/Script.cpp
  18. 0 2
      source/core/SecureShell.cpp
  19. 0 2
      source/core/Security.cpp
  20. 0 2
      source/core/SessionData.cpp
  21. 0 2
      source/core/SessionInfo.cpp
  22. 0 2
      source/core/SftpFileSystem.cpp
  23. 0 2
      source/core/Terminal.cpp
  24. 0 2
      source/core/Usage.cpp
  25. 0 2
      source/core/WebDAVFileSystem.cpp
  26. 0 2
      source/filezilla/FileZillaIntern.cpp
  27. 0 2
      source/filezilla/FileZillaIntf.cpp
  28. 0 1
      source/forms/Animations120.cpp
  29. 0 1
      source/forms/Animations144.cpp
  30. 0 1
      source/forms/Animations192.cpp
  31. 0 1
      source/forms/Animations96.cpp
  32. 0 1
      source/forms/Authenticate.cpp
  33. 0 1
      source/forms/Copy.cpp
  34. 0 1
      source/forms/CopyLocal.cpp
  35. 0 1
      source/forms/CopyParamCustom.cpp
  36. 0 1
      source/forms/CopyParamPreset.cpp
  37. 0 1
      source/forms/CopyParams.cpp
  38. 0 1
      source/forms/CustomCommand.cpp
  39. 0 1
      source/forms/CustomScpExplorer.cpp
  40. 0 1
      source/forms/EditMask.cpp
  41. 0 1
      source/forms/Editor.cpp
  42. 0 1
      source/forms/EditorPreferences.cpp
  43. 0 1
      source/forms/FileFind.cpp
  44. 0 1
      source/forms/FullSynchronize.cpp
  45. 0 1
      source/forms/GenerateUrl.cpp
  46. 0 1
      source/forms/Glyphs.cpp
  47. 0 1
      source/forms/Glyphs120.cpp
  48. 0 1
      source/forms/Glyphs144.cpp
  49. 0 1
      source/forms/Glyphs192.cpp
  50. 0 2
      source/forms/InputDlg.cpp
  51. 0 1
      source/forms/License.cpp
  52. 0 1
      source/forms/NonVisual.cpp
  53. 0 1
      source/forms/RemoteTransfer.cpp
  54. 0 1
      source/forms/Rights.cpp
  55. 0 1
      source/forms/ScpCommander.cpp
  56. 0 1
      source/forms/ScpExplorer.cpp
  57. 0 1
      source/forms/SelectMask.cpp
  58. 0 1
      source/forms/Symlink.cpp
  59. 0 1
      source/forms/Synchronize.cpp
  60. 0 1
      source/forms/SynchronizeProgress.cpp
  61. 0 2
      source/windows/ConsoleRunner.cpp
  62. 0 2
      source/windows/CustomWinConfiguration.cpp
  63. 0 2
      source/windows/EditorManager.cpp
  64. 0 2
      source/windows/GUIConfiguration.cpp
  65. 0 2
      source/windows/GUITools.cpp
  66. 0 2
      source/windows/ProgParams.cpp
  67. 0 2
      source/windows/QueueController.cpp
  68. 0 2
      source/windows/SynchronizeController.cpp
  69. 0 2
      source/windows/TerminalManager.cpp
  70. 0 2
      source/windows/Tools.cpp
  71. 0 2
      source/windows/UserInterface.cpp
  72. 0 2
      source/windows/VCLCommon.cpp
  73. 0 2
      source/windows/WinConfiguration.cpp
  74. 0 2
      source/windows/WinHelp.cpp
  75. 0 2
      source/windows/WinInterface.cpp
  76. 0 2
      source/windows/WinMain.cpp

+ 0 - 2
source/core/Bookmarks.cpp

@@ -6,8 +6,6 @@
 #include "Configuration.h"
 #include "Configuration.h"
 #include "HierarchicalStorage.h"
 #include "HierarchicalStorage.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
-//---------------------------------------------------------------------------
 __fastcall TBookmarks::TBookmarks(): TObject()
 __fastcall TBookmarks::TBookmarks(): TObject()
 {
 {
   FSharedKey = TNamedObjectList::HiddenPrefix + L"shared";
   FSharedKey = TNamedObjectList::HiddenPrefix + L"shared";

+ 0 - 2
source/core/Common.cpp

@@ -15,8 +15,6 @@
 #include <openssl/err.h>
 #include <openssl/err.h>
 #include <openssl/ssl.h>
 #include <openssl/ssl.h>
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
-//---------------------------------------------------------------------------
 const wchar_t * DSTModeNames = L"Win;Unix;Keep";
 const wchar_t * DSTModeNames = L"Win;Unix;Keep";
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------

+ 0 - 2
source/core/Configuration.cpp

@@ -11,8 +11,6 @@
 #include "CopyParam.h"
 #include "CopyParam.h"
 #include <shlobj.h>
 #include <shlobj.h>
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
-//---------------------------------------------------------------------------
 const wchar_t * AutoSwitchNames = L"On;Off;Auto";
 const wchar_t * AutoSwitchNames = L"On;Off;Auto";
 const wchar_t * NotAutoSwitchNames = L"Off;On;Auto";
 const wchar_t * NotAutoSwitchNames = L"Off;On;Auto";
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------

+ 0 - 2
source/core/CoreMain.cpp

@@ -8,8 +8,6 @@
 #include "FileZillaIntf.h"
 #include "FileZillaIntf.h"
 #include "NeonIntf.h"
 #include "NeonIntf.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
-//---------------------------------------------------------------------------
 TConfiguration * Configuration = NULL;
 TConfiguration * Configuration = NULL;
 TStoredSessionList * StoredSessions = NULL;
 TStoredSessionList * StoredSessions = NULL;
 TApplicationLog * ApplicationLog = NULL;
 TApplicationLog * ApplicationLog = NULL;

+ 0 - 2
source/core/Exceptions.cpp

@@ -6,8 +6,6 @@
 
 
 #include "Configuration.h"
 #include "Configuration.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
-//---------------------------------------------------------------------------
 static std::unique_ptr<TCriticalSection> IgnoredExceptionsCriticalSection(TraceInitPtr(new TCriticalSection()));
 static std::unique_ptr<TCriticalSection> IgnoredExceptionsCriticalSection(TraceInitPtr(new TCriticalSection()));
 typedef std::set<UnicodeString> TIgnoredExceptions;
 typedef std::set<UnicodeString> TIgnoredExceptions;
 static TIgnoredExceptions IgnoredExceptions;
 static TIgnoredExceptions IgnoredExceptions;

+ 0 - 2
source/core/FileBuffer.cpp

@@ -4,8 +4,6 @@
 
 
 #include "FileBuffer.h"
 #include "FileBuffer.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
-//---------------------------------------------------------------------------
 const wchar_t * EOLTypeNames = L"LF;CRLF;CR";
 const wchar_t * EOLTypeNames = L"LF;CRLF;CR";
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
 const char * __fastcall EOLToStr(TEOLType EOLType)
 const char * __fastcall EOLToStr(TEOLType EOLType)

+ 0 - 2
source/core/FileInfo.cpp

@@ -5,8 +5,6 @@
 #include "FileInfo.h"
 #include "FileInfo.h"
 #include "FileBuffer.h"
 #include "FileBuffer.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
-//---------------------------------------------------------------------------
 // Return pointer to file version info block
 // Return pointer to file version info block
 void * __fastcall CreateFileInfo(UnicodeString FileName)
 void * __fastcall CreateFileInfo(UnicodeString FileName)
 {
 {

+ 0 - 2
source/core/FileSystems.cpp

@@ -5,8 +5,6 @@
 #include "FileSystems.h"
 #include "FileSystems.h"
 #include "RemoteFiles.h"
 #include "RemoteFiles.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
-//---------------------------------------------------------------------------
 __fastcall TCustomFileSystem::TCustomFileSystem(TTerminal * ATerminal):
 __fastcall TCustomFileSystem::TCustomFileSystem(TTerminal * ATerminal):
   FTerminal(ATerminal)
   FTerminal(ATerminal)
 {
 {

+ 0 - 2
source/core/FtpFileSystem.cpp

@@ -16,8 +16,6 @@
 #include <openssl/x509_vfy.h>
 #include <openssl/x509_vfy.h>
 #include <openssl/err.h>
 #include <openssl/err.h>
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
-//---------------------------------------------------------------------------
 #define FILE_OPERATION_LOOP_TERMINAL FTerminal
 #define FILE_OPERATION_LOOP_TERMINAL FTerminal
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
 const int DummyCodeClass = 8;
 const int DummyCodeClass = 8;

+ 0 - 2
source/core/Global.cpp

@@ -2,8 +2,6 @@
 #include <CorePCH.h>
 #include <CorePCH.h>
 #pragma hdrstop
 #pragma hdrstop
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
-//---------------------------------------------------------------------------
 const UnicodeString EmptyString(TraceInitStr(L"\1\1\1")); // magic
 const UnicodeString EmptyString(TraceInitStr(L"\1\1\1")); // magic
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
 UnicodeString NormalizeString(const UnicodeString & S)
 UnicodeString NormalizeString(const UnicodeString & S)

+ 0 - 2
source/core/HierarchicalStorage.cpp

@@ -6,8 +6,6 @@
 #include "PuttyIntf.h"
 #include "PuttyIntf.h"
 #include "HierarchicalStorage.h"
 #include "HierarchicalStorage.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
-//---------------------------------------------------------------------------
 // ValueExists test was probably added to avoid registry exceptions when debugging
 // ValueExists test was probably added to avoid registry exceptions when debugging
 #define READ_REGISTRY(Method) \
 #define READ_REGISTRY(Method) \
   if (FRegistry->ValueExists(Name)) \
   if (FRegistry->ValueExists(Name)) \

+ 0 - 2
source/core/NamedObjs.cpp

@@ -4,8 +4,6 @@
 
 
 #include "NamedObjs.h"
 #include "NamedObjs.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
-//---------------------------------------------------------------------------
 int __fastcall NamedObjectSortProc(void * Item1, void * Item2)
 int __fastcall NamedObjectSortProc(void * Item1, void * Item2)
 {
 {
   return static_cast<TNamedObject *>(Item1)->Compare(static_cast<TNamedObject *>(Item2));
   return static_cast<TNamedObject *>(Item1)->Compare(static_cast<TNamedObject *>(Item2));

+ 0 - 2
source/core/Option.cpp

@@ -4,8 +4,6 @@
 
 
 #include "Option.h"
 #include "Option.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
-//---------------------------------------------------------------------------
 const wchar_t ArrayValueDelimiter = L'[';
 const wchar_t ArrayValueDelimiter = L'[';
 const wchar_t ArrayValueEnd = L']';
 const wchar_t ArrayValueEnd = L']';
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------

+ 0 - 2
source/core/Queue.cpp

@@ -5,8 +5,6 @@
 #include "Terminal.h"
 #include "Terminal.h"
 #include "Queue.h"
 #include "Queue.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
-//---------------------------------------------------------------------------
 class TBackgroundTerminal;
 class TBackgroundTerminal;
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
 class TParallelTransferQueueItem : public TLocatedQueueItem
 class TParallelTransferQueueItem : public TLocatedQueueItem

+ 0 - 2
source/core/S3FileSystem.cpp

@@ -17,8 +17,6 @@
 #include "request.h"
 #include "request.h"
 #include <XMLDoc.hpp>
 #include <XMLDoc.hpp>
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
-//---------------------------------------------------------------------------
 // Should be used with character pointer only
 // Should be used with character pointer only
 #define StrFromS3(S) StrFromNeon(S)
 #define StrFromS3(S) StrFromNeon(S)
 #define StrToS3(S) StrToNeon(S)
 #define StrToS3(S) StrToNeon(S)

+ 0 - 2
source/core/ScpFileSystem.cpp

@@ -7,8 +7,6 @@
 #include "Terminal.h"
 #include "Terminal.h"
 #include "SecureShell.h"
 #include "SecureShell.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
-//---------------------------------------------------------------------------
 #define FILE_OPERATION_LOOP_TERMINAL FTerminal
 #define FILE_OPERATION_LOOP_TERMINAL FTerminal
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
 const int coRaiseExcept = 1;
 const int coRaiseExcept = 1;

+ 0 - 2
source/core/Script.cpp

@@ -6,8 +6,6 @@
 #include "Terminal.h"
 #include "Terminal.h"
 #include "SessionData.h"
 #include "SessionData.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
-//---------------------------------------------------------------------------
 const wchar_t * ToggleNames[] = { L"off", L"on" };
 const wchar_t * ToggleNames[] = { L"off", L"on" };
 const UnicodeString InOutParam(TraceInitStr(L"-"));
 const UnicodeString InOutParam(TraceInitStr(L"-"));
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------

+ 0 - 2
source/core/SecureShell.cpp

@@ -11,8 +11,6 @@
 #endif
 #endif
 #include <ws2ipdef.h>
 #include <ws2ipdef.h>
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
-//---------------------------------------------------------------------------
 #define MAX_BUFSIZE 32768
 #define MAX_BUFSIZE 32768
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
 const wchar_t HostKeyDelimiter = L';';
 const wchar_t HostKeyDelimiter = L';';

+ 0 - 2
source/core/Security.cpp

@@ -4,8 +4,6 @@
 
 
 #include "Security.h"
 #include "Security.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
-//---------------------------------------------------------------------------
 #define PWALG_SIMPLE_INTERNAL 0x00
 #define PWALG_SIMPLE_INTERNAL 0x00
 #define PWALG_SIMPLE_EXTERNAL 0x01
 #define PWALG_SIMPLE_EXTERNAL 0x01
 #define PWALG_SIMPLE_INTERNAL2 0x02
 #define PWALG_SIMPLE_INTERNAL2 0x02

+ 0 - 2
source/core/SessionData.cpp

@@ -13,8 +13,6 @@
 #include <Soap.EncdDecd.hpp>
 #include <Soap.EncdDecd.hpp>
 #include <XMLDoc.hpp>
 #include <XMLDoc.hpp>
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
-//---------------------------------------------------------------------------
 #define SET_SESSION_PROPERTY_FROM(PROPERTY, FROM) \
 #define SET_SESSION_PROPERTY_FROM(PROPERTY, FROM) \
   if (F##PROPERTY != FROM) { F##PROPERTY = FROM; Modify(); }
   if (F##PROPERTY != FROM) { F##PROPERTY = FROM; Modify(); }
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------

+ 0 - 2
source/core/SessionInfo.cpp

@@ -10,8 +10,6 @@
 #include "SessionInfo.h"
 #include "SessionInfo.h"
 #include "Script.h"
 #include "Script.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
-//---------------------------------------------------------------------------
 UnicodeString __fastcall DoXmlEscape(UnicodeString Str, bool NewLine)
 UnicodeString __fastcall DoXmlEscape(UnicodeString Str, bool NewLine)
 {
 {
   for (int i = 1; i <= Str.Length(); i++)
   for (int i = 1; i <= Str.Length(); i++)

+ 0 - 2
source/core/SftpFileSystem.cpp

@@ -10,8 +10,6 @@
 #include "Cryptography.h"
 #include "Cryptography.h"
 #include <WideStrUtils.hpp>
 #include <WideStrUtils.hpp>
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
-//---------------------------------------------------------------------------
 #define FILE_OPERATION_LOOP_TERMINAL FTerminal
 #define FILE_OPERATION_LOOP_TERMINAL FTerminal
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
 #define SSH_FX_OK                                 0
 #define SSH_FX_OK                                 0

+ 0 - 2
source/core/Terminal.cpp

@@ -24,8 +24,6 @@
 #include <winsock2.h>
 #include <winsock2.h>
 #endif
 #endif
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
-//---------------------------------------------------------------------------
 #define FILE_OPERATION_LOOP_TERMINAL this
 #define FILE_OPERATION_LOOP_TERMINAL this
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------

+ 0 - 2
source/core/Usage.cpp

@@ -6,8 +6,6 @@
 #include <Usage.h>
 #include <Usage.h>
 #include <FileInfo.h>
 #include <FileInfo.h>
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
-//---------------------------------------------------------------------------
 const UnicodeString LastInternalExceptionCounter(L"LastInternalException2");
 const UnicodeString LastInternalExceptionCounter(L"LastInternalException2");
 const UnicodeString LastUpdateExceptionCounter(L"LastUpdateException");
 const UnicodeString LastUpdateExceptionCounter(L"LastUpdateException");
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------

+ 0 - 2
source/core/WebDAVFileSystem.cpp

@@ -26,8 +26,6 @@
 #include "Security.h"
 #include "Security.h"
 #include <NeonIntf.h>
 #include <NeonIntf.h>
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
-//---------------------------------------------------------------------------
 #define FILE_OPERATION_LOOP_TERMINAL FTerminal
 #define FILE_OPERATION_LOOP_TERMINAL FTerminal
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
 #define SESSION_CONTEXT_KEY "sessioncontext"
 #define SESSION_CONTEXT_KEY "sessioncontext"

+ 0 - 2
source/filezilla/FileZillaIntern.cpp

@@ -4,8 +4,6 @@
 #include "FileZillaIntern.h"
 #include "FileZillaIntern.h"
 #include "FileZillaIntf.h"
 #include "FileZillaIntf.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
-//---------------------------------------------------------------------------
 TFileZillaIntern::TFileZillaIntern(TFileZillaIntf * AOwner) :
 TFileZillaIntern::TFileZillaIntern(TFileZillaIntf * AOwner) :
   FOwner(AOwner)
   FOwner(AOwner)
 {
 {

+ 0 - 2
source/filezilla/FileZillaIntf.cpp

@@ -6,8 +6,6 @@
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
 #pragma comment(lib, "uafxcw.lib")
 #pragma comment(lib, "uafxcw.lib")
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
-//---------------------------------------------------------------------------
 void __fastcall TFileZillaIntf::Initialize()
 void __fastcall TFileZillaIntf::Initialize()
 {
 {
   // noop
   // noop

+ 0 - 1
source/forms/Animations120.cpp

@@ -4,7 +4,6 @@
 
 
 #include "Animations120.h"
 #include "Animations120.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
 #pragma link "PngImageList"
 #pragma link "PngImageList"
 #pragma resource "*.dfm"
 #pragma resource "*.dfm"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------

+ 0 - 1
source/forms/Animations144.cpp

@@ -4,7 +4,6 @@
 
 
 #include "Animations144.h"
 #include "Animations144.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
 #pragma link "PngImageList"
 #pragma link "PngImageList"
 #pragma resource "*.dfm"
 #pragma resource "*.dfm"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------

+ 0 - 1
source/forms/Animations192.cpp

@@ -4,7 +4,6 @@
 
 
 #include "Animations192.h"
 #include "Animations192.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
 #pragma link "PngImageList"
 #pragma link "PngImageList"
 #pragma resource "*.dfm"
 #pragma resource "*.dfm"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------

+ 0 - 1
source/forms/Animations96.cpp

@@ -4,7 +4,6 @@
 
 
 #include "Animations96.h"
 #include "Animations96.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
 #pragma link "PngImageList"
 #pragma link "PngImageList"
 #pragma resource "*.dfm"
 #pragma resource "*.dfm"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------

+ 0 - 1
source/forms/Authenticate.cpp

@@ -5,7 +5,6 @@
 #include "Authenticate.h"
 #include "Authenticate.h"
 #include <Character.hpp>
 #include <Character.hpp>
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
 #pragma resource "*.dfm"
 #pragma resource "*.dfm"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
 __fastcall TAuthenticateForm::TAuthenticateForm(TComponent * Owner)
 __fastcall TAuthenticateForm::TAuthenticateForm(TComponent * Owner)

+ 0 - 1
source/forms/Copy.cpp

@@ -4,7 +4,6 @@
 
 
 #include "Copy.h"
 #include "Copy.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
 #pragma link "Rights"
 #pragma link "Rights"
 #pragma link "CopyParams"
 #pragma link "CopyParams"
 #pragma link "HistoryComboBox"
 #pragma link "HistoryComboBox"

+ 0 - 1
source/forms/CopyLocal.cpp

@@ -5,7 +5,6 @@
 #include "CopyLocal.h"
 #include "CopyLocal.h"
 #include "ComboEdit.hpp"
 #include "ComboEdit.hpp"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
 #pragma link "HistoryComboBox"
 #pragma link "HistoryComboBox"
 #pragma resource "*.dfm"
 #pragma resource "*.dfm"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------

+ 0 - 1
source/forms/CopyParamCustom.cpp

@@ -4,7 +4,6 @@
 
 
 #include "CopyParamCustom.h"
 #include "CopyParamCustom.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
 #pragma link "CopyParams"
 #pragma link "CopyParams"
 #pragma resource "*.dfm"
 #pragma resource "*.dfm"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------

+ 0 - 1
source/forms/CopyParamPreset.cpp

@@ -4,7 +4,6 @@
 
 
 #include "CopyParamPreset.h"
 #include "CopyParamPreset.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
 #pragma link "CopyParams"
 #pragma link "CopyParams"
 #pragma resource "*.dfm"
 #pragma resource "*.dfm"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------

+ 0 - 1
source/forms/CopyParams.cpp

@@ -4,7 +4,6 @@
 
 
 #include "CopyParams.h"
 #include "CopyParams.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
 #pragma link "Rights"
 #pragma link "Rights"
 #pragma link "HistoryComboBox"
 #pragma link "HistoryComboBox"
 #pragma link "ComboEdit"
 #pragma link "ComboEdit"

+ 0 - 1
source/forms/CustomCommand.cpp

@@ -5,7 +5,6 @@
 #include <Terminal.h>
 #include <Terminal.h>
 #include "CustomCommand.h"
 #include "CustomCommand.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
 #pragma link "HistoryComboBox"
 #pragma link "HistoryComboBox"
 #pragma resource "*.dfm"
 #pragma resource "*.dfm"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------

+ 0 - 1
source/forms/CustomScpExplorer.cpp

@@ -20,7 +20,6 @@
 #include <DirectoryMonitor.hpp>
 #include <DirectoryMonitor.hpp>
 #include <mmsystem.h>
 #include <mmsystem.h>
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
 #pragma link "CustomDirView"
 #pragma link "CustomDirView"
 #pragma link "CustomUnixDirView"
 #pragma link "CustomUnixDirView"
 #pragma link "IEListView"
 #pragma link "IEListView"

+ 0 - 1
source/forms/EditMask.cpp

@@ -5,7 +5,6 @@
 #include <FileMasks.h>
 #include <FileMasks.h>
 #include "EditMask.h"
 #include "EditMask.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
 #pragma resource "*.dfm"
 #pragma resource "*.dfm"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
 bool __fastcall DoEditMaskDialog(TFileMasks & Mask)
 bool __fastcall DoEditMaskDialog(TFileMasks & Mask)

+ 0 - 1
source/forms/Editor.cpp

@@ -4,7 +4,6 @@
 
 
 #include "Editor.h"
 #include "Editor.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
 #pragma link "TB2Dock"
 #pragma link "TB2Dock"
 #pragma link "TBX"
 #pragma link "TBX"
 #pragma link "TB2Item"
 #pragma link "TB2Item"

+ 0 - 1
source/forms/EditorPreferences.cpp

@@ -4,7 +4,6 @@
 
 
 #include "EditorPreferences.h"
 #include "EditorPreferences.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
 #pragma link "HistoryComboBox"
 #pragma link "HistoryComboBox"
 #pragma resource "*.dfm"
 #pragma resource "*.dfm"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------

+ 0 - 1
source/forms/FileFind.cpp

@@ -5,7 +5,6 @@
 #include <Terminal.h>
 #include <Terminal.h>
 #include "FileFind.h"
 #include "FileFind.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
 #pragma link "HistoryComboBox"
 #pragma link "HistoryComboBox"
 #pragma link "IEListView"
 #pragma link "IEListView"
 #pragma link "NortonLikeListView"
 #pragma link "NortonLikeListView"

+ 0 - 1
source/forms/FullSynchronize.cpp

@@ -6,7 +6,6 @@
 #include "CopyParams.h"
 #include "CopyParams.h"
 #include <Terminal.h>
 #include <Terminal.h>
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
 #pragma link "HistoryComboBox"
 #pragma link "HistoryComboBox"
 #pragma resource "*.dfm"
 #pragma resource "*.dfm"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------

+ 0 - 1
source/forms/GenerateUrl.cpp

@@ -6,7 +6,6 @@
 #include <PuttyTools.h>
 #include <PuttyTools.h>
 #include <ProgParams.h>
 #include <ProgParams.h>
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
 #pragma resource "*.dfm"
 #pragma resource "*.dfm"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
 const UnicodeString AllFilesMask(L"*");
 const UnicodeString AllFilesMask(L"*");

+ 0 - 1
source/forms/Glyphs.cpp

@@ -7,7 +7,6 @@
 #include "Glyphs144.h"
 #include "Glyphs144.h"
 #include "Glyphs192.h"
 #include "Glyphs192.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
 #pragma link "PngImageList"
 #pragma link "PngImageList"
 #pragma resource "*.dfm"
 #pragma resource "*.dfm"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------

+ 0 - 1
source/forms/Glyphs120.cpp

@@ -4,7 +4,6 @@
 
 
 #include "Glyphs120.h"
 #include "Glyphs120.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
 #pragma link "PngImageList"
 #pragma link "PngImageList"
 #pragma resource "*.dfm"
 #pragma resource "*.dfm"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------

+ 0 - 1
source/forms/Glyphs144.cpp

@@ -4,7 +4,6 @@
 
 
 #include "Glyphs144.h"
 #include "Glyphs144.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
 #pragma link "PngImageList"
 #pragma link "PngImageList"
 #pragma resource "*.dfm"
 #pragma resource "*.dfm"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------

+ 0 - 1
source/forms/Glyphs192.cpp

@@ -4,7 +4,6 @@
 
 
 #include "Glyphs192.h"
 #include "Glyphs192.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
 #pragma link "PngImageList"
 #pragma link "PngImageList"
 #pragma resource "*.dfm"
 #pragma resource "*.dfm"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------

+ 0 - 2
source/forms/InputDlg.cpp

@@ -4,8 +4,6 @@
 
 
 #include <Custom.h>
 #include <Custom.h>
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
-//---------------------------------------------------------------------------
 class TInputDialog : public TCustomDialog
 class TInputDialog : public TCustomDialog
 {
 {
 public:
 public:

+ 0 - 1
source/forms/License.cpp

@@ -4,7 +4,6 @@
 
 
 #include "License.h"
 #include "License.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
 #pragma resource "*.dfm"
 #pragma resource "*.dfm"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
 static UnicodeString LicenseStr[2] =
 static UnicodeString LicenseStr[2] =

+ 0 - 1
source/forms/NonVisual.cpp

@@ -10,7 +10,6 @@
 #include <HistoryComboBox.hpp>
 #include <HistoryComboBox.hpp>
 #include "Glyphs.h"
 #include "Glyphs.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
 #pragma link "TB2Item"
 #pragma link "TB2Item"
 #pragma link "TBX"
 #pragma link "TBX"
 #pragma link "TB2ExtItems"
 #pragma link "TB2ExtItems"

+ 0 - 1
source/forms/RemoteTransfer.cpp

@@ -4,7 +4,6 @@
 
 
 #include "RemoteTransfer.h"
 #include "RemoteTransfer.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
 #pragma link "HistoryComboBox"
 #pragma link "HistoryComboBox"
 #pragma resource "*.dfm"
 #pragma resource "*.dfm"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------

+ 0 - 1
source/forms/Rights.cpp

@@ -4,7 +4,6 @@
 
 
 #include "Rights.h"
 #include "Rights.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
 #pragma link "GrayedCheckBox"
 #pragma link "GrayedCheckBox"
 #pragma link "PngImageList"
 #pragma link "PngImageList"
 #pragma resource "*.dfm"
 #pragma resource "*.dfm"

+ 0 - 1
source/forms/ScpCommander.cpp

@@ -10,7 +10,6 @@
 #include "TerminalManager.h"
 #include "TerminalManager.h"
 #include "Bookmarks.h"
 #include "Bookmarks.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
 #pragma link "CustomDirView"
 #pragma link "CustomDirView"
 #pragma link "CustomScpExplorer"
 #pragma link "CustomScpExplorer"
 #pragma link "CustomUnixDirView"
 #pragma link "CustomUnixDirView"

+ 0 - 1
source/forms/ScpExplorer.cpp

@@ -7,7 +7,6 @@
 #include "NonVisual.h"
 #include "NonVisual.h"
 #include "Glyphs.h"
 #include "Glyphs.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
 #pragma link "CustomDirView"
 #pragma link "CustomDirView"
 #pragma link "CustomScpExplorer"
 #pragma link "CustomScpExplorer"
 #pragma link "CustomUnixDirView"
 #pragma link "CustomUnixDirView"

+ 0 - 1
source/forms/SelectMask.cpp

@@ -5,7 +5,6 @@
 #include <FileMasks.h>
 #include <FileMasks.h>
 #include "SelectMask.h"
 #include "SelectMask.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
 #pragma link "HistoryComboBox"
 #pragma link "HistoryComboBox"
 #pragma resource "*.dfm"
 #pragma resource "*.dfm"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------

+ 0 - 1
source/forms/Symlink.cpp

@@ -4,7 +4,6 @@
 
 
 #include "Symlink.h"
 #include "Symlink.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
 #pragma resource "*.dfm"
 #pragma resource "*.dfm"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
 bool __fastcall DoSymlinkDialog(UnicodeString & FileName, UnicodeString & PointTo,
 bool __fastcall DoSymlinkDialog(UnicodeString & FileName, UnicodeString & PointTo,

+ 0 - 1
source/forms/Synchronize.cpp

@@ -7,7 +7,6 @@
 #include "Terminal.h"
 #include "Terminal.h"
 #include <TerminalManager.h>
 #include <TerminalManager.h>
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
 #pragma link "HistoryComboBox"
 #pragma link "HistoryComboBox"
 #pragma link "GrayedCheckBox"
 #pragma link "GrayedCheckBox"
 #pragma resource "*.dfm"
 #pragma resource "*.dfm"

+ 0 - 1
source/forms/SynchronizeProgress.cpp

@@ -5,7 +5,6 @@
 #include "SynchronizeProgress.h"
 #include "SynchronizeProgress.h"
 #include <Progress.h>
 #include <Progress.h>
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
 #pragma link "PathLabel"
 #pragma link "PathLabel"
 #pragma link "PngImageList"
 #pragma link "PngImageList"
 #pragma link "TB2Dock"
 #pragma link "TB2Dock"

+ 0 - 2
source/windows/ConsoleRunner.cpp

@@ -17,8 +17,6 @@
 #define WM_INTERUPT_IDLE (WM_WINSCP_USER + 3)
 #define WM_INTERUPT_IDLE (WM_WINSCP_USER + 3)
 #define BATCH_INPUT_TIMEOUT 10000
 #define BATCH_INPUT_TIMEOUT 10000
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
-//---------------------------------------------------------------------------
 void TrimNewLine(UnicodeString & Str)
 void TrimNewLine(UnicodeString & Str)
 {
 {
   while (!Str.IsEmpty() &&
   while (!Str.IsEmpty() &&

+ 0 - 2
source/windows/CustomWinConfiguration.cpp

@@ -4,8 +4,6 @@
 
 
 #include <SessionData.h>
 #include <SessionData.h>
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
-//---------------------------------------------------------------------------
 TCustomWinConfiguration * CustomWinConfiguration = NULL;
 TCustomWinConfiguration * CustomWinConfiguration = NULL;
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
 class THistoryStrings : public TStringList
 class THistoryStrings : public TStringList

+ 0 - 2
source/windows/EditorManager.cpp

@@ -5,8 +5,6 @@
 #include <SessionData.h>
 #include <SessionData.h>
 #include "EditorManager.h"
 #include "EditorManager.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
-//---------------------------------------------------------------------------
 TEditedFileData::TEditedFileData()
 TEditedFileData::TEditedFileData()
 {
 {
   ForceText = false;
   ForceText = false;

+ 0 - 2
source/windows/GUIConfiguration.cpp

@@ -8,8 +8,6 @@
 #include <Terminal.h>
 #include <Terminal.h>
 #include <shlobj.h>
 #include <shlobj.h>
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
-//---------------------------------------------------------------------------
 const int ccLocal = ccUser;
 const int ccLocal = ccUser;
 const int ccShowResults = ccUser << 1;
 const int ccShowResults = ccUser << 1;
 const int ccCopyResults = ccUser << 2;
 const int ccCopyResults = ccUser << 2;

+ 0 - 2
source/windows/GUITools.cpp

@@ -22,8 +22,6 @@
 #include "Animations144.h"
 #include "Animations144.h"
 #include "Animations192.h"
 #include "Animations192.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
-//---------------------------------------------------------------------------
 extern const UnicodeString PageantTool = L"pageant.exe";
 extern const UnicodeString PageantTool = L"pageant.exe";
 extern const UnicodeString PuttygenTool = L"puttygen.exe";
 extern const UnicodeString PuttygenTool = L"puttygen.exe";
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------

+ 0 - 2
source/windows/ProgParams.cpp

@@ -4,8 +4,6 @@
 
 
 #include "ProgParams.h"
 #include "ProgParams.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
-//---------------------------------------------------------------------------
 static std::unique_ptr<TProgramParams> ProgramParamsOwner;
 static std::unique_ptr<TProgramParams> ProgramParamsOwner;
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
 TProgramParams * __fastcall TProgramParams::Instance()
 TProgramParams * __fastcall TProgramParams::Instance()

+ 0 - 2
source/windows/QueueController.cpp

@@ -5,8 +5,6 @@
 #include <Queue.h>
 #include <Queue.h>
 #include "QueueController.h"
 #include "QueueController.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
-//---------------------------------------------------------------------------
 __fastcall TQueueController::TQueueController(TCustomListView * ListView)
 __fastcall TQueueController::TQueueController(TCustomListView * ListView)
 {
 {
   FListView = static_cast<TListView *>(ListView);
   FListView = static_cast<TListView *>(ListView);

+ 0 - 2
source/windows/SynchronizeController.cpp

@@ -7,8 +7,6 @@
 #include <DiscMon.hpp>
 #include <DiscMon.hpp>
 #include "SynchronizeController.h"
 #include "SynchronizeController.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
-//---------------------------------------------------------------------------
 __fastcall TSynchronizeController::TSynchronizeController(
 __fastcall TSynchronizeController::TSynchronizeController(
   TSynchronizeEvent AOnSynchronize, TSynchronizeInvalidEvent AOnSynchronizeInvalid,
   TSynchronizeEvent AOnSynchronize, TSynchronizeInvalidEvent AOnSynchronizeInvalid,
   TSynchronizeTooManyDirectories AOnTooManyDirectories)
   TSynchronizeTooManyDirectories AOnTooManyDirectories)

+ 0 - 2
source/windows/TerminalManager.cpp

@@ -10,8 +10,6 @@
 #include <WinApi.h>
 #include <WinApi.h>
 #include <PuttyTools.h>
 #include <PuttyTools.h>
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
-//---------------------------------------------------------------------------
 TTerminalManager * TTerminalManager::FInstance = NULL;
 TTerminalManager * TTerminalManager::FInstance = NULL;
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
 __fastcall TManagedTerminal::TManagedTerminal(TSessionData * SessionData,
 __fastcall TManagedTerminal::TManagedTerminal(TSessionData * SessionData,

+ 0 - 2
source/windows/Tools.cpp

@@ -52,8 +52,6 @@
 #undef HTTP_VERSION_INFO
 #undef HTTP_VERSION_INFO
 #undef LPHTTP_VERSION_INFO
 #undef LPHTTP_VERSION_INFO
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
-//---------------------------------------------------------------------------
 TFontStyles __fastcall IntToFontStyles(int value)
 TFontStyles __fastcall IntToFontStyles(int value)
 {
 {
   TFontStyles Result;
   TFontStyles Result;

+ 0 - 2
source/windows/UserInterface.cpp

@@ -10,8 +10,6 @@
 #include "ProgParams.h"
 #include "ProgParams.h"
 #include "Custom.h"
 #include "Custom.h"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
-//---------------------------------------------------------------------------
 const UnicodeString AppName = L"WinSCP";
 const UnicodeString AppName = L"WinSCP";
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
 TConfiguration * __fastcall CreateConfiguration()
 TConfiguration * __fastcall CreateConfiguration()

+ 0 - 2
source/windows/VCLCommon.cpp

@@ -19,8 +19,6 @@
 const UnicodeString ContextSeparator(TraceInitStr(L"\x00BB"));
 const UnicodeString ContextSeparator(TraceInitStr(L"\x00BB"));
 const UnicodeString LinkAppLabelMark(TraceInitStr(UnicodeString(L" ") + ContextSeparator));
 const UnicodeString LinkAppLabelMark(TraceInitStr(UnicodeString(L" ") + ContextSeparator));
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
-//---------------------------------------------------------------------------
 class TFormCustomizationComponent : public TComponent
 class TFormCustomizationComponent : public TComponent
 {
 {
 public:
 public:

+ 0 - 2
source/windows/WinConfiguration.cpp

@@ -14,8 +14,6 @@
 #include "FileInfo.h"
 #include "FileInfo.h"
 #include "DriveView.hpp"
 #include "DriveView.hpp"
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
-//---------------------------------------------------------------------------
 TWinConfiguration * WinConfiguration = NULL;
 TWinConfiguration * WinConfiguration = NULL;
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
 static UnicodeString NotepadName(L"notepad.exe");
 static UnicodeString NotepadName(L"notepad.exe");

+ 0 - 2
source/windows/WinHelp.cpp

@@ -4,8 +4,6 @@
 
 
 #include <HelpIntfs.hpp>
 #include <HelpIntfs.hpp>
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
-//---------------------------------------------------------------------------
 class TWebHelpSystem : public TInterfacedObject, public ICustomHelpViewer
 class TWebHelpSystem : public TInterfacedObject, public ICustomHelpViewer
 {
 {
 public:
 public:

+ 0 - 2
source/windows/WinInterface.cpp

@@ -14,8 +14,6 @@
 #include <WinApi.h>
 #include <WinApi.h>
 #include <Vcl.AppEvnts.hpp>
 #include <Vcl.AppEvnts.hpp>
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
-//---------------------------------------------------------------------------
 #define WM_TRAY_ICON (WM_WINSCP_USER + 5)
 #define WM_TRAY_ICON (WM_WINSCP_USER + 5)
 //---------------------------------------------------------------------
 //---------------------------------------------------------------------
 static TNotifyEvent GlobalOnMinimize = NULL;
 static TNotifyEvent GlobalOnMinimize = NULL;

+ 0 - 2
source/windows/WinMain.cpp

@@ -11,8 +11,6 @@
 #include "WinApi.h"
 #include "WinApi.h"
 #include <Xml.Win.msxmldom.hpp>
 #include <Xml.Win.msxmldom.hpp>
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-#pragma package(smart_init)
-//---------------------------------------------------------------------------
 UnicodeString GetFolderOrWorkspaceName(const UnicodeString & SessionName)
 UnicodeString GetFolderOrWorkspaceName(const UnicodeString & SessionName)
 {
 {
   UnicodeString FolderOrWorkspaceName = DecodeUrlChars(SessionName);
   UnicodeString FolderOrWorkspaceName = DecodeUrlChars(SessionName);