Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1004643
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T08:09:56+00:00 2026-05-16T08:09:56+00:00

I am working on a GUI application that will be used to perform manual

  • 0

I am working on a GUI application that will be used to perform “manual assessment” of large datasets produced by an AI algorithm. The nature of the assessment isn’t important to this question; only the fact that the program will need to periodically check for new data from a server, download it, and then upload the results that the user produces. Each dataset is just a binary blob, as far as this question is concerned.

The machine that will host the data is currently set up with Microsoft SQL Server. For administrative reasons, I’ll probably have to use SQL Server (rather than the web server that’s running on the same machine) to store the data. I know SQL, and I doubt I’ll have trouble learning Microsoft’s version of it.


Here’s the hard part: The program needs to run on Mac OS X and Windows. I don’t have much experience with Windows development, and do most of my coding on a Mac using XCode — with a cross-compiler and a Windows VM to compile/test the Windows version. (However, I’ve already got the GUI working on Windows so that isn’t the issue here. The code is in Objective-C but I’m happy to use pure C, or even C++, to access the database.)

The program just needs to connect to the SQL Server and perform simple queries. I’d really like a library that I can just link into my application so that it can do its thing — sort of I can with SQLite, but I’d obviously be passing a connection string rather than a database filename. I’d prefer for the end-user not to have to install anything extra on their machine. Here’s what I’ve found so far:

  • Microsoft Data Access Components‘ ODBC interface — Windows only, and the latest version was released in 2005 which makes me wonder whether or not it supports to latest version of SQL Server.
  • iODBC — runs on practically everything except Windows.
  • FreeTDS — accesses SQL Server through the native protocol rather than through ODBC. Claims to run on “Linux/UNIX”, but I was able to compile it on OSX without any problems.

The last two are open-source. A quick look at the code shows that FreeTDS uses BSD sockets for connecting to the server (I haven’t figured out yet what IODBC uses, but probably the same), and I can’t see why any other part of the code would be non-portable. If necessary, I would be prepared to try porting the FreeTDS socket code to Winsock, if I could be fairly sure that I wouldn’t run into any further obstacles.


My question is:

Can I get one of these libraries (or anything else, for that matter) to link against both the Mac and Windows versions of my application?

If not, what’s the best combination of libraries to use to ensure minimum hassle? In either case, are there any gotchas I need to know about when distributing the Windows version, such as DLLs that will need to be installed on users’ machines?


Update:

On @TomTom’s recommendation, I’m going to try FreeTDS. Despite what I initially thought, it does compile on Windows, and it seems that using a native implementation of TDS is considered better than ODBC, which is apparently 10 years out of date.

  • 1 1 Answer
  • 3 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T08:09:56+00:00Added an answer on May 16, 2026 at 8:09 am

    Well, ODBC in general is outdated / semi-retired (for about 10 years, in case you wonder) and replaced b a faster / more easy to handle technology clled OleDb.

    That said, forget it – go for a TDS implementation and be happy with it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on an application that will read in file paths and play audio
I'm writing a GUI application that will have a user log in feature. Each
I'm currently working on an application that uses a Windows Form GUI. The main
There is a team working on acceptance testing X11 GUI application in our company,
I am working on an application/GUI created with Win32/ATL . So there is UI
I am working on a small basic GUI program that gets the files from
I'm used to working in Matlab using its full GUI environment. Due to license
I want to use Qt to create a simple GUI application that can play
im working on a .NET application that would allow me (and subsequent users) to
I would like to rewrite an application that currently works as a Windows GUI

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.