123
Senior Member
I'm looking for help from a fellow Cocooner with C++ coding experience. If writing code in C++ is part of your day job, and you're willing to spare some time helping a newbie, please read on.
I have the source code for a UPB driver (developed for an HA program) as well as the compiled DLLs. My ultimate goal is to modify the source code but the first step is to successfully compile and link the existing code and ensure it works properly.
I believe it was developed for VS2005 C++ and I have access to this development environment. I believe it relies on the "ATL Project" template so I assume that rules out using the Express editions of VS. The source code does not contain a solution file ... so it's not as simple as opening the SLN file and everything falls into place. The source code does include a makefile so I assume I'll have to run nmake to build the DLL.
In fact, the driver is composed of three DLLs. The first one handles UPB communications (I don't need to change it) and the other two handle UPB devices from specific manufacturers (one for PCS and the other for SA). These so-called "manufacturer DLLs" contains embedded XML that lists the manufacturer's devices and their capabilities. This XML exists as a file in the source code. My goal is to modify it (append new devices) then re-build the DLL so it'll be able to support new UPB devices. But first, I need to know how to compile and link!
So where should I begin? Is there anything I should look for in the "sources" file, or other places, to ensure that I have all the required dependencies? Or will a failed make session list everything I'm missing?
Source can be found here.
I'm guessing the SDK may also be required to build this driver from its source code
I have the source code for a UPB driver (developed for an HA program) as well as the compiled DLLs. My ultimate goal is to modify the source code but the first step is to successfully compile and link the existing code and ensure it works properly.
I believe it was developed for VS2005 C++ and I have access to this development environment. I believe it relies on the "ATL Project" template so I assume that rules out using the Express editions of VS. The source code does not contain a solution file ... so it's not as simple as opening the SLN file and everything falls into place. The source code does include a makefile so I assume I'll have to run nmake to build the DLL.
In fact, the driver is composed of three DLLs. The first one handles UPB communications (I don't need to change it) and the other two handle UPB devices from specific manufacturers (one for PCS and the other for SA). These so-called "manufacturer DLLs" contains embedded XML that lists the manufacturer's devices and their capabilities. This XML exists as a file in the source code. My goal is to modify it (append new devices) then re-build the DLL so it'll be able to support new UPB devices. But first, I need to know how to compile and link!
So where should I begin? Is there anything I should look for in the "sources" file, or other places, to ensure that I have all the required dependencies? Or will a failed make session list everything I'm missing?
Source can be found here.
I'm guessing the SDK may also be required to build this driver from its source code