How to get a UNC filename?

From: Neil W. Garside <nwgarside_at_my-deja.com>
Date: Tue, 05 Oct 1999 03:20:52 GMT
Message-ID: <7tbqq9$4m8$1_at_nnrp1.deja.com>



Hi,

Does anyone know how to convert a 'static' filename
[Quoted] (e.g., "F:\Oracle\Forms\Test.fmb") into a UNC version of the filename
(e.g., "\\MyServer\Apps\Oracle\Forms\Test.fmb")?

One way would be to use the WNetGetUniversalNameA function (part of the mpr.dll library) which will involve all the usual problems associated with using the Foreign Function Interface in Oracle.

Does anyone know a quicker way of doing this conversion? I'm using Forms 6.0 against an Oracle 7.3.4 database.

Thanks!

Neil W. Garside (Brisbane, Australia)

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Tue Oct 05 1999 - 05:20:52 CEST

Original text of this message