Registering the External Database
The function described in this section allows you to register the Creo TOOLKIT application to search the external tool database.
Function Introduced:
• ProMfgdbRegister()
The function ProMfgdbRegister() registers an external database with Creo+. You should supply the ProMfgdbData handle you created for your external database(s).
The function also requires that you supply three callbacks:
• A ProMfgdbLoginAction, which is called by Creo+ when the user attempts to initiate access to the external database.
• A ProMfgdbLogoffAction, which is called when the user is ready to close the connection to the external database.
• A ProMfgdbSearchAction, which provides the custom implementation for the search, and provides the results back to Creo+.
Finally, the function requires that you supply the object category. Although there are several categories listed for this function, currently the function supports only the following category:
• PROMFGDBCAT_CUTTING_TOOL
◦ When one or more external databases have been registered with Creo+, a search icon is displayed in the Tool Setup dialog box in Creo+ as shown in the following figure. Click the search icon to invoke the Cutting Tool Search dialog box.