Re: CFAM Compile Error

[ Follow Ups ] [ Post Followup ] [ Forum ]

Posted by Barbara Brazil on July 01, 2020 at 14:00:55:

In Reply to: CFAM Compile Error posted by Robert G Laurin on July 01, 2020 at 12:10:35:

Hi, Robert. The CFAM error is due to the compiler asking CFAM to create the file with the invalid name. I'll see about giving a more informative message and preventing the compiler from even asking CFAM to do the create. That should eliminate the output file with the ".!" extension.

Some months ago I began noticing that the compiler output was not always appearing in the UE Output window. I did a ton of research on this. Now I have a couple of suggestions that may help.

First a little background. When you compile from UE it runs a program called Console.exe. This provides a communication mechanism between Comet runtime (which runs IB program CAPI) and the compiler. The messages coming back from the compile are then written to the Windows console. That's how they end up in the UE Output window.

Turns out Windows got a change somewhere along the way that affected console output. I read on a UE forum that a bug in this area was corrected in an update to UE. I upgraded to the latest version I am licensed for ( After installing it, the problem got worse. It never worked. At least before it was intermittent. All I get is the tool command line echoed to the output. Jim is running version 26 and he has the problem too.

Here are 2 ways to make sure you get your output. First, if you run CAPI in a Comet session before you compile it seems to always work. Unless you always leave a CAPI window minimized I find this to be inconvenient. I won't remember to start it up.

Here's another way I found on a UE user forum. If you turn on the "Show DOS Box" option for the compile tool it seems to work reliably. The only downside is you get a DOS window that pops up during the compile and then disappears. You'll find this option in UE under Advanced->Tool Configuration. Choose the Output tab for the Compile tool. Check "Show DOS Box". This is the method I use.

One last thing... You said you are running Windows 7. All the discussion I read about this was for Windows 10 so unless Windows 7 was still getting updates when the change was made I don't know that this will help you.

Follow Ups:

Post a Followup



What is the name of the main Signature System's Product?  


Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):

Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.

[ Follow Ups ] [ Post Followup ] [ Forum ]