- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- ALPHA$LIBRARY:SYS$LIB_C.TLB and exe_std$probew_dsc...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2006 03:20 AM
02-02-2006 03:20 AM
ALPHA$LIBRARY:SYS$LIB_C.TLB and exe_std$probew_dsc function
This function is taking only one parameter in our ALPHA$LIBRARY:SYS$LIB_C.TLB but in the source code it is accepting three parameters i.e,
status = exe_std$probew_dsc ((void *) p2, &bufsiz, &bufadr).
The source code comes from a different vendor and now nobody is there to support, so I have only you guys to ask :)
I am working on OpenVMS V6.2-1H3 and C Compiler is DECC V6.0-001.
One more thing regarding SYS$LIB_C.TBL, is this library comes with the DECC or comes with the OpenVMS operating system?
The error I am getting is as follows: status = exe_std$probew_dsc ((void *) p2, &bufsiz, &bufadr);
.........................^
%CC-E-TOOMANYARGS, In this statement, "EXE_STD$PROBEW_DSC" expects 1 arguments, but 3 are supplied.
%MMS-F-ABORT, CLI returned abort status: %X10B91262.
Urgent help will be greatly appriciated!
Good day!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2006 03:40 AM
02-02-2006 03:40 AM
Re: ALPHA$LIBRARY:SYS$LIB_C.TLB and exe_std$probew_dsc function
exe_std$probew_dsc only needs one parameter.
The declaration is wrong. I note a comment in the source code from 25-jul-1997 about fixing the declaration.
sys$lib_c.tlb is a standard file.
I note that this routine is not documented in the device support manual.
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2006 03:50 AM
02-02-2006 03:50 AM
Re: ALPHA$LIBRARY:SYS$LIB_C.TLB and exe_std$probew_dsc function
As this routine is not documented they can change its calling interface.
So for V6.2 the declaration should contain three parameters.
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2006 04:11 AM
02-02-2006 04:11 AM
Re: ALPHA$LIBRARY:SYS$LIB_C.TLB and exe_std$probew_dsc function
I just found another one. Its exe_std$prober_dsc64:
int exe_std$prober_dsc64 (VOID_PQ dsc_p, UINT64_PQ ret_length, CHAR_PPQ ret_bufadr);
on OpenVMS Alpha V7.2-1 on DEC C V6.0-001
May be it will work, let me try it out and will let you know about it.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2006 04:31 AM
02-02-2006 04:31 AM
Re: ALPHA$LIBRARY:SYS$LIB_C.TLB and exe_std$probew_dsc function
only the 64-bit variant exe_std$probew_dsc64 seems to accept 3 parameters.
Are you sure that your SYS$LIB_C.TLB matches your version of OpenVMS ? Is your source code supposed to be compatible with V6.2 ?
You could check the Alpha code in the running system to determine, whether V6.2-1H3 actually seems to handle 3 arguments:
$ ANAL/SYS
SDA> READ/EXEC
SDA> EXA/INS EXE_STD$PROBEW_DSC_C;40
You'll probably have to follow the path taken by the BSR as well...
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2006 04:39 AM
02-02-2006 04:39 AM
Re: ALPHA$LIBRARY:SYS$LIB_C.TLB and exe_std$probew_dsc function
The exe$prober_dsc routine that it calls does return the length and address in registers but they don't appear to be passed back in the exe_std$ form.
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2006 05:12 AM
02-10-2006 05:12 AM
Re: ALPHA$LIBRARY:SYS$LIB_C.TLB and exe_std$probew_dsc function
Many many thanks for your support!
Instead of using 3 parameter call I am just using 1 parameter call:
status = exe_std$probew_dsc ((void *) p2);
Regards,
XMAN