From: Mark M. <mie...@gm...> - 2012-09-14 18:27:25
|
On Fri, Sep 14, 2012 at 11:09 AM, Staffan Tylen <sta...@gm...> wrote: > Mark, thanks for your quick feedback. The main reason for not using the > binaries at this stage is that I'm in a research phase to see what options I > have available for database encryption. I'm not aware of a binary solution > that supports encrypted SQLite under ooRexx. So I'm looking at the > feasibility of putting something together using for example source code for > ooSQLite and SQLCipher. If there in fact is a binary solution I would > clearly look at that first. Well, that's a good reason, if you want to do something outside of the normal SQLite compile. You will have to figure out how to compile an ooRexx native extension in C++ with MingGW if you want to go that route. 1.) You will certainly need to figure out how to get the package loading stub, RexxGetPackage, exported properly in the DLL. 2.) The ooSQLite source code is using the C++ native API, so you will certainly need to figure out how to compile the native API in C++. 3.) As Bruce pointed out, you will need to compile ooSQLite to match the bitness of your installed ooRexx. But that should not be a problem. I can't help you with MingGW, I've never used it. #1 is probably the first thing you need to do. -- Mark Miesfeld |