Skip to main content
March 10, 2011
Question

Don't Understand FrameMaker Development Kit (FDK) Codes

  • March 10, 2011
  • 1 reply
  • 483 views

Hi everyone,

I compiled these FDK codes in Visual C++ and they run without error. Problem is, I don't understand why there isn't a "{" after the VoidT F_ApiInitialize(init). These codes don't seem to have C++ syntax and yet can compile without error. Can anyone please enlighten me? Thanks!

#include fapi.h

VoidT F_ApiInitialize(init)

IntT init;

{

F_ApiAlert(“Hello World”, FF_ALERT_CONTINUE_NOTE);

}

    This topic has been closed for replies.

    1 reply

    Legend
    March 10, 2011

    Hi,

    I don't have the answer but I did want to offer some moral support. I have long wondered the same thing. I can say that it is used for this and other standard callback functions and it "just works."  I've never replicated the syntax in any of my functions.  I think we need a C expert to explain this to us.

    Russ

    March 11, 2011

    Thanks, Russ, for the moral support. Let's hope someone reply with a solution here.