Page 1 of 1

Distribution of run-time app

PostPosted: Wed Apr 08, 2009 11:26 pm
by Caligari
I'm sure this is a stupid question...

I've just been told that the exe that I created with cobra and have given to others at my work to use won't run for them. It seems that it requires something other than the exe (and .NET, which they do have) for run-time use.

I assume there must be a dll that I should get people to put somewhere? Which file do I need to put where?

Is this explained somewhere obvious that I missed, or is it just the standard way of doing things?

- Caligari

Re: Distribution of run-time app

PostPosted: Thu Apr 09, 2009 7:58 am
by Charles
They need Cobra.Lang.dll which you can just put in the same directory, or install in their GAC or embed in your program with:

cobra -embed-run-time MyProg.cobra

Or -ert for short:

cobra -ert MyProg.cobra

Probably embedding is the easiest for you and your users.

Cobra mostly relies on .NET for things like strings, collections, etc. but it still has a few run-time support things that it needs.