Search found 6 matches

by menschmarkus_
Mon Aug 07, 2023 11:28 am
Forum: Coding Questions
Topic: [solved] sqlcipher.dll problem
Replies: 23
Views: 3101

Re: [solved] sqlcipher.dll problem

I had encountered the same kind of problem a while ago, and solved it by adding:
SetCurrentDirectory(GetPathPart(ProgramFilename()))
But now, even without it, I can't reproduce! but maybe give it a try.
I tried it out but was not working on my third party PCs

um, no, it doesn't work, libcrypto ...
by menschmarkus_
Mon Aug 07, 2023 7:44 am
Forum: Coding Questions
Topic: [solved] sqlcipher.dll problem
Replies: 23
Views: 3101

Re: [solved] sqlcipher.dll problem

just to complete information
I develop under Win 11 in this project with 5.73LTS but tried with 6.02LTS as well. No problems on this machine
Third party System for crosscheck was Win10 and Win11 OS. WIN10 was an existing productive system and Win11 was brand new system without any software already ...
by menschmarkus_
Mon Aug 07, 2023 7:26 am
Forum: Coding Questions
Topic: [solved] sqlcipher.dll problem
Replies: 23
Views: 3101

Re: sqlcipher.dll problem

A dll is always first tried to load from the same directory ...
I don't want to spread negative vibes here but obviously loading the library in the program directory doesn't work quite correctly. How else would the error message be explained. One way that works is the one I described above ...
by menschmarkus_
Sun Aug 06, 2023 6:53 pm
Forum: Coding Questions
Topic: [solved] sqlcipher.dll problem
Replies: 23
Views: 3101

Re: sqlcipher.dll problem

ok thanks for modified code. Regarding FinishDatabaseQuery() after UpdateDatabase() I wasn't sure so for secure reasons I did it. It had no negative influences. Good to know that this is not necessary

Adding lipcrypto-1_1.dll to program directory I already tried without success.
However in the ...
by menschmarkus_
Sun Aug 06, 2023 1:34 pm
Forum: Coding Questions
Topic: [solved] sqlcipher.dll problem
Replies: 23
Views: 3101

Re: sqlcipher.dll problem

sry was reading previous posts and stuck at Tricks 'n' Tips. Forgot to change to Coding Questions.
Admin should move it.

Btw. use depends or something similar to check if your sqlcipher.dll needs an additional crypt dll.
I used SQLiteBrowser and copied all DLL of this Browser to programs ...
by menschmarkus_
Sun Aug 06, 2023 9:10 am
Forum: Coding Questions
Topic: [solved] sqlcipher.dll problem
Replies: 23
Views: 3101

[solved] sqlcipher.dll problem

in addition to following discussions
https://www.purebasic.fr/english/viewtopic.php?t=73046&hilit=sqlcipher
https://www.purebasic.fr/german/viewtopic.php?t=33021 German Forum

I ask the same question here in english forum as well

I use SQLite Database for a long time. Everything is working fine ...