OK, I am considering building a DLL in XE5 to be called from D2007, to solve a problem. It would involve using a non-visual component not available in D2007. Apart from the obvious Unicode issues, I also need access to data, as determined by the calling program. I am thinking that the safest solution may be to give the DLL its own connection, and pass in the query. Any thoughts?

Comments

  1. I would keep it simple. Just have its own connection and query. Pass the parameters to a config/ini file . Have DLL read it when loading. Close connection when DLL is all done.

    ReplyDelete
  2. Arun Singh that's just making it complicated. Race conditions. File existence and clean up. Brrrrr.

    ReplyDelete

Post a Comment