DLL CallBack...

Hi there,

! Does anyone knows how can I set the right segments when receiving the
assigned procedure in delphi ?

I have created a procedure under C, which enable a delphi component to
interacts in a loop of, let's say findnext file.
My purpose is to make a procedure which gets the file name, and put it
in other components on screen.

A Problem I have a ccounted is that, when recieving the assigned
procedure in delphi, all the segments are mixed up (because of the
interaction with the c dll).