Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-02

Help with a error - Failed to initialize component: No streaming method available.

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

German Gentile

Hi, anybody can help me with that error? Im losting my ear.

Is a migrated program from delphi. At the beginning when try to create a TdataModule ,

Application.Initialize;
  Application.Title:='Sample DataModule';
  Application.CreateForm(TServerDataModule, ServerDataModule);

raises it:

[WARNING] Out of OEM specific VK codes, changing to unassigned [WARNING] Out of unassigned VK codes, assigning $FF [FORMS.PP] ExceptionOccurred
Sender=EStreamError
Exception=Failed to initialize component: No streaming method available. Stack trace:
$0000000000EB78A4
$0000000000DBDAAF line 1882 of include/application.inc $0000000000D8C186 line 79 of SampleData.dpr
TApplication.HandleException Failed to initialize component: No streaming method available.
Stack trace:
$0000000000EB78A4
$0000000000DBDAAF line 1882 of include/application.inc $0000000000D8C186 line 79 of SampleData.dpr

I cannot find where is the problem. A step debug show it raises at application.inc

procedure TApplication.CreateForm(InstanceClass: TComponentClass;
  out Reference);
[..]
   if (FCreatingForm=nil) and (Instance is TForm) then
      FCreatingForm:=TForm(Instance);
    Instance.Create(Self);             <---- raises exception

Hope somebody can give me a help.

TIA

Best regards.

Donald Shimoda -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20090226/7c38efad/attachment.html

Reply by email

German Gentile
to German Gentile

Hi, please anybody can tell me some way to debug that error or figure why is happening?

TIA

2009/2/26 German Gentile

Show quoted text 45 lines
Hi, anybody can help me with that error? Im losting my ear. Is a migrated program from delphi. At the beginning when try to create a TdataModule , Application.Initialize; Application.Title:='Sample DataModule'; Application.CreateForm(TServerDataModule, ServerDataModule); raises it: [WARNING] Out of OEM specific VK codes, changing to unassigned [WARNING] Out of unassigned VK codes, assigning $FF [FORMS.PP] ExceptionOccurred Sender=EStreamError Exception=Failed to initialize component: No streaming method available. Stack trace: $0000000000EB78A4 $0000000000DBDAAF line 1882 of include/application.inc $0000000000D8C186 line 79 of SampleData.dpr TApplication.HandleException Failed to initialize component: No streaming method available. Stack trace: $0000000000EB78A4 $0000000000DBDAAF line 1882 of include/application.inc $0000000000D8C186 line 79 of SampleData.dpr I cannot find where is the problem. A step debug show it raises at application.inc procedure TApplication.CreateForm(InstanceClass: TComponentClass; out Reference); [..] if (FCreatingForm=nil) and (Instance is TForm) then FCreatingForm:=TForm(Instance); Instance.Create(Self); <---- raises exception Hope somebody can give me a help. TIA Best regards. -- Donald Shimoda

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20090304/dad7eccc/attachment.html

Reply by email