Hello everyone!
I would like to start by saying thanks to everyone who takes some time to view this thread and try to help.
I have written an application in C++ that uses WIN32 API and ADO to query a database and display results in a listview.
Everything works fine, when I test it on Windows XP, but my application starts to "hang" when I test it on Windows 7. I have to "kill" it, or else it seems it would be stuck forever.
I suspect that DEP or some UAC setting is the culprit here, but I can't figure out what to do.
When I try to set DEP to allow my program to run, it reports that it can't be done.
A small note that might help:
I have copied the code for querying the database from my earlier project, which also had to query the database, and was written in C++ using WIN32 API and ADO.
That project works well on both Windows XP and Windows 7.
I work in MS Visual Studio Express 2008, on Windows XP, in C++, using WIN32 API.
If any other information is required ( source code or something similar ), please ask for it, I will more than gladly supply it.