Hi,
Since days I`m trying to interface a stepper motor to my parallel port. (Used to be easy on w89.) createFile() won`t work for this.
So I tried InPout32.dll.
I seem to have a lack in understanding linking of libraries and dll`s.
What I want to build is an .exe that runs on any NT W2K or XP machine, without having to install dll`s.
I guess I need to link the inpout32.dll at runtime on my Bc5 compiler, but I`m not sure about this nor how to do this.
Just where do I have to put what file?
I have a folder called binaries, containing the .dll and a hiwnterface.ocx
I have a folder called Inpout32_dll_source, containing quite a few files, such as . sys, .cpp, .def. ssp, ssw, .rc, ..
another folder called Kernel_Mode_Driver_Source...
I have tried several sample c++ programs using the functions Inp32() and Out()and placed the Inpout32.dll into all kind of system, or system 32 folder.
short _stdcall Inp32(short portaddr);
void _stdcall Out32(short portaddr, short datum);
I have downloaded the redistibutable MS VISUAL C++ 2005 RUNTIME LIBRARIES, witch I ran, but have no idea what it does.
Still my sample programs aren`t doing anything to lpt1.