wow is this stupid
somehow the working directory is set to the notepad++ directory. this is where i needed to put the dll to make it working.
Forums
using a dll
14 posts
• Page 2 of 2 • 1, 2
Re: using a dll
Well at least now we know.
Btw if you use "cobra -v ..." then it will print the current directory for you, in case you need that in the future.
Btw if you use "cobra -v ..." then it will print the current directory for you, in case you need that in the future.
- Charles
- Posts: 2515
- Location: Los Angeles, CA
Re: using a dll
ehm.. how do i change the current directory? shouldnt cobra always use the directory of the sourcecode as current directory?
- natter
- Posts: 20
Re: using a dll
Cobra uses whatever your current directory is when you launch it. Also, you could give it multiple source files in different directories which blurs the concept of using the directory of the source files.
Most editors will let you set the initial directory in some way for the external commands you set up. Either as an option in a dialog or perhaps as a command such as "cd ${BASEDIR}; ...". Does notepad++? It seems people would have needed this before.
If not, and there is a BASEDIR type variable available, we could add a -cd command option to Cobra.
Most editors will let you set the initial directory in some way for the external commands you set up. Either as an option in a dialog or perhaps as a command such as "cd ${BASEDIR}; ...". Does notepad++? It seems people would have needed this before.
If not, and there is a BASEDIR type variable available, we could add a -cd command option to Cobra.
- Charles
- Posts: 2515
- Location: Los Angeles, CA
14 posts
• Page 2 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 17 guests