Skip to content

SQLiteCloud Integration with Static Dependencies (libCurl/OpenSSL) #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

IzharHaq86
Copy link

Description:
This pull request updates the existing desktop C++ application to utilize SQLiteCloud.io instead of the local SQLite database. The integration includes:

  1. Using libCurl to communicate securely with SQLiteCloud.io.
  2. Static linking of required dependencies: SQLiteCloud.lib, libCurl, and OpenSSL.
  3. Modification of initialization logic to create and handle the cloud-based SQLite database if not present remotely.

Implementation Details:

  1. Updated database creation logic from local SQLite to SQLiteCloud.io.
  2. Tested support on Windows 10, 11 (x64, Win32).

Connection details (provided by the client):

  1. Connection String: sqlitecloud://corzfeunhz.g6.sqlite.cloud:8860/data.sqlite?apikey=b0V2a3VH4RVQ6r2JVA4btFabXW9wyJ4VPACVkrOQZHE

Testing and Validation:

  1. Confirmed secure, encrypted connections (using libCurl + OpenSSL).
  2. Verified compatibility with Windows 10, Windows 11, x64, and Win32.

Related Issues:

  • Reference issue numbers (if any exist).

Additional Notes:

  1. Dependencies are linked statically as per project requirements.
  2. Addressed client's request regarding encryption and REST API usage.
  3. This PR is ready for review and merge.

Copy link

vercel bot commented Mar 14, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
js-sdk ⬜️ Ignored (Inspect) Mar 14, 2025 8:52pm
sdk ⬜️ Ignored (Inspect) Mar 14, 2025 8:52pm
test-js-sdk ⬜️ Ignored (Inspect) Mar 14, 2025 8:52pm

@marcobambini
Copy link
Member

marcobambini commented Mar 17, 2025

@ IzharHaq86 what is the reason why you first used to check for the macro __MINGW32__ and then _WIN32?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants