1

I have two desktop applications in Windows, which are written in two different languages: One in VC++ and the other one in C#. We need to make our database common between the two application. How can we make a common folder to consume the same database?

How do we share the path of the database between these two application?

1

1 Answer 1

3

SQLite itself has no access restrictions, and handles locking from multiple processes just fine.

You only have to ensure that both applications have access to the same folder. The easiest way to do this would be to create a directory in the user's application data folder (e.g., %APPDATA%\MyLittleCompany\SharedDB\data.sqlite).

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks it helped. :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.