runtime

Run time used by JQuery

hi, Is it correct to assume that JQuery is not actually an implementation of ECMA spec but rather some kind of framework? If that is true, what run time does it use? For example in IE, does it finally end up with the javascript engine in IE? thanks Sesh ...

Multi line text in Flex doesnt recalculate when runtime css is changed

For loading time considerations I am using a runtime css file in my Flex Application. I am having a problem with a multi line text control : <mx:Text id="txtDescription" selectable="false" styleName="imageRolloverButtonTextDark" width="100%" textAlign="center" text="{_rolloverText}"/> When my CSS stylesheet has loaded the text style ...

How Can I Convert Types at Runtime?

My scenario should be simple... the type I want to convert FROM is ALWAYS 'string'. What I want to convert to... could be many things - ints, DateTimes, ... strings, etc. This would be easy: string valueToConvertFrom = "123"; int blah = Convert.ToInt32(valueToConvertFrom); However... I don't know (until runtime) that the value I nee...

Minimal runtime for Mono for a Vb.net VS2005 app on Windows?

Does anyone know, or have a link to an article or a step by step tutorial, that would tell me how to distribute a .net MONO application with a minimum install? The full package of Mono is like 75 MB but I know al lot of that is the compiler and libraries that I don't need. I just want the minimum runtime files. What files would I need ...

Runtime issues during developing an Eclipse Plugin

Right now, I am trying to create a plug-in of Eclipse which depends on other jar; therefore, I created a plug-in base on the jar and deployed it under my Eclipses' plugin foler. It works well when I start it from my working environment via an Eclipse. However, as soon as I have exported it into a jar and have deployed into Eclipse, it no...

c++ modify resources at runtime

Is it possible to edit resources for an executable at runtime programmatically? If so, how? If not, is there another program that can easily be used to modify resources? Thanks, Derek. ...

what's the runtime equivalent of c# 'bracketed' type cast

suppose I have an enum [Flags] public enum E { zero = 0, one = 1 } then I can write E e; object o = 1; e = (E) o; and it will work. BUT if I try to do that at runtime, like (o as IConvertible).ToType(typeof(E), null) it will throw InvalidCastException. So, is there something that I can invoke at runtime, and it will c...

Descendant Enumeration in Objective-C

Is it possible to get a list of all descendant classes of a particular class in objective-c? Something like: @interface A : NSObject @end @interface B : A @end @interface C : A @end NSArray *descendants = [A allDescendants]; // descendants = [B, C] ...

Mono performance

Are there any performance benchmarks for Mono compared to say Java in GNU/Linux? Have you ever tested Mono's performance? ...

Castle Windsor: How to specify a runtime value as a parameter (E.g. value returned from static function call)

I want to perform this CODE equivlant in the castle xml config file. // Foo(string name) IFoo f = new Foo(StaticBarClass.Name); XML Now for the XML, I know everything (e.g. the blah) except for the stuff inside the parameter part. What would the parameter part look like? <component id="blah" service="blah" t...

Multilingual Flex App

Hi, I'm working on a multilingual flex application that has to run in 27+ languages, including asian, hebrew and arabic, as well as all european languages. We work with an embedded font (Myriad Pro) and have plenty of styles in a css that make use of that embedded font. We've tested with a modified version of Myriad including all non w...

How can one add an XML file in classpath at runtime in java?

I am not sure if a URLClassLoader can be used. Also, only the relative path of the XML is known. Thank You. ...

WPF Enforce only ONE instance of application

How do I allow only one instance of a WPF application to run? Thanks. ...

Common Runtime ?

Hi Something I'm not to clear about, I understand there are differences between C# and VB.NET (mainly in the use of pointers) but why if both have a Common CLR, does XNA (for example) only work with C# and not VB.NET, or is it that the add ins to visual studio have been aimed at C# rather than VB.Net, and infact the language extensions ...

Managing C++ objects in a buffer, considering the alignment and memory layout assumptions

I am storing objects in a buffer. Now I know that I cannot make assumptions about the memory layout of the object. If I know the overall size of the object, is it acceptible to create a pointer to this memory and call functions on it? e.g. say I have the following class: [int,int,int,int,char,padding*3bytes,unsigned short int*] 1) ...

In obj-c is possible to get the parent instance of a property ?

I wonder if is possible in obj-c to acces the parent instance from a property, like: @interface AObject : NSObject { } -(void) sample{ NSLog("%@", [[self parentInstance] Id]); } @interface DbObject : NSObject { NSInteger Id; AObject* ob; } ...

Is switching app.config at runtime possible?

Is there a way at runtime to switch out an applications app.config (current.config to new.config, file for file). I have a backup/restore process which needs to replace its own application.exe.config file. I have seen this post but it does not answer how to do this at runtime. ...

How do I allow my .net program to compile C# code while running?

I've seen a couple .net applications that allow you to select a C# .cs source file and the program itself will compile this code and run it. How is this done? ...

How do I use a Perl package known only in runtime?

Hi, I have a Perl program, that needs to use packages (that I also write). Some of those packages are only chosen in Runtime (based on some environment variable). I don't want to put in my code a "use" line for all of those packages, of course, but only one "use" line, based on this variable, something like: use $ENV{a}; Unfortunatel...

Erlang and run-time record limitations

Im developing an Erlang system and having reoccurring problems with the fact that record's are compile time pre-processor macros (almost), and that they cant be manipulated at runtime... basically Im working with a property pattern, where properties are added at run-time to objects on the front-end (AS3). Ideally I would reflect this wi...