The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Email Subscription

    Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 717 other subscribers

Delphi “F2039 Could not create output file” on drc files

Posted by jpluimers on 2017/01/19

I had this error when building my Delphi app and needing detailed MAP files.

Somehow, then Delphi also tries to generate .drc files and fails.

Performing the “F2039 Could not create output file” drc – Google Search didn’t reveal much.

So I fired up Process Monitor and looked for file access patterns (see dump below), that all were OK.

Then I opened Windows Explorer and saw freshly generated .DRC files marked as some type of VLC Player file. I’ve had loads of trouble with VLC in the past, but I inherited this PC so I didn’t notice VLC Player was installed by the previous developer.

Lesson learned: when starting a gig, always request a fresh PC

So I uninstalled VLC Player and now everything works fine.

Oh btw: .DRC files are Delphi Resource String files.

–jeroen

https://gist.github.com/anonymous/993a166d0a598cc0c968

4 Responses to “Delphi “F2039 Could not create output file” on drc files”

  1. Yogi Yang's avatar

    Yogi Yang said

    This is one of the reason why I always use portable editions of all software like VLC, OpenOffice, etc.

  2. Greg's avatar

    Greg said

    happens to me a lot, file is normally flagged as read only.

  3. Bruce McGee's avatar

    Bruce McGee said

    “Lesson learned: when starting a gig, always request a fresh PC”

    Or create a new development virtual machine.

    • jpluimers's avatar

      jpluimers said

      This was at a client site with a preloaded corporate image bound to a Windows domain having way too much stuff on it. Given the field of work I was lucky to be local administrator at all.

Leave a Comment