EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Indy 9 / SBIndyIOHandler10.pas

Also by EldoS: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.
#4173
Posted: 10/30/2007 03:49:57
by Sebastian Lemke (Standard support level)
Joined: 10/30/2007
Posts: 2

Hi all,

I am using Indy 9 and want to add the SSB Wrapper as SSL IO Handler.
I added SBIndyHandler10.pas to the uses list.
When I try to compile (I am creating the components at runtime),I get an error in SBIndyIOHandler10.pas at line 167:

{$ENDIF}
<<<<<<< SBIndyIOHandler10.pas

{$IFDEF VER190}

What is this ?

Regards,
Sebastian
#4174
Posted: 10/30/2007 04:01:26
by Eugene Mayevski (EldoS Corp.)

Please remove everything between "interface" and "uses" and paste the following code:

Code

// Please uncomment the following conditional define if you are using
// Indy 10.1.1 or higher
{$define INDY1011}
// Please uncomment the following conditional define if you are using
// Indy 10.2.3 or higher
//{$define INDY1023}

{$ifdef CLR}
    {$DEFINE DELPHI_NET}
    {$DEFINE NET_registered}
{$endif}

{$ifndef CLR}
{$ifndef FPC}
{$define DELPHI_WIN}
{$endif}
{$endif}

{$IFDEF VER120}
  {$DEFINE D_3_UP}
  {$DEFINE D_4_UP}
  {$DEFINE VCL40}
{$ENDIF}

{$IFDEF VER125}
  {$DEFINE B_3_UP}
  {$DEFINE B_4_UP}
  {$DEFINE B_4}
  {$DEFINE VCL40}
  {$DEFINE BUILDER_USED}
{$ENDIF}

{$IFDEF VER130}
   {$IFDEF BCB}
      {$DEFINE B_3_UP}
      {$DEFINE B_4_UP}
      {$DEFINE B_5_UP}
      {$DEFINE B_5}
      {$DEFINE VCL40}
      {$DEFINE VCL50}
      {$DEFINE BUILDER_USED}
    {$ELSE}
      {$DEFINE D_3_UP}
      {$DEFINE D_4_UP}
      {$DEFINE D_5_UP}
      {$DEFINE VCL40}
      {$DEFINE VCL50}
    {$ENDIF}
{$ENDIF}

{$IFDEF VER140}
   {$IFDEF BCB}
      {$DEFINE B_3_UP}
      {$DEFINE B_4_UP}
      {$DEFINE B_5_UP}
      {$DEFINE B_6_UP}
      {$DEFINE B_6}
      {$DEFINE VCL40}
      {$DEFINE VCL50}
      {$DEFINE VCL60}
      {$DEFINE BUILDER_USED}
    {$ELSE}
      {$DEFINE D_3_UP}
      {$DEFINE D_4_UP}
      {$DEFINE D_5_UP}
      {$DEFINE D_6_UP}
      {$DEFINE D_6}
      {$DEFINE VCL40}
      {$DEFINE VCL50}
      {$DEFINE VCL60}
      {.DEFINE USEADO}
    {$ENDIF}
{$ENDIF}


{$IFDEF VER150}
   {$IFNDEF BCB}
      {$DEFINE D_3_UP}
      {$DEFINE D_4_UP}
      {$DEFINE D_5_UP}
      {$DEFINE D_6_UP}
      {$DEFINE D_7_UP}
      {$DEFINE D_7}
      {$DEFINE VCL40}
      {$DEFINE VCL50}
      {$DEFINE VCL60}
      {$DEFINE VCL70}
      {.DEFINE USEADO}
    {$ENDIF}
{$ENDIF}

{$IFDEF VER160}
    {$DEFINE D_3_UP}
    {$DEFINE D_4_UP}
    {$DEFINE D_5_UP}
    {$DEFINE D_6_UP}
    {$DEFINE D_7_UP}
    {$DEFINE D_8_UP}
    {$DEFINE D_8}
    {$DEFINE VCL40}
    {$DEFINE VCL50}
    {$DEFINE VCL60}
    {$DEFINE VCL70}
    {$DEFINE VCL80}
    {.$DEFINE USE_NAME_SPACE} // Optional !!!
{$ENDIF}

{$IFDEF VER170}
    {$DEFINE D_3_UP}
    {$DEFINE D_4_UP}
    {$DEFINE D_5_UP}
    {$DEFINE D_6_UP}
    {$DEFINE D_7_UP}
    {$DEFINE D_8_UP}
    {$DEFINE D_9_UP}
    {$DEFINE D_9}
    {$DEFINE VCL40}
    {$DEFINE VCL50}
    {$DEFINE VCL60}
    {$DEFINE VCL70}
    {$DEFINE VCL80}
    {$DEFINE VCL90}
    {.$DEFINE USE_NAME_SPACE} // Optional !!!
{$ENDIF}

{$IFDEF VER180}
    {$DEFINE D_3_UP}
    {$DEFINE D_4_UP}
    {$DEFINE D_5_UP}
    {$DEFINE D_6_UP}
    {$DEFINE D_7_UP}
    {$DEFINE D_8_UP}
    {$DEFINE D_9_UP}
    {$DEFINE D_X_UP}
    {$DEFINE D_X}
    {$DEFINE VCL40}
    {$DEFINE VCL50}
    {$DEFINE VCL60}
    {$DEFINE VCL70}
    {$DEFINE VCL80}
    {$DEFINE VCL90}
    {$DEFINE VCL100}

    {$DEFINE B_3_UP}
    {$DEFINE B_4_UP}
    {$DEFINE B_5_UP}
    {$DEFINE B_6_UP}
    {$DEFINE B_X_UP}
    {$DEFINE B_X}
    {$ifndef DELPHI_NET}
    {$DEFINE BUILDER_USED}
    {$endif}
{$ENDIF}
    
{$IFDEF VER190}
    {$DEFINE D_3_UP}
    {$DEFINE D_4_UP}
    {$DEFINE D_5_UP}
    {$DEFINE D_6_UP}
    {$DEFINE D_7_UP}
    {$DEFINE D_8_UP}
    {$DEFINE D_9_UP}
    {$DEFINE D_X_UP}
    {$DEFINE D_11_UP}
    {$DEFINE D_11}
    {$DEFINE VCL40}
    {$DEFINE VCL50}
    {$DEFINE VCL60}
    {$DEFINE VCL70}
    {$DEFINE VCL80}
    {$DEFINE VCL90}
    {$DEFINE VCL100}
    {$DEFINE VCL110}
  {$IFDEF BCB}
    {$DEFINE B_3_UP}
    {$DEFINE B_4_UP}
    {$DEFINE B_5_UP}
    {$DEFINE B_6_UP}
    {$DEFINE B_X_UP}
    {$DEFINE B_11_UP}
    {$DEFINE B_11}
    {$ifndef DELPHI_NET}       
    {$DEFINE BUILDER_USED}
    {$endif}
  {$ENDIF}
{$ENDIF}
    
{$ifndef CHROME}
{$ifndef DELPHI_NET}
{$IFDEF D_7_UP}
{$WARN UNSAFE_CODE OFF}
{$WARN UNSAFE_TYPE OFF}
{$WARN UNSAFE_CAST OFF}
{$ENDIF}
{$ENDIF}
{$ENDIF}


Sincerely yours
Eugene Mayevski
#4176
Posted: 10/30/2007 04:48:25
by Sebastian Lemke (Standard support level)
Joined: 10/30/2007
Posts: 2

It works !

Thanks.
Great work ! I love the Indy-Wrapper - fantastic !

Reply

Statistics

Topic viewed 1658 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!