<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=us-ascii">

  <title>RCST7 - C126</title>
  <link rel="stylesheet" type="text/css" href="errors.css">
</head>

<body>
  <h1><a name="RCST7-C126" id="RCST7-C126"></a>RCST7 ERROR C126</h1>
  <!-- Note that the header should be non scrollable, so that it always
     remains on top even if the user scrolls down a loooong text. -->
  <!-- This is the Error title -->

  <h2>Misplaced primary control, line ignored</h2>

  <p>Some directives can only be specified as the first line of the source
  file (before any code), otherwise they cannot be processed. When one such
  directive is specified in the wrong position you get error C126</p>

  <h2>Example</h2>
  <pre>
#pragma PIN("c:\babao")
#include "../includefiles/testframe.h"
#pragma PIN("c:\abcd")  // This line produces error C126
</pre>

  <h2>Resolution</h2>

  <p>Move the pragma at the beginning of the file, before any statement</p>
  <!--Footer Start-->

  <div class="footer">
    <hr>
    <!--Copyright-->

    <p>&copy; Raisonance S.A.S. 1987-2007. All rights reserved.</p>
  </div><!--Closes the footer div-->
  <!--FOOTER_END-->
</body>
</html>
