d***@hotmail.com
2011-08-26 09:07:17 UTC
Hi All. VB.net 2010
I have created a small console app that references the chilkat library. This
is the first time I have ever used a library that was not supplied by the vs
environment.
On the production machine (or any PC with vs 2010 installed) it works fine.
When I copy the .exe and the chilkat library to another machine I get an
exception when it calls the chilkat library the first time. This is true for
both WinXP and Vista. I am compiling as x86 processor
I thought (obviously wrong) that the system would search the program dir
where the exe lives and then windows\system32 dir if it cannot find the dll.
I have added a reference to the dll in the project/properties
I have added an import statement to the Module
How can I tell the project to find the dll in the same folder as the exe
file. I have googled a lot on this and found nothing concrete as an answer.
Maybe I'm googling for the wrong thing, who knows.
Please a little help on this would be so nice.
Thanks in advance. Dave
I have created a small console app that references the chilkat library. This
is the first time I have ever used a library that was not supplied by the vs
environment.
On the production machine (or any PC with vs 2010 installed) it works fine.
When I copy the .exe and the chilkat library to another machine I get an
exception when it calls the chilkat library the first time. This is true for
both WinXP and Vista. I am compiling as x86 processor
I thought (obviously wrong) that the system would search the program dir
where the exe lives and then windows\system32 dir if it cannot find the dll.
I have added a reference to the dll in the project/properties
I have added an import statement to the Module
How can I tell the project to find the dll in the same folder as the exe
file. I have googled a lot on this and found nothing concrete as an answer.
Maybe I'm googling for the wrong thing, who knows.
Please a little help on this would be so nice.
Thanks in advance. Dave