py2exe supports relative directory to find the ini files in the ./conf folder, but pyinstaller use absolute path, and can only be run under the folder
for the c extend module of python, the loading dll error is due to that the computer does not have NI imaq installed, it seems that when the module is load, it already starts to load the dll file, and the dll file starts to load the driver of the imaq hardware, as such, the error of dll initialization is due to the lack of the driver/hardware
the c extend module (.pyd) relies on the OS version, e.g., build from 32 bit system won't work on build from 64 bit system. the error msg is sth like: