[AccessD] GetFile doesn't return the link file

Stuart McLachlan stuart at lexacorp.com.pg
Wed Jan 4 15:51:43 CST 2012


Set the OFN_NODEREFERENCELINKS flag in the OPENFILENAME structure.

For details, see: 
http://msdn.microsoft.com/en-us/library/windows/desktop/ms646839%28v=vs.85%29.aspx

-- 
Stuart


On 4 Jan 2012 at 14:37, jwcolby wrote:

> I have found something interesting.  I have been using the GetOpenFileName stuff stuff since 1998. 
> I tried to use it to return a link file and it actually returns the .EXE that the link references.
> 
> Does anyone know a way to get the actual link itself?  I need to shell (open) the link.
> 
> -- 
> John W. Colby
> Colby Consulting
> 
> Reality is what refuses to go away
> when you do not believe in it
> 
> -- 
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
> 





More information about the AccessD mailing list