Board index » delphi » Deploy VCL.NET App
Erick Sasse
![]() Delphi Developer |
Erick Sasse
![]() Delphi Developer |
Deploy VCL.NET App2004-06-17 03:58:07 AM delphi191 I've created a hi world using WinForms. Copied to a remote shared folder and it works. Then I have created a hi world using VCL.NET, copied to a remote shared folder and when I try to run it in my machine (D8 and everything installed) I get a System.TypeInitializationException. It is only a form with a button and a call to ShowMessage. If I run it locally, it works. What's wrong? -- Erick Sasse |
Marc Rohloff [TeamB]
![]() Delphi Developer |
2004-06-17 11:13:13 AM
Re:Deploy VCL.NET App
On 16 Jun 2004 12:58:07 -0700, Erick Sasse writes:
QuoteThen I have created a hi world using VCL.NET, copied to a remote Marc Rohloff marc rohloff at myrealbox dot com |
Erick Sasse
![]() Delphi Developer |
2004-06-17 08:21:15 PM
Re:Deploy VCL.NET App
When I try to run the app, I am told that a exception ocurred (withou
showing the text) and if I want do debug it using CLR De{*word*81} or VS.NET De{*word*81}. When I start VS.NET De{*word*81} I get a text like "Additional information: The type initialization from "Project2.Unit" raised an exception". The original text is in portuguese, so I translated to english. -- Erick Sasse |
Marc Rohloff [TeamB]
![]() Delphi Developer |
2004-06-18 07:59:25 AM
Re:Deploy VCL.NET App
On 17 Jun 2004 05:21:15 -0700, Erick Sasse writes:
QuoteWhen I try to run the app, I am told that a exception ocurred (withou code which requires higher security permissions. The easiest is to run the code off a local drive. Otherwise you have to give security rights to applications running off the network or to your application. -- Marc Rohloff marc rohloff at myrealbox dot com |
Erick Sasse
![]() Delphi Developer |
2004-06-18 08:36:36 PM
Re:Deploy VCL.NET App
Marc Rohloff [TeamB] writes:
QuoteThe easiest is to run the code off a local drive. Otherwise you have -- Erick Sasse |
TObject
![]() Delphi Developer |
2004-06-23 06:57:26 AM
Re:Deploy VCL.NET App
"Erick Sasse" <XXXX@XXXXX.COM>writes news:XXXX@XXXXX.COM...
QuoteThen I have created a hi world using VCL.NET, copied to a remote (or to the remote machine GAC): Borland.Vcl.dll Borland.Delphi.dll Borland.VclRtl.dll Possibly some more, but for a "Hello Word" application those three should be plenty. |
TObject
![]() Delphi Developer |
2004-06-24 06:41:01 AM
Re:Deploy VCL.NET App
"Erick Sasse" <XXXX@XXXXX.COM>writes news:XXXX@XXXXX.COM...
QuoteNo, it was a security problem. It is already solved. |
Erick Sasse
![]() Delphi Developer |
2004-06-24 08:13:21 AM
Re:Deploy VCL.NET App
TObject writes:
QuoteYou need to copy the following dll libraries to the same folder -- Erick Sasse |