. DirectXtras Home
        Home

DirectCommunication Xtra
DirectConnection Xtra
DirectControl Xtra
DirectEmail Xtra
DirectFTP Xtra
DirectImage Xtra
DirectInteraction Xtra
DirectOS Xtra
Documentation
License Agreement
Licensing Fees
Order Form
DirectSMS Xtra
DirectSound Xtra
DirectTransition Xtra
DirectTransition3D Xtra Set I
DirectTransition3D Xtra Set II
DirectTransition3D Xtra Set III
DirectTTS Xtra
XtrAgent
DirectXport Xtra

SpeechPlugin

Special Discounted Bundles

The Gallery
How To Order
Order Form
Check for Upgrades

Sign in
Change Your Profile

Contact Us
















    .
DirectXtras
Xtra Power for Director & Authorware



DirectOS Xtra
 Directing Windows and MacOS. The OS at your fingertips!

Authorware 4.x Compatible Authorware 5.x CompatibleAuthorware 6.x CompatibleAuthorware 7.x CompatibleDirector 5.x Compatible Director 6.x CompatibleDirector 7.x Compatible Director 8.x CompatibleDirector MX Compatible     MacOS 8.x and 9.x CompatibleMacOS X CompatibleWindows Compatible   

dosResolveLink(string FileName)

Resolves the link at the specified location and returns the target's pathname as well as the link properties. If the target cannot be found but a close match is found, its pathname will be returned. A link is known as a shortcut on Windows and as an alias on MacOS. 

Parameter :

FileName : A string specifying the pathname of the link to resolve. On Windows, MS-DOS or Windows names are valid. On Windows also make sure that the .lnk extension is included. For example on Windows, "C:\MyLink.lnk". For example on MacOS, "My Mac:My Link". 

Return Value : On Windows, a list consisting of a string of the target's pathname, followed by a string of the arguments supplied to the target. Following is a string of the target folder, a string containing the path to the icon, the integer value of the hot key, and finally a string indicating the targets popup window show status. On MacOS, a list consisting of 1 string- the target's pathname. If an error occurred, an empty list is returned, in which case dosGetLastError() should be called to determine the cause of the error. 

Possible Returned Error Codes via dosGetLastError() :
10014 : File expected. A reference to a drive or folder was given. 
10016 : File not found. 
10028 : Bad link. The link file is corrupt or the target does not exist. 



DirectXtras Inc.
P.O Box 2645, Menlo Park, CA, 94026, U.S.A
Voice: +1-415-5058249, Fax: +1-801-8585841
Toll Free: 1-800-4453093
E-mail General Information: info@directxtras.com
E-mail Technical Support: support@directxtras.com

Copyright 1996-2004 DirectXtras Inc. All Rights Reserved.
WebMaster: tamar@directxtras.com
Last Updated: 2/18/2002 3:16:44 PM.