Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

problems with Dao360.dll

13 views
Skip to first unread message

Colin McFarlane

unread,
Nov 8, 2000, 3:00:00 AM11/8/00
to
I am trying to do an install of dao360.dll in the C:\Program Files\Common
Files\Microsoft Shared\DAO directory.
I have the Following Declared:
File Groups:DAO 360 Core - Static file link to Dao360.dll
Components:DAO 360 Core - Overwrite:NEWERVERSION
Destination:<DAO>
(Script defined folder)

In the script I Have
////////////////////////////////////////////////////////////////////////////
////////
function MoveFileData()
NUMBER nResult, nDisk;

begin
// CM 01 Nov 2000 - Set Destination Directory for DAO Components
szdaoLocation = "C:\Program Files\Common Files\Microsoft Shared\DAO";


ComponentSetTarget ( MEDIA , "<DAO>" , szdaoLocation );


nDisk = 1;
SetStatusWindow( 0, "" );
Disable( DIALOGCACHE );
Enable( STATUS );
StatusUpdate( ON, 100 );
nResult = ComponentMoveData( MEDIA, nDisk, 0 );

HandleMoveDataError( nResult );

Disable( STATUS );

return nResult;

end;
////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////

The result I get is that the DAO360.dll is installed in the Windows System
directory. Problem is that the compiled application uses the DAO360.dll that
is in the C:\Program Files\Common Files\Microsoft Shared\DAO directory.

Any hints on how do to install and register this file in the C:\Program
Files\Common Files\Microsoft Shared\DAO directory.

Thanx
Colin


Dominic Sexton

unread,
Nov 8, 2000, 3:00:00 AM11/8/00
to
In article <3a09752b$1...@12.41.20.38>, Colin McFarlane
<colin.m...@cgi.ca> writes

>I am trying to do an install of dao360.dll in the C:\Program Files\Common
>Files\Microsoft Shared\DAO directory.
>I have the Following Declared:
>File Groups:DAO 360 Core - Static file link to Dao360.dll
>Components:DAO 360 Core - Overwrite:NEWERVERSION
> Destination:<DAO>
[snip script]

>
>The result I get is that the DAO360.dll is installed in the Windows System
>directory. Problem is that the compiled application uses the DAO360.dll that
>is in the C:\Program Files\Common Files\Microsoft Shared\DAO directory.
>
>Any hints on how do to install and register this file in the C:\Program
>Files\Common Files\Microsoft Shared\DAO directory.
>
>Thanx
>Colin

I'm not sure why your script does not work but have you considered
including dao.h to do the DAO work?

I started with the ODBC-DAO-RDO template and removed the bits I didn't
need. I have not dug into the depths to understand it all but I know it
works!

--

Dominic Sexton
http://www.dscs.demon.co.uk/

Ted

unread,
Nov 22, 2000, 3:00:00 AM11/22/00
to
There are several things wrong with your approach:

1) The program files dir can be different i.e. different drive letter or
different name (translated). You need to use the Installshield variable for
this instead. Thre is also a different name for Common Files depending on
the language. I'm not sure if there's an Installshield variable for this
but you could find out.
2) You shouldn't be installing Dao360.dll on its own. It won't work. It
has a lot of dependencies and should only be installed with the
Installshield Object for DAO 3.6. There are many files that are installed
when installing DAO 3.6.

Ted.


"Colin McFarlane" <colin.m...@cgi.ca> wrote in message
news:3a09752b$1...@12.41.20.38...


> I am trying to do an install of dao360.dll in the C:\Program Files\Common
> Files\Microsoft Shared\DAO directory.
> I have the Following Declared:
> File Groups:DAO 360 Core - Static file link to Dao360.dll
> Components:DAO 360 Core - Overwrite:NEWERVERSION
> Destination:<DAO>

> (Script defined folder)
>
> In the script I Have
>
////////////////////////////////////////////////////////////////////////////
> ////////
> function MoveFileData()
> NUMBER nResult, nDisk;
>
> begin
> // CM 01 Nov 2000 - Set Destination Directory for DAO Components
> szdaoLocation = "C:\Program Files\Common Files\Microsoft Shared\DAO";
>
>
> ComponentSetTarget ( MEDIA , "<DAO>" , szdaoLocation );
>
>
> nDisk = 1;
> SetStatusWindow( 0, "" );
> Disable( DIALOGCACHE );
> Enable( STATUS );
> StatusUpdate( ON, 100 );
> nResult = ComponentMoveData( MEDIA, nDisk, 0 );
>
> HandleMoveDataError( nResult );
>
> Disable( STATUS );
>
> return nResult;
>
> end;
>
////////////////////////////////////////////////////////////////////////////
> ///////////////////////////////////////////
>

0 new messages