title: Use SqlCipher on Visual Studio
body: <p>I´ve already compiled SQLCipher for windows and encrypt/decrypt a database file using SQLCipher at command line.<br><br> The problem is at the last part of <a href="http://www.jerryrw.com/howtocompile.php" rel="nofollow">this tutorial</a> when I use SQLCipher in Visual Studio.<br><br>
  It looks like the application skips this code line, because it is not encrypting neither decrypting, i'm not getting any error.</p>
  
  <pre><code>if (sqlite3_exec(db, (const char*)"PRAGMA key ='password'", NULL, NULL, NULL) == SQLITE_OK){
              printf("Accepted Key\n");
          };
  </code></pre>
  
  <p>Can anyone tell me what's wrong? or provide some sample C code?
  Thanks in advance.</p>