I am converting one of my apps to be a dll and one of my components (derived from timage) is throwing an access violation error when trying to do the following:
 
procedure cgetback(a:integer;b:tcolor;c:string);
var v:variant;
begin
      v:=createoleobject('mjc.nwobject');
  { v.getback(a,b,c);}
   v:=unassigned;
end;
 
Can anyone see anything obvious, can you create an instance like this from within a dll? (there are no probs from within an application).
 
Cheers,
 
Matt.

Reply via email to