... and while I'm at it, has anyone noticed any change in the behavior of IsConsole?  I'm seeing it not work right when I'm running in the IDE.  Trying to write a test case, but I thought I'd ask.

Comments

  1. I'm seeing strange behavior in some of our DUnit apps -- it appears to ignore the 

    {$APPTYPE CONSOLE}

    directive.

    ReplyDelete
  2. It appears that the 

    {$APPTYPE CONSOLE} 

    only works in the DPR file.  Is that now the case?  It hasn't been in the past.

    ReplyDelete
  3. Or actually, I now have an app that ignores the APPTYPE directive when I run it in the IDE.

    And get this, it is related to my previous question -- if I do a build, and then run the app from Explorer, then it is a console app.  But if I press the run without debugging, it compiles, and ignores the compiler directive.

    I think this is a bad bug.

    ReplyDelete
  4. I don't think I ever tried that anywhere else than in the .dpr, to be honest?

    ReplyDelete
  5. IIRC the IDE has a tendency to ignore that directive over the dproj setting...

    ReplyDelete

Post a Comment