Forums

Distribution of run-time app

General discussion about Cobra. Releases and general news will also be posted here.
Feel free to ask questions or just say "Hello".

Distribution of run-time app

Postby Caligari » Wed Apr 08, 2009 11:26 pm

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
Caligari
 
Posts: 33

Re: Distribution of run-time app

Postby Charles » Thu Apr 09, 2009 7:58 am

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.
Charles
 
Posts: 2515
Location: Los Angeles, CA


Return to Discussion

Who is online

Users browsing this forum: No registered users and 28 guests