[fpc-pascal] mixing C and Pascal and function pointers

Wolfe, Robert Robert.Wolfe at RoswellPark.org
Thu Oct 19 14:27:20 CEST 2006

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 (robert.wolfe at roswellpark.org / wolfer at trocaire.edu)
Computer Programmer/Analyst & Web Programmer
SRDAR, Roswell Park Cancer Institute, Buffalo, New York
716-845-5788 | http://www.srdar.org

> -----Original Message-----
> From: fpc-pascal-bounces at lists.freepascal.org [mailto:fpc-pascal-
> bounces at lists.freepascal.org] On Behalf Of Armando Navarro Vázquez
> Sent: Thursday, October 19, 2006 7:46 AM
> To: fpc-pascal at 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 at 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.

More information about the fpc-pascal mailing list