Title: | Alpha Developer Support |
Notice: | [email protected], 800-332-4786 |
Moderator: | HYDRA::SYSTEM |
Created: | Mon Jun 06 1994 |
Last Modified: | Fri Jun 06 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 3722 |
Total number of notes: | 11359 |
Company Name : DEC Switzerland - Point 29436 Contact Name : Pierre Dysli Phone : DTN 888-5034 Fax : Email : [email protected] Date/Time in : 5-JUN-1997 16:45:44 Entered by : Richard Readings SPE center : REO Category : UNIX OS Version : System H/W : Brief Description of Problem: ----------------------------- This business partner is porting a 2D-CAD application from SGI, HP to Digital UNIX and has some basic questions . Programming language is C or C++. 1) How can I read (through software !) the machine serial number ? 2) How can I read (through software !) the Ethernet Hardware address ? 3) How can I read keyboard type (eg US, French, Swiss French ,...) ? 4) Porting a 32-bit application, I would like to work with 32-bit pointers, is this possible on a 64-bit machine ? 5) Is there full compatibility between a 32-bit program and system libraries (e.g. X11 library) ? 6) In a 32-bit compiled program, are there problems between main() and his arguments ?
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
3715.1 | Response to customer | RDGENG::READINGS_R | Richard Readings | Thu Jun 05 1997 14:35 | 31 |
> 1) How can I read (through software !) the machine serial number ? Not possible. > 2) How can I read (through software !) the Ethernet Hardware address? http://www.partner.digital.com/www-swdev/pages/Home/TECH/faqs/dunix/ethernU.html > 3) How can I read keyboard type (eg US, French, Swiss French ,...) ? With CDE the keyboard type is defined at the session manager level and saved as a resource in $HOME/DXkeyboard. Under xdm you could check the link /usr/var/X11/xdm/keymap_default. > 4) Porting a 32-bit application, I would like to work with 32-bit > pointers, is this possible on a 64-bit machine ? > 5) Is there full compatibility between a 32-bit program and system > libraries (e.g. X11 library) ? > 6) In a 32-bit compiled program, are there problems between main() and > his arguments ? Appendix A of the Digital UNIX Programmer's Guide should answer the above questions. Richard -- Richard Readings email: [email protected] Digital Equipment Co Ltd. tel: +44 (0)118 920 4101 Reading RG2 0TE fax: +44 (0)118 920 4146 ENGLAND |