Paul Edwards
2019-05-27 15:56:49 UTC
I would like to make my own C runtime
library (PDPCLIB) produce a mini version
of msvcrt.dll.
Someone actually previously submitted a
code change so that PDPCLIB could be a
DLL, although I've never used that before.
They added a #define for __declspec(dllexport)
and put that against all exported function
names.
That is fine for functions like printf,
but he also added functions like
__get_main_fp which you can see being
called here:
https://sourceforge.net/p/pdos/gitcode/ci/master/tree/pdpclib/w32start.c
and being defined around here:
https://sourceforge.net/p/pdos/gitcode/ci/master/tree/pdpclib/start.c#l63
This prevents my executables from using
the standard msvcrt.dll, as I get a not
found error on these extra function names.
Any suggestions on how to convert PDPCLIB
to be more in tune with Microsoft?
Thanks. Paul.
library (PDPCLIB) produce a mini version
of msvcrt.dll.
Someone actually previously submitted a
code change so that PDPCLIB could be a
DLL, although I've never used that before.
They added a #define for __declspec(dllexport)
and put that against all exported function
names.
That is fine for functions like printf,
but he also added functions like
__get_main_fp which you can see being
called here:
https://sourceforge.net/p/pdos/gitcode/ci/master/tree/pdpclib/w32start.c
and being defined around here:
https://sourceforge.net/p/pdos/gitcode/ci/master/tree/pdpclib/start.c#l63
This prevents my executables from using
the standard msvcrt.dll, as I get a not
found error on these extra function names.
Any suggestions on how to convert PDPCLIB
to be more in tune with Microsoft?
Thanks. Paul.