Archived Support Forum: View Post
Index | Ladder
Stucuk posted a message about Re: Vxlse & Dlls in reply to Re: Vxlse & Dlls

> > im trying to make a plugin thing so that u can make dlls that do stuff to the TVoxelSection(well ActiveSection), anyway

> > it works but when u make the procedure run u get

> > "Access violation at address 00D9C8C3. Write of address 01B80000"
> Making DLLs is not to easy... any error/Exception not caught inside Delphi will be passed to the parent, and give an AV.
> Are you sure you need a DLL plugin system?
> Note that you cannot pass TVoxel, TVoxelSection, or any other class to DLL procedures! Only basic types: Integer and PChar! (Unless you do something with memory management DLLs or make sure the host program is written in Delphi as well).

so u can't pass

type
tbla = record
bla,bla2,bla3 : integer;
end;

or

tbla = array[0..70] of integer;

P.S i have basicaly no experience with dll's :P

-Stu

"The One N Only"

Stusworld


SubjectNameDate
Re: Vxlse & DllsKoen van de Sande21:11 05-02-2003

 
© 1999-2023 Van de Sande Productions