FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Compiling DDBI

 
Post new topic   Reply to topic     Forum Index -> DDBI
View previous topic :: View next topic  
Author Message
negerns



Joined: 08 Jul 2006
Posts: 13

PostPosted: Fri Jul 28, 2006 10:10 am    Post subject: Compiling DDBI Reply with quote

How do I use WindowsAPI with DDBI. Are there any configurations I need to be doing?
Back to top
View user's profile Send private message
jpelcis



Joined: 09 Mar 2006
Posts: 40

PostPosted: Fri Jul 28, 2006 11:11 am    Post subject: Reply with quote

To install WindowsAPI and use ODBC, there are two things you need to do.

    Follow the directions at the ODBC Subproject website to get an odbc32.lib for ODBC version 3.51.

    Put the WindowsAPI files somewhere on the import path. There are 3 ways to do this.
      Put the win32 folder in your project directory.

      Put the win32 folder in your dmd\src\phobos directory.

      Put the win32 folder anywhere and reference it in dmd\bin\sc.ini or with a compiler switch.

That should get it working.
Back to top
View user's profile Send private message
negerns



Joined: 08 Jul 2006
Posts: 13

PostPosted: Fri Jul 28, 2006 12:11 pm    Post subject: Reply with quote

What do I need to do for deployment? Do I need to install MDAC 2.8 on the client machine?
Back to top
View user's profile Send private message
jpelcis



Joined: 09 Mar 2006
Posts: 40

PostPosted: Fri Jul 28, 2006 12:49 pm    Post subject: Reply with quote

The client machine would need the ODBC driver for the database you are using and possibly MDAC.

Windows XP SP2, Windows 2003, and Windows Vista all are supposed to have the most recent version of MDAC installed. ODBC 3.51 (the most recent version) appears to have been supported since MDAC 2.5.

Since MDAC 2.5 was released in 2000 and is installed with Windows 2000, Windows 2000 and later shouldn't need to have MDAC installed, but previous versions of Windows likely will need it.

I hope that helps.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> DDBI All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group