Subj : Re: far-pointer to a TTable-Object in a DataModule To : borland.public.cpp.borlandcpp From : Bob Gonder Date : Tue Aug 26 2003 12:47 pm Palmetzhofer Dietmar wrote: >I am trying to make a call to a function that is sited in a dll outside my >appilcation (the dll is linked statically). That function takes a *TADOTable >as argument. Now, when attempting to access the tabel IŽll get an Access >Violation. I think it is because the pointer is a near-pointer and I should >use a far pointer (or a far-function-call). Can anyone help me to solve >this? TADOTable far*MyTable = new(TADOTable); Unless the dll is 32bits, then you just need to rewrite/recompile your program to be 32bit also. IIRC there are ways to convert 16bit addressing to 32, but I wouldn't recommend doing that. .