title: Bug with Banner->LoadAd(); function
body: <p>I know I isn't exactly related to C++, but I'm having a little trouble when a call a function named LoadAd().
  I've tried to use this function into a timer in OnTimer, in events like OnFormShow and OnFormCreate(Yes, I know it cant be in that function, but I tried). However the application always gets FC (Forced close) when executing this function... Are there any solution for that?</p>
  
  <p>Here is part of my code:</p>
  
  <pre><code>void __fastcall TfrmPrincipal::FormCreate(TObject *Sender)
  {
      // This defines the default active tab at runtime
      abasPrinc-&gt;ActiveTab = abaDisp;
      Auto = false;
      Manual = false;
      SEM_AD = false;
  
      ad1-&gt;AdUnitID = "SECRET";
      ad2-&gt;AdUnitID = "SECRET";
  
  }
  </code></pre>
  
  <p>and:</p>
  
  <pre><code>void __fastcall TfrmPrincipal::FormShow(TObject *Sender)
  {
      ad1-&gt;LoadAd();
      ad2-&gt;LoadAd();
  }
  </code></pre>
  
  <p>Declaraion (Principal.h)</p>
  
  <p>//---------------------------------------------------------------------------</p>
  
  <pre><code>#ifndef PrincipalH
  #define PrincipalH
  //---------------------------------------------------------------------------
  #include &lt;System.Classes.hpp&gt;
  #include &lt;FMX.Controls.hpp&gt;
  #include &lt;FMX.Forms.hpp&gt;
  #include &lt;FMX.ActnList.hpp&gt;
  #include &lt;FMX.Gestures.hpp&gt;
  #include &lt;FMX.StdCtrls.hpp&gt;
  #include &lt;FMX.TabControl.hpp&gt;
  #include &lt;FMX.Types.hpp&gt;
  #include &lt;System.Actions.hpp&gt;
  #include &lt;FMX.ListView.hpp&gt;
  #include &lt;FMX.ListView.Types.hpp&gt;
  #include &lt;FMX.MultiView.hpp&gt;
  #include &lt;FMX.Advertising.hpp&gt;
  #include &lt;FMX.Layouts.hpp&gt;
  #include &lt;FMX.ListBox.hpp&gt;
  #include &lt;FMX.Objects.hpp&gt;
  #include &lt;FMX.Memo.hpp&gt;
  //---------------------------------------------------------------------------
  class TfrmPrincipal : public TForm
  {
  __published:    // IDE-managed Components
      /* ...  */
  
      TBannerAd *ad1;
      TBannerAd *ad2;
  
      /* ...  */
  
      void __fastcall FormCreate(TObject *Sender);
      void __fastcall FormKeyUp(TObject *Sender, WORD &amp;Key, System::WideChar &amp;KeyChar,
            TShiftState Shift);
  
      /* ...  */
  
      void __fastcall FormShow(TObject *Sender);
  
      /* ...  */
  
  
  private:    // User declarations
  public:     // User declarations
      __fastcall TfrmPrincipal(TComponent* Owner);
      void adaptar();
      int Num(unsigned char caractere);
      void RedefInicio ();
  };
  //---------------------------------------------------------------------------
  extern PACKAGE TfrmPrincipal *frmPrincipal;
  //---------------------------------------------------------------------------
  #endif
  </code></pre>
  
  <p>Since now thanks A LOT.</p>