I am trying to create a DLL to access a database (either MS SQL or MS Access) and found that Lazarus seems to be a better option than C right now. However, I am pretty new to Lazarus. I am looking for some help to get a code snippet for connecting to either MS SQL DB or Access DB and run a stored procedure. I tried searching the net but all the examples I found were from the front end which requires dropping an object on the form to access the database, which is not possible as I am trying to write a library.
Any help/pointers are very much appreciated.
Thanks!
Any help/pointers are very much appreciated.
Thanks!
Metatrader EA and Indicator Coder.