Both of the things taken two days ago ~
Friends of a good friend in the district, please write a program (, is a module connected to the big program connecting SQL Server. College students help each other, is very reasonable, and very logical). To be honest, there is always a thing of the district, but some people must help, the above is a certain type of help.
According to the plan, this module will be called by the program written by another VC, so it is written with vc. Of course, for people who are hobby Delphi, naturally know more convenient to write SQLServer connectors with Delphi. And, the source program of another module in the hands of the zone - is a wind with Delphi to help me write. The wind is one of the most cattle masters in the Delphi version of the district. Seeing that he also implements Delphi, it will not think about the reason for D.
At that vague requirements, the district spent a night to verify the possibility of completing the module in a short time in a short time. Because of the two days, I have to participate in the excellent defense. After adding the paper, there will be many difficult entertainment, I feel that I don't have too much time, I have to count a time account in my mind. Start VC, view many entries related to Database in the MSDN Help, and then look for Article associated with OLE DB. ---- Conclusion, use VC too much trouble, to check many documents that are not commonly used (ATL, OLE DB, ACTIVEX), and time is not feasible.
After remembering the idea, open Delphi, spend an hour to complete the basic functional design of the module, then write a simplest DLL interface with an hour, and write the sample code of the calling module with the VC. It seems to have completed the task in a wind ~ there are many time, the district is the code in learning style. He is worth working, and there are many useful practical experience in the Delphi code worth learning.
By yesterday afternoon, write a good development document, and debug the procedure, the district is completed as a task ~
recall,
It took 5 or 6 hours on the VC document, the harvest is extremely small, and it feels that even the VC master, there must be almost impossible database development speed. VC is a good thing (MFC, ATL, COM, ODBC) is very important design ideas. But for a person who wants to do a compiler, is these very useful? Thinking that I have to use VC as a single work idea, I am uncomfortable.
Delphi finally completed the design, but also for a person who wants to do a compiler, use this RAD better, no substantive role ~ I am afraid that I am lazy, I am afraid that I have become a tool. Just like temporarily studying the metamorphosis of Word and Visio when writing graduation design ~
When encountering technical problems, there is too much in the brain in the district. A simple question, should not have so many confusion. Professional technology, do not want to silly problems - still is still difficult to achieve.
P.s good friends are the eve, she doesn't know that the district is stopped by these bored technical issues, so the behavior is abnormal.