Autor Beitrag
peeage
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 50



BeitragVerfasst: Fr 07.05.10 22:47 
Hallo zusammen,

ich bin aktuell dabei einen TSP für die TAPI zu entwickeln. Das klappt alles wunderbar, aber sobald ich ein Interface in den TSP integriere gibt es Probleme.

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
type TMyObj = Class( TInterfacesObject, IMyIntf )
     private
      procedure ProviderInstall;
     public
     end;


var  myObj  : TMyObj;
     myIntf : IMyIntf;

[...]

initialization
  myObj := TMyObj.Create;
  myIntf:= myObj;


Sobald ich myObj der Variable myIntf zuweise, schmiert der TSP ab. kommentiere ich die Zuweisung aber aus, funktioniert der TSP einwandfrei.

Hat einer ne Ahnung wo hier das Problem sein könnte? Mein TSP wird von der TAPI32.dll geladen.