kpathsea-like library with MiKTeX ?

Vincent Torri <[email protected]>
Newsgroups gmane.comp.tex.miktex
Message-ID <CAMq1adp6f3LO5Hiv4AsJ5aRJex9jGd_UirpRU_tdJyCE8iC==A@mail.gmail.com>
Hello

For one of my programs, I need to get the path of a font file that is
used in a DVI file. From what I've seen on internet, MiKTeX does not
provide a kpathsea-like library. There is :

1) kpsewhich.exe. I can redirect the output of that program to get the
path, but I prefer using a library

2) there is miktex209-kpathsea.dll which has function names in it like
the kpathsea library (expect the prefix "mitex_" which is prepended to
all functions)

I have 2 questions :

1) is there really no library like kpathsea in MiKTeX?

2) If I provide declarations of types and functions like those of
kpathsea library, will the miktex209_kpathsea DLL work like kpathsea ?

thank you

Vincent Torri

------------------------------------------------------------------------------
_______________________________________________
Q: How can I leave the mailing list?
A: See http://docs.miktex.org/faq/support.html#leavingml
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.