NewsArchive
08-28-1997, 12:00 AM
Hi Limor,
you cann't use a 32bit-DLL (created with VC++ 4.0) within a 16bit-setup and
vice versa.
With IS5 you have to create a 32bit-DLL (using VC++ 4.x) for a
32bit-installation (Win NT, Win 95) and a 16bit-DLL (using VC++ 1.5x) for a
16bit-installation (Win 3.1x). You CANN'T use the same DLL for both
installation types, but you can write the source code for your DLL in a way
that you can use the same source files for both compilers.
Then you've to include the DLLs in the Setup Files pane under the
corresponding OS/Language.
Hope this helps.
Regards,
Stephan
--
Stephan Hagedorn
Software Development
dSPACE GmbH, Gemany
MailTo:SHagedorn@dspace.de
InstallShield Corp. <raquino@installshield.com> wrote in article
<01bcae48$e848e160$a7c7c5d0@richardaquino.installshield.com>...
> Hi,
> The problem shouldn't be with VC++ 4.0, but with the way UseDLL is being
> called. Since you know the VC++ 1.5 DLL works, as a test, try calling
> UseDLL for that DLL the same way. If that fails, The problem is probably
> that the file cannot be found. If the DLL is only going to be used
during
> installation, include it in the Setup Files pane under a specific
> OS/Language. The DLL will be uncompressed into the temporary SUPPORTDIR
> directory. You call to UseDLL will then be
> UseDLL(SUPPORTDIR^"my.dll");
> --
> Rich
> InstallShield Software Corp.
>
>
> P.S. Our website, http://www.installshield.com/, covers a wide range of
> resources for your installation development. Read technical whitepapers,
> view documentation or search the Knowledge Base to get support
information
> 24 hours a day, 7 days a week.
>
>
> limor <limorc@vcon.co.il> wrote in article
> <33fbe2cb.0@news.installshield.com>...
> >
> > Hello !
> >
> > I have the IS5.
> > I created .dll using VC++ 4.0. This .dll includes some funcrions.
> > I tryied to call those external function from my script, but the UseDLL
> > function returns -1.
> > When I used IS3 I had .dll which was written on VC++ 1.5 and was O.K.
> >
> > Please help me !
> >
> >
> >
>
you cann't use a 32bit-DLL (created with VC++ 4.0) within a 16bit-setup and
vice versa.
With IS5 you have to create a 32bit-DLL (using VC++ 4.x) for a
32bit-installation (Win NT, Win 95) and a 16bit-DLL (using VC++ 1.5x) for a
16bit-installation (Win 3.1x). You CANN'T use the same DLL for both
installation types, but you can write the source code for your DLL in a way
that you can use the same source files for both compilers.
Then you've to include the DLLs in the Setup Files pane under the
corresponding OS/Language.
Hope this helps.
Regards,
Stephan
--
Stephan Hagedorn
Software Development
dSPACE GmbH, Gemany
MailTo:SHagedorn@dspace.de
InstallShield Corp. <raquino@installshield.com> wrote in article
<01bcae48$e848e160$a7c7c5d0@richardaquino.installshield.com>...
> Hi,
> The problem shouldn't be with VC++ 4.0, but with the way UseDLL is being
> called. Since you know the VC++ 1.5 DLL works, as a test, try calling
> UseDLL for that DLL the same way. If that fails, The problem is probably
> that the file cannot be found. If the DLL is only going to be used
during
> installation, include it in the Setup Files pane under a specific
> OS/Language. The DLL will be uncompressed into the temporary SUPPORTDIR
> directory. You call to UseDLL will then be
> UseDLL(SUPPORTDIR^"my.dll");
> --
> Rich
> InstallShield Software Corp.
>
>
> P.S. Our website, http://www.installshield.com/, covers a wide range of
> resources for your installation development. Read technical whitepapers,
> view documentation or search the Knowledge Base to get support
information
> 24 hours a day, 7 days a week.
>
>
> limor <limorc@vcon.co.il> wrote in article
> <33fbe2cb.0@news.installshield.com>...
> >
> > Hello !
> >
> > I have the IS5.
> > I created .dll using VC++ 4.0. This .dll includes some funcrions.
> > I tryied to call those external function from my script, but the UseDLL
> > function returns -1.
> > When I used IS3 I had .dll which was written on VC++ 1.5 and was O.K.
> >
> > Please help me !
> >
> >
> >
>