hello all friends..........
I create a form inside the Dll. But it compile is not successfully.Some Error below.
" Access violation at address 004EB784 in module 'Project1dll.dll'.Read of address 00000048"
Thanks.....
hello all friends..........
I create a form inside the Dll. But it compile is not successfully.Some Error below.
" Access violation at address 004EB784 in module 'Project1dll.dll'.Read of address 00000048"
Thanks.....
As well you should have a look here, it might help if your trouble is elsewhere .. Forms in dll
here's something i've found necessary to do this. see my example function below:
procedure DoSomething(hApp:THandle); export;
var
hDllApplication:THandle;
begin
hDllApplication:=Application.Handle;
Application.Handle:=hApp;
try
DoItNow;
finally
Application.Handle:=hDllApplication;
end;
end;
You are dereferencing a nil pointer somehow. Perhaps an object that hasn't been created?