that doesn't seem to be it - I have the same problem with this code.

#include <stdio.h>
#include <stdarg.h>     

#define _SQLITE3_H_  extern "C" 

#define PLUGINAPI2 extern "C" 

PLUGINAPI2 typedef struct sqlite3 sqlite3;

PLUGINAPI2 int sqlite3_open(
  const char *filename, 
  sqlite3 **ppDb          
);

PLUGINAPI2 int main (){
  sqlite3 *db;
  int rc;
  
  //**THIS LINE RUNS FINE IN CONSOLE MODE BUT
  //WHEN IT IS UNCOMMENTED AB NO LONGER FINDS THE .DLL
  rc = sqlite3_open("C:\\test2.db", &db);  
}

Reply via email to