You may want to convert the code for the function using the h2pas or c2pas conversion utilities that are available out there to do this.
Robert Wolfe ([EMAIL PROTECTED] / [EMAIL PROTECTED]) Computer Programmer/Analyst & Web Programmer SRDAR, Roswell Park Cancer Institute, Buffalo, New York 716-845-5788 | http://www.srdar.org > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:fpc-pascal- > [EMAIL PROTECTED] On Behalf Of Armando Navarro Vázquez > Sent: Thursday, October 19, 2006 7:46 AM > To: fpc-pascal@lists.freepascal.org > Subject: [fpc-pascal] mixing C and Pascal and function pointers > > > Dear members: > I am not familiar with Pascal, but I would like to call some C routines > inside > the main Pascal program, is there any way, to pass function pointers from > Pascal to the C subroutines? > Thanks in Advance > Armando > -- > Dr. Armando Navarro-Vázquez > RIAIDT. Univdade de Resonancia Magnetica > Universidade de Santiago de Compostela > http://desoft03.usc.es/armando/index.html > _______________________________________________ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/mailman/listinfo/fpc-pascal This email message may contain legally privileged and/or confidential information. If you are not the intended recipient(s), or the employee or agent responsible for the delivery of this message to the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or use of this email message is prohibited. If you have received this message in error, please notify the sender immediately by e-mail and delete this email message from your computer. Thank you. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal