Re: Console app to write to MS Access database




I am fairly new to Delphi so could someone look at this code for me and tell
me if it is any good. It is a simple console app that writes to an Access
database.

It works but I am not sure if it is the right way to do it.
I don't write console apps and yours doesn't do much but it doesn't do anything
bad either

I had to add "ActiveX" to "Uses" to get CoInitialize/CoUninitialize to work
is that the right one?
Yes you need it for a console app. also for a dll, service and when you run in
a thread other than the main thread.

--
Brian Bushay (TeamB)
Bbushay@xxxxxxxxx
.



Relevant Pages

  • Re: Generate SQL scripts in Management Studio
    ... this console app: http://www.codeplex.com/scriptdb ... it will generate a separate file for each object, ... for each and every object in the database, ... possible in Enterprise Manager but not in Management Studio. ...
    (microsoft.public.sqlserver.tools)
  • Re: Exiting an app
    ... I was wondering why do you need to have Doc/View to accomplish this? ... Console app will do this. ... > I want to create an MFC app that will just update a database and then ... > should I call the exit and what should the call be? ...
    (microsoft.public.vc.mfc)
  • Re: Example needed...
    ... For a console app, take a look at ... To see how to do a database enabled app, ... escreveu na mensagem ...
    (borland.public.delphi.non-technical)
  • Re: deleting a record and doing changes in table
    ... database. ... I suggest you look at this method in Delphi Help ... Brian Bushay (TeamB) ...
    (borland.public.delphi.database.ado)
  • Re: Having Problem with Parameters in SQL
    ... even if the parameter is null it still should execute, ... What database are you using and have you consulted its ... > Brian Bushay (TeamB) ...
    (borland.public.delphi.database.ado)