Home > Back-end > Delphi database application development, how to use the DLL model to an exe DLL datamoudl operation
Delphi database application development, how to use the DLL model to an exe DLL datamoudl operation
Time:09-27
Delphi model of traditional development mode to modify the program need to recompile the entire project, with only need to modify the relevant DLL DLL mode, the most is the traditional model of development of online information, rarely DLL mode of development of resources,
Using DLL mode according to the following design scheme of a simple display content database 1, the Data put ADOConnection Module, ADOQuery 2, the main form MainForm DBGrid, DataSource display data 3, write a function to achieve database connection in the DLL and to get the data,
How do you achieve? This information seems to be really very few, just according to my plan above who can give me an example to learn?
Someone suggested to use mybean, tangram framework to implement, and suggest using three layer, the connection pool, thread, tangram see the help documentation or don't know what to do, mybean feel for the novice to learn information remains to be perfect, as for the three-tier architecture, stand-alone version of the application of three layer will also have to build a server? These technologies: of course, I also want to learn, but my level is too low, the technology for me some deep, a lot of information on the net is too old, can you introduce some useful information or books to learn?
CodePudding user response:
You say it appeared to be two plug-in framework, has a complete example and document, if you want others to live to you write, probably is not as good as they are complete, if you want to write you a good tutorial, others completely hands-on that estimate is unlikely, the so-called lead, others will only give you a direction, will not take you to walk