From: Giuseppe M. <giu...@ma...> - 2011-09-19 14:08:04
|
Hi, I am writing a little utility to dump the contents of some tables of a database. I started to write a console application, the target is to have a single exe file. So far, I was unable to succeed. The two methods I have tried: 1) using TODBCConnection Works but only if I have a predefined DSN in the OBC control panel 2) using TMSSQLConnection Works but requires an additional DLL. Any ideas? How to either create a DSN-less on the fly connection (AFAIK it was possible in Delphi) or how to embed a dll into an exe? TIA. Giuseppe Marullo |