How do I achieve dynamic linking with sqlite and firedac? - sqlite

For dynamic linking, the documentation Connect_to_SQLite_database_(FireDAC) says that one should edit the firedac.inc file located at C:\Program Files (x86)\Embarcadero\Studio\19.0\source\data\firedac.
I can only find firedac.inc in C:\Users\Public\Documents\Embarcadero\Studio\19.0\Samples\Object Pascal\Database\FireDAC\Samples.
If I copy it to C:\Program Files (x86)\Embarcadero\Studio\19.0\source\data\firedac, and enable dynamic linking (i.e. remove dot as indicated $UNDEF FireDAC_SQLITE_STATIC) that does not seem to result in dynamic linking (I have a custom sqlite3.dll in same folder as exe).
How do I achieve dynamic linking with sqlite and firedac?
I am using Tokyo, although the same incorrect documentation exists for Rio.

I contacted Embarcadero Support and they confirmed this is a problem with the Professional edition, where certain source code files are missing.
The representative filed this issue with reference RS-95075. If you need the source code files you could contact Embarcadero Support.

Related

OpenRefine SQLite addon

I just started to use OpenRefine and I wonder if there is any SQLite addon I could use.
I found a bunch of addons on main download site but SQLite is not between them.
On the other hand there is a pull on github, that claims OpenRefine to support also SQLite. I tried to load data both from "This Computer" and "Database" option and I was not able to load SQLite in neither way.
And finally I found that there is a SQLite directory with JAVA files in the github extensions folder, that might be that above mentioned support. Is this meant to be installed the easy way (just create sqlite directory inside extensions and put all the *.java files there) or do I need some other trick to achieve support on SQLite within OpenRefine?
For future reference: The SQLite importer has been added to OpenRefine in version 3.4 (https://github.com/OpenRefine/OpenRefine/wiki/Changes-for-3.4) (as Ettore Rizza already mentioned)

Alfresco pickerchildren.get.js is missing in codes

I'm having a problem in locating webscript in Alfresco 4.2c. I need to extend its functionality. I found and edited pickerresults.ftl but to see the changes I need to locate it in src files in the repository. I found it extracted in tomcat directory but I cannot locate where it came from.
I found out that in community edition it should be in the alfresco remote api but cannot see it there.
The older version's src code was maintained in SVN. use share extensions to override the script. below link gives the src location:
https://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/projects/remote-api/config/alfresco/templates/webscripts/org/alfresco/repository/forms/

How to use a license with JWrapper

So I have been working with the free version of JWrapper for some time now and have been quite pleased with the results; however, I have now purchased a license and would like to use it but I am unable to find the method with which to activate my JWrapper. I do not use the graphical interface version of JWrapper; rather I have created a xml installation file and pass that directly via commandline to JWrapper for building. Is there a special xml tag for specifying the license location? I was unable to find this information on JWrapper's homepage or support docs.
I received an answer from the support team. In order to use the license without using the JWrapperApp gui to build your application you will simply have to have the jwlicense.txt file in the same directory as your jwrapper.jar
After some tests it appears that the jwlicence.txt file must be in the current directory. So the best is to have all the files (jwrapper jar, jwrapper.xml and jwlicence.txt) in the same folder and run the compiler from that folder.

SQLite - System.Data.SQLite.2012 empty

I've downloaded sqlite-netFx-source-1.0.94.1.zip from SQLite website.
However, when I opened the SQLite.NET.2012.sln and noticed that the project System.Data.SQLite.2012 was empty, none of the source files (eg. SQLiteConnection.cs) was included in the project. (These files did exist in the file system but they are not included in any project of the solution.) The project can be built successfully and the System.Data.SQLite.dll could be generated. Not sure where did its content come from.
I was totally confused that how this could happen? Can any body help me? I want to modify the SQLiteConnection class and recompile the System.Data.SQLite.dll. Thanks.
There must be something missing from SQLite source code for the Visual Studio 2012 to parse the csproject file correctly.
After manually change the csproject file's xml content. I've successfully included the files into the project and built successfully. The DLL generated can be used then.

Delphi for .NET does not find shared files in the .NET library search directories ("[DCC Error] F1026 File not found)

I have been trying to track down a problem with an installation of RAD Studio 2007 for some time. When compiling an ASP.NET application build with the .NET personability, I get an "[DCC Error] F1026 File not found error, where it reports that it cannot find a particular .dcuil file.
The file that is referenced in this error message is located in a directory that appears in the .NET library search path. The only work around I found was to add the associated .pas file directly to the project.
I finally found a correct solution to this problem. Please see my answer below.
The solution for this problem can be found in the Quality Central posting 61394, which was originally submitted by Jordan Russell.
There is a bug in Delphi 2007 that prevents directories added to the .Net Library search path from being written to the EnvOptions.proj file. This does not appear to be a problem with the Win32 library search paths.
To solve the problem, manually edit the EnvOptions.proj file. On a typical Windows Vista install, this file is located in the C:\Users\username\AppData\Roaming\Borland\BDS\5.0 directory, where username is the name of the user who installed RAD Studio 2007.
Begin by closing RAD Studio 2007. Then, open EnvOptions.proj in an editor (notepad.exe will do). Add the one or more directories that you want searched to the DotNetLibraryPath element. Directories appearing in this element must be separated with semicolons.

Resources