Taj Morton wrote:
It is better to include unit initc though, then including {$linklib c}

Thanks! Got it working!


Find a patch below the example in /usr/src/fpc-1.0.10/packages/base/sqlite/test.pas

--- test.pas    2004-03-03 15:41:32.000000000 -0800
+++ test-new.pas        2004-03-03 15:42:32.000000000 -0800
@@ -1,6 +1,7 @@
 program test;
-uses sqlite,sqlitedb, strings,classes;
+uses sqlite,sqlitedb, strings,classes,initc;

+{$linklib c}

 var
   MySQL: TSQLite;

now, if i'm reading this right (and its pretty good chance that i'm not ... heh) all i need to do is follow the same guidelines as the uses statement above along with the var declaration for MySQL?


then i'm hoping the syntax used w/ the mysql unit will be the same or very similar?


_______________________________________________ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to