![]() |
![]() HP OpenVMS Systemsask the wizard |
![]() |
The Question is: As a recent inductee into the world of openVMS and the dec version of C, I was given the task of writing smg$routines. I would like to know if there are any c examples of these routines? The most interesting would be for the smg$create_menu as I have largely figured out the others. Thank-you for you time and energy for the question. The Answer is : The OpenVMS Frequently Asked Questions (FAQ) points to the Digital Software Information Network (DSNlink), as the database contains hundreds of working examples of calling system services and RTL routines, including the one that seems to trip up almost everyone, SMG$CREATE_MENU. The Wizard recommends using DSNlink for access to programming examples. (DSNlink is accessable to sites that have software support contracts.) Additional resources for examples include the documentation set, the SYS$EXAMPLES: area, the Freeware CD-ROM, newsgroup archives such as those at INFO-VAX and http://www.dejanews.com/, and various other sites around the Internet. In particular, the archives at http://www.dejanews.com/ have a number of discussions of the smg$create_menu call. Arne Vajhoej posted an example ftp://ftp.hhs.dk/collection/smg_menu.zip, though the Wizard believes that website has been relocated recently. And an example S_MAIL.C was posted to the vmsnet.sources.d group, which includes a call to SMG$CREATE_MENU.
|