Yet another licensing query
Posted: Wed 27 Sep 2006 12:03
I have a windows program that references oradirect. It has references to another dll project which also references oradirect. I am developing this application and changes are ongoing. I have a colleague who uses this application (he does not develop it) and requires the latest version of this program several times a day.
When he runs the program on his machine he gets the usual 'License not found' exception. So heres what I did:
1. I created a licenses.licx and added it to my program and the project it references. The build action is set to 'Embedded Resource' . This license file contains the following line:
2. I then built the licenses file on the command line using the following:
which worked fine.
3. The resulting Program.exe.licenses file exists in the project folder of my Program. I then added this file to my program project and set the build action to embedded resource.
This still makes no difference.
I have also tried adding:
/ASSEMBLYRESOURCE:Program.exe.licenses
to the command line option in the properties of my program.
Why doesn't it work!?!?
Thanks
Kevin
When he runs the program on his machine he gets the usual 'License not found' exception. So heres what I did:
1. I created a licenses.licx and added it to my program and the project it references. The build action is set to 'Embedded Resource' . This license file contains the following line:
Code: Select all
CoreLab.Oracle.OracleConnection, CoreLab.OracleCode: Select all
lc /target:"Program.exe" /complist:licenses.licx /i:CoreLab.Oracle.dll3. The resulting Program.exe.licenses file exists in the project folder of my Program. I then added this file to my program project and set the build action to embedded resource.
This still makes no difference.
I have also tried adding:
/ASSEMBLYRESOURCE:Program.exe.licenses
to the command line option in the properties of my program.
Why doesn't it work!?!?
Thanks
Kevin