Generate C component files

To write a C component, you need these C component files. You compile these C component files (or C source files) into a DLL.

How method calls are made

The graphic below illustrates how EAServer calls the DLL’s functions in response to a component methdod invocation:

Figure C-2: How a C component method is called

The sequence of events is:

  1. The client invokes a method using the proxy or stub appropriate to the type of client. The stub or proxy sends the invocation information over the network to the server.

  2. The method skeleton in the method skeletons file unmarshals the call and makes another call to the method implementation in the method implementation template file.

  3. After the method executes, the method implementation returns the call to the method skeleton.

  4. The method skeleton marshals the call and sends the call to the client.