Applies To: |
|
Summary: |
Question: I would like to automate the compilation procedure so that when the compilation is completed I can automatically install and startup the system. It is possible to do this? |
Solution: |
When the Citect compiler finishes its
compilation it will broadcast a windows message to all windows
applications that the compilation has been completed. This is how
CtEdit detects when the compilation has completed and changes the
status of your database from UNCOMPILED to COMPILED. You may also
detect this message for you own use.
To detect the compilation completion messages you need to use the Windows SDK function RegisterWindowMessage() to register the messages "WM_COMPILED" and "WM_UNCOMPILED". Then just wait until you see these messages. You will need to be and experienced Windows programmer and use a C, C++ or other compiler with the Windows SDK to do this operation. UINT hMsg; This can also be done under the Microsoft .NET Framework. The
following example is in C#. |
Keywords: |
Related Links
Attachments