Introduction
Dear guys,
This class is a managed C++ class code, to help Managed C++ developpers loading all user and system DNS, and ODBC drivers.
I am doing a big Cataloging Project which loads and stores pictures inside SQL plus Editing them, I will upload that project later.
I have used Fact Pandit code and convert it from C# to C++. Thanks Fact Pandit.
Three classes Exist in this project allowing you to get the DSN or Drivers. I have stored all the code in Header files, you can simply divide them into .h and .cpp files.
1- ODBCDriver class: the name is significant, this class gets all the existing ODBC drivers.
2- ODBCDSN class: gets the existing system or user DSNs
3- ODBCMngr class: Class to Manage the first two classes, all your code should call the public functions there.
The code is self explanatory and readable, i have commented some of it, sorry if it was not fully but i am inside a big project all in Managed C++ and i loved to share this part with you as soon as i will share the drawings and database part soon.
With this code, you will learn a lot about Managed C++ Arrays and how work with them,you will get used to the registry classes also.
Enjoy!
rabih_kai
Web Developer
Canada
Member
|
I've been programming since year 1999, graduated from Univeristy Paris 2 France, major strengths include C# 2,3.5,4, ASP.NET MVC, AJAX,jQuery,javascript, LINQ, SQL Server 2008 R2, ADO.NET, WCF RIA Services. Sharepoint, Visual Studio 2005,2008 and 2010, Expression Blend 4 + Sketchflow, Telerik RadControl, Infragistics NetAdvantages for .Net and over six years of C++, Crystal Reports and SQL Server development experience. Through knowledge of object-oriented design, database design, MFC, ISAPI, TCP/IP networking and sockets' programming using the Microsoft Winsock API
|