Developing Macintosh Client Applications

    To develop client-side applications for the Macintosh, you must have the following
    To connect to the Windows NT or Windows 95 server
    To write an RPC client
  1. If you use atexit to perform cleanup during shutdown, do not call any RPC APIs in your exit processing function.
  2. If a yielding function is not registered, an RPC will not yield on the Macintosh. Register a yielding function by calling RpcMacSetYieldInfo.
    void RPC_ENTRY MacCallbackFunc(short *pStatus)
    {
      MSG msg;
      while (*pStatus == 1)
      {
        if(PeekMessage(&msg,NULL,0,0,PM_REMOVE))
        {
        TranslateMessage(&msg);
        DispatchMessage(&msg);
        }
      }
    }
     
  3. Most client-side APIs that are supported by Windows 3.x are also supported by the Macintosh. The Macintosh does not support the following APIs:

The only authentication service currently supported for the Macintosh is RPC_C_AUTHN_WINNT.

The following protocol sequences are supported: