hi!<br>i have a problem including a dll in a new program.<br>the dll has a procedure called "CreateFullScreen" which is supposed to create a shockwaveplayer in fullscreen-mode.<br><br>when i call this procedure i get an error: "TFont cannot be assigned to TFont"<br><br>if i copy the procedure into the unit, everything works correct.<br><br>the procedure code:<br><br> procedure CreateFullScreen(comp:TComponent; form:TForm; sURL
Char); overload; stdcall;<br><br> var url:string;<br> swf:TShockwaveFlash;<br> begin<br> URL:=String(sURL);<br> swf:=TShockwaveFlash.Create(comp);<br> swf.align:=AlClient;<br> swf.width:=form.width;<br> swf.height:=form.height;<br> swf.top:=form.top;<br> swf.left:=form.left;<br> swf.parent:=form;<br> swf.enabled:=true;<br> swf.visible:=true;<br> swf.invalidate;<br> end; <br><br>i register the procedure of the dll by writing <br> procedure CreateFullScreen(comp:TComponent; form:TForm; sURL
Char);overload;stdcall;external 'SsgPlayer'; <br><br>(the dll is called "SsgPlayer.dll"
<br><br><A HREF="mailto:megiddus@gmx.net">megiddus@gmx.net</A><br>