I wrote some code to interface between a USB driver and an application. I tested the code by creating a control app and including the source. In the control app project I needed to include a series of files in order for the code to compile. None the less, the code functioned properly.
Now I took that code and cut and pasted it into a dll project. I included all the same files and search directories. For the most part the project options are identical. Differences being dll options verses application options.
I am getting the linker error.
[Linker Fatal Error] Fatal: Unable to open file 'GRAPHICS.OBJ'
I assume that this is related to Borland's Graphics unit which I am using in the code. Why am I getting this error? Why is it looking for graphics.obj? There is a graphics.dcu in my project options directories path. Why is the linker error present only in the dll project?
Any help would be much appreciated. thanks.
Now I took that code and cut and pasted it into a dll project. I included all the same files and search directories. For the most part the project options are identical. Differences being dll options verses application options.
I am getting the linker error.
[Linker Fatal Error] Fatal: Unable to open file 'GRAPHICS.OBJ'
I assume that this is related to Borland's Graphics unit which I am using in the code. Why am I getting this error? Why is it looking for graphics.obj? There is a graphics.dcu in my project options directories path. Why is the linker error present only in the dll project?
Any help would be much appreciated. thanks.