General information
Category:
Coding, syntax & commands
>
> Does nobody know if it's possible to create a library
> PLB or .FLL by using the Borland C++ 3.1 compiler?
> If it's possible, which switches I have to use?
Hi Matteo
I had developed PLB AND FLL in 2.x using MS C/C++ Version 7 and not much familar
with WATCOM and nor tried developing FLL in VFP but writting my experience which may be
useful.
When u install Library construction kit, u will fine MAK files for MSC and WATCOM
C, and syntax and setting are described in these files for how to build PLB OR FLL. FOR
WATCOM c DOSWAT.MAK and WINWAT.MAK are the files used to compile your c program and
build library.
I found the syntax for building library in MSC AND WATCOM similary though I had not
worked on WATCOM C.For example to build PLB in WATCOM you need to type this, after
changing WATDIR and FOXDIR values in MAK File if u find values different than the
default values.
C:\LCK>wmake /f doswat.mak PLBNAME=
For windows call winwat.mak, provided your system is installed with Windows SDK
along with c compiler. Only changes you had to do to your old c function is add [extern
"C"] before calling c functions, which are not compatible with C++. This changes are
described in VFP manuals.
Thank Q
Waheed
email:mbws@batelco.com.bh
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only