PHP: Detect required version
How could I detect which version of PHP my PHP script requires? The general version like PHP5 or PHP4 could I know myself, but there are some function which are added not in the minor relase. ...
How could I detect which version of PHP my PHP script requires? The general version like PHP5 or PHP4 could I know myself, but there are some function which are added not in the minor relase. ...
If I do the following command on my executable called "version", compiled on Fedora Core 11, I get this output file version version: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, not stripped What's the significance of the 2.6.18 number towards the end, and is it...
Hi Guys, in my class i have a NSMutableArray declared and used. One of the methods of this class however needs to clear the entire array and add new set of objects into it. What would be the best approach to clear it out and add new objects to it from scratch? regards peter ...
I am interesting in hearing if others have addressed release management for Silverlight applications. I have a business application that is to be released shortly andam concerned about how to "release" updates to this application. Typically this application's users will leave the application open all day (and potentially all night) w...
When you allocate and initialize and object, and then want to return that object, how are you supposed to return it? I have the following code: NSXMLDocument* fmdoc = [[NSXMLDocument alloc] initWithContentsOfURL:trackInfoUrl options:NSXMLDocumentTidyXML error:&err]; return [fmdoc autorelease]; Is this correct? ...
The following code in my function (run in a loop) is causing my program to use more and more memory until it crashes. What am I doing wrong? - (void) processTrackValues:(NSMutableArray*) tags { NSImage* trackArt = [tags objectAtIndex:5]; NSMutableArray* tempArtArray = [[NSMutableArray alloc] init]; [tempArtArray addObj...
Hi, I have a maven multi module project. If I need to branch, I use the maven-versions plugin to go through my project and update the parent version number rather easily. Is there a similar plugin to update my scm location in all of my poms? ...
Using Flex Builder 3, I do not have an option to export a release build for my SWC. Is there such a concept - "release" versus "debug" versions for a SWC? ...
Hi, I have a maven module which has several dependencies that are contained in profiles. When preparing a release build using the release plugin (i.e. mvn release:prepare), the versions of those dependencies do not get replaced, instead they remain the SNAPSHOT dependencies, even though the profiles are active (we run mvn release:prepar...
PLEASE READ THE FULL QUESTION BEFORE POST YOUR ANSWER Hello guys! I'm currently developing a "Extremelly customized Installer Application" in C# for installing a old classic ASP application. It'll be used during the 2.0 version is developed (ASP.NET MVC with C#). As its so different from the efault install packages, I've made it as nor...
Do either or both of these date pointers requires a [release] when I'm done with them. How would i know this? I'm unsure since I'm not doing init explicitly. NSDate *date = [NSDate date]; NSDate *date = [dateWithTimeIntervalSince1970:100000000]; ...
In our program, you can select a document type from a list. You then click OK, or double-click the selected item, and a new document is created and shown. Now the problem is that SOMETIMES, in release mode only, when you double-click an item, the app hangs. You can still move windows, and all is repainted fine, but there's just no respo...
I've got a .NET 3.5 Application that was working well. The installation was also working and the application functioned properly after installation. I've fixed a few bugs and rebuilt the setup but now I can't get the installed application to run. I'm completely removing the old install, re-installing and when I run it I get the: Data ...
This is running me nuts. I have this web service implemented w/ C# using VS 2008. I publish it on IIS. I have modified the release build so the pdb files are copied along with the dlls into the target directory on inetpub. Also web.config file has debug=true. Then I call a web service that throws an exception. The stack trace does not...
I'm posting this question again but this time I'm including the full code. It's extremely long, but here goes nothing. I don't know where to release thePath? I believe it's the last of my leaks, hopefully. -(void)MoveObject:(int)Tag { representationX = gameViewObj.spaceshipImageView.center.x; representationY = g...
I am distributing with VS 2008 .NET and obfuscation. I am up against the frustrating problem of not being able to see line numbers in stack traces. Whilst there are workarounds eg. http://stackoverflow.com/questions/1328836/include-line-numbers-in-stack-trace-without-pdb when the stack traces are returned (holding PDB files locally et...
I have a UIView which I create programmatically roughly like so: @implementation SlideShowView - (id)initWithImages { … if (self=[super initWithFrame:CGRectMake(0, 0, 320, 480)]) { // init objects here } return self; } - (void)dealloc { printf("dealloc slide show view\n"); [[NSNotificationCenter defau...
Does anyone know if you can pre-order purchase Microsoft Visual Studio 2010 and get the current edition (2008) for use in the meantime, until 2010 launches in March? ...
I have developed an iPhone app using the navigation controller structure. The active SDK is set to iPhone Simulator 3.1.2 (Base SDK). When the Active Configuration is set to Debug, it works. However, when the Active Configuration is set to Release, the app crashes when it tries to load the second view controller. Here is error message: ...
My iPhone application uses SQLITE's FTS3 functions (specifically MATCH and OFFSET). These are essential to my optimized searching algorithm. I implemented FTS3 by including three SQLITE source files, namely sqlite3.c, sqlite3.h and sqlite3ext.h in my project, under a group named SQLite. I removed from the Frameworks group my previous ref...