Deployed Exe only works if Dolphin 6 is installed

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Deployed Exe only works if Dolphin 6 is installed

Christoph J. Bachinger
Hi folks,

We have an Active-X Application which we have deployed already with
Dolphin 4.0 and Dolphin 5.x.
After deploying it with D6-Professional PL1 it seemed to work fine. But
beta customers told me it does not work.
Testing it on different computers we found out, if D6-Professional is
installed it works. But on machines without D6 it does not.

What means does not work.
Normaly the application start via Acitve-X the Arcon.exe and transfers
data provided in a textfile to Arcon. But on machines without D6 the
arcon.exe is not started, no errors messages, nothing happens.

The Application is unchanged from Dolphin 4 to 6. Its only a matter of
taking a virgin image. Start the Active-X Component Wizard. Browse for
Arcon 5.0 which is a rapid house constructing program. Generate the
wrapper classes with default settings.
Load our ArcoTran package and deploy.

If wanted, I can provide the ArcoTran package (pretty small). Our
Application works with Arcon 5.0, Arcon 6.0, Arcon 6.5, Arcon 2000,
Arcon 2001 Arcon 2002, Arcon 2003, Arcon 2004.

Thanks for any help
Christoph J. Bachinger


Reply | Threaded
Open this post in threaded view
|

Re: Deployed Exe only works if Dolphin 6 is installed

Stefan Schmiedl
On Mon, 30 Jan 2006 18:04:58 +0100, Christoph J. Bachinger wrote:

> What means does not work.
> Normaly the application start via Acitve-X the Arcon.exe and transfers
> data provided in a textfile to Arcon. But on machines without D6 the
> arcon.exe is not started, no errors messages, nothing happens.

just checking:

you did remember to copy msvcr71.dll over to the directory
of your deployed exe file?

s.


Reply | Threaded
Open this post in threaded view
|

Re: Deployed Exe only works if Dolphin 6 is installed

Udo Schneider
In reply to this post by Christoph J. Bachinger
Christoph J. Bachinger wrote:
> The Application is unchanged from Dolphin 4 to 6. Its only a matter of
> taking a virgin image. Start the Active-X Component Wizard. Browse for
> Arcon 5.0 which is a rapid house constructing program. Generate the
> wrapper classes with default settings.
> Load our ArcoTran package and deploy.
Check the DLL Imports and make sure, that all imported Libraries are
actually on the machine.

CU,

Udo


Reply | Threaded
Open this post in threaded view
|

Re: Deployed Exe only works if Dolphin 6 is installed

Blair McGlashan-3
In reply to this post by Christoph J. Bachinger
"Christoph J. Bachinger" <[hidden email]> wrote in message
news:[hidden email]...

> Hi folks,
>
> We have an Active-X Application which we have deployed already with
> Dolphin 4.0 and Dolphin 5.x.
> After deploying it with D6-Professional PL1 it seemed to work fine. But
> beta customers told me it does not work.
> Testing it on different computers we found out, if D6-Professional is
> installed it works. But on machines without D6 it does not.
>
> What means does not work.
> Normaly the application start via Acitve-X the Arcon.exe and transfers
> data provided in a textfile to Arcon. But on machines without D6 the
> arcon.exe is not started, no errors messages, nothing happens.

Is a <exe name>.errors file written? This will contain a crash dump which
often allows one to deduce the problem with no further effort. If there is
no crash dump, try starting the .exe with DbgView running
(www.sysinternals.com) and see if Dolphin writes any debug trace to help you
diagnose the problem.

It is almost certainly due to a missing prerequisite DLL. D6 is built with
VS.NET 2003, and requires a different version of the C runtime that may not
be installed in a default Windows image. If you open your deployed
executable using the Microsoft depends.exe utility you can see the complete
set of DLLs that are statically known - it is possibly that you might be
using DLLs from the image yourself that are dynamically linked and they will
not be in this list, and if you are then you may also need to distribute
these. Anyway if you use depends.exe you will see that any deployed exe is
dependent on MSVCR71.DLL and MSVCP71.DLL. You can copy these from the
Windows\System32 directory of the machine on which Dolphin is installed and
include them in your "installer" (they need only to be copied to the
installation directory of your .exe, not Windows\System32).

Regards

Blair


Reply | Threaded
Open this post in threaded view
|

Re: Deployed Exe only works if Dolphin 6 is installed

Christoph J. Bachinger
In reply to this post by Stefan Schmiedl
Stefan,

> you did remember to copy msvcr71.dll over to the directory
> of your deployed exe file?

I will check, but we go to an exebition this week.

thanks
cjb


Reply | Threaded
Open this post in threaded view
|

Re: Deployed Exe only works if Dolphin 6 is installed

Christoph J. Bachinger
In reply to this post by Udo Schneider
Udo,

>> The Application is unchanged from Dolphin 4 to 6. Its only a matter of
>> taking a virgin image. Start the Active-X Component Wizard. Browse for
>> Arcon 5.0 which is a rapid house constructing program. Generate the
>> wrapper classes with default settings.
>> Load our ArcoTran package and deploy.
> Check the DLL Imports and make sure, that all imported Libraries are
> actually on the machine.

I will check, but we go to an exebition this week.

thanks
cjb


Reply | Threaded
Open this post in threaded view
|

Re: Deployed Exe only works if Dolphin 6 is installed

Christoph J. Bachinger
In reply to this post by Blair McGlashan-3
Blair,

>> We have an Active-X Application which we have deployed already with
>> Dolphin 4.0 and Dolphin 5.x.
>> After deploying it with D6-Professional PL1 it seemed to work fine. But
>> beta customers told me it does not work.
>> Testing it on different computers we found out, if D6-Professional is
>> installed it works. But on machines without D6 it does not.
>>
>> What means does not work.
>> Normaly the application start via Acitve-X the Arcon.exe and transfers
>> data provided in a textfile to Arcon. But on machines without D6 the
>> arcon.exe is not started, no errors messages, nothing happens.
>
> Is a <exe name>.errors file written? This will contain a crash dump which
> often allows one to deduce the problem with no further effort. If there is
> no crash dump, try starting the .exe with DbgView running
> (www.sysinternals.com) and see if Dolphin writes any debug trace to help you
> diagnose the problem.
>
> It is almost certainly due to a missing prerequisite DLL. D6 is built with
> VS.NET 2003, and requires a different version of the C runtime that may not
> be installed in a default Windows image. If you open your deployed
> executable using the Microsoft depends.exe utility you can see the complete
> set of DLLs that are statically known - it is possibly that you might be
> using DLLs from the image yourself that are dynamically linked and they will
> not be in this list, and if you are then you may also need to distribute
> these. Anyway if you use depends.exe you will see that any deployed exe is
> dependent on MSVCR71.DLL and MSVCP71.DLL. You can copy these from the
> Windows\System32 directory of the machine on which Dolphin is installed and
> include them in your "installer" (they need only to be copied to the
> installation directory of your .exe, not Windows\System32).

I will check, but we go to an exebition this week.

thanks
cjb