Advertisement
atm-irbis

dfl

Jan 23rd, 2015
555
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.56 KB | None | 0 0
  1. /* sc.ini */
  2. "-I%@P%\..\import\"
  3.  
  4. /* dfl exe */
  5. dmd -de -w -property -release -O -m32 -X -IC:\D\dmd2\windows\import dfl.lib ole32.lib oleAut32.lib gdi32.lib Comctl32.lib Comdlg32.lib advapi32.lib uuid.lib ws2_32.lib -L/SUBSYSTEM:WINDOWS app.d
  6.  
  7. /* dfl main */
  8. int main()
  9. {
  10.     int result = 0;
  11.  
  12.     try
  13.     {
  14.         // Application initialization code here.
  15.  
  16.         Application.enableVisualStyles();
  17.         Application.run(new ComboForm);
  18.     }
  19.     catch(DflThrowable o)
  20.     {
  21.         msgBox(o.toString(), "Fatal Error", MsgBoxButtons.OK, MsgBoxIcon.ERROR);
  22.  
  23.         result = 1;
  24.     }
  25.  
  26.     return result;
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement