Recent

Author Topic: calling form in shared object error :(((  (Read 2433 times)

relativ

  • Newbie
  • Posts: 2
calling form in shared object error :(((
« on: May 03, 2008, 06:09:38 pm »
I've used to do it under delphi, creating a library, then exporting one fonction and return creating form

but to give access violation  error message pls help ??? :((((


Code: [Select]

library video;

{$mode objfpc}{$H+}

uses
  Interfaces,
  Classes,
  Dialogs,
  Forms,
  hatamsg,
  functionList,
  main,
  TCompInst,
  AnimationLabel,
  serkanxmldom;


function ShowVideoForm: TForm; cdecl;
begin
     frmVideo := TfrmVideo.Create(nil);
     Result := frmVideo;
end;


exports
    ShowVideoForm;

begin
     
     
end.

 

TinyPortal © 2005-2018