Hi Dan,
Post by Dan LancourI was looking at purchasing a DLL library that included header files for VB. At this time, that is all I know about it. I was hoping that someone had experienced this header conversion process to dBase and could give me some ideas.
There are two types of DLLs, that can be used with dbase, those that
contain the implementation of a COM object (like activex or
oleautoclient). Normally you don't need a header file for these (but
there are exceptions). If it is an activex DLL, you should first make
sure, that the activex works with dbase.
And those, that contain functions that can be used within other
programming languages (like the windows DLLS). Normally these DLLs come
with a header file.
The header file contains the constant declaration and more important,
the signature of the functions in the DLL. That is what type of
parameter they await and what type of return value.
The header file can not be used without changes (the constants are easy
to adapt but the declaration of the external functions needs some
experience, because some of the VB types must match the dbase types)
There is only one sort of parameter, that can not be used with dbase:
the pointer to a callback function. It is not possible (yet) to use such
a function in a DLL.
All other functions should give no problems...
HTH, Marc