<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/">
  <channel>
    <title>Software Programming &amp; Web Scripting</title>
    <description>For discussion of programming applications, but software apps and web based apps, using including PHP, ASP, Perl, Coco, C++, etc.</description>
    <pubDate>Thu, 13 Nov 2014 21:15:16 +0000</pubDate>
    <lastBuildDate>Thu, 13 Nov 2014 21:15:16 +0000</lastBuildDate>
    <generator>macosx.com</generator>
    <link>http://macosx.com/forums/software-programming-web-scripting.19/</link>
    <atom:link rel="self" type="application/rss+xml" href="http://macosx.com/forums/software-programming-web-scripting.19/index.rss"/>
    <item>
      <title>How to recover my lost files of Outlook?</title>
      <pubDate>Thu, 06 Mar 2014 11:49:01 +0000</pubDate>
      <link>http://macosx.com/threads/how-to-recover-my-lost-files-of-outlook.322583/</link>
      <guid>http://macosx.com/threads/how-to-recover-my-lost-files-of-outlook.322583/</guid>
      <author>invalid@example.com (Jack Watson)</author>
      <dc:creator>Jack Watson</dc:creator>
      <content:encoded><![CDATA[Is there any way to get back lost Outlook files data?]]></content:encoded>
      <slash:comments>2</slash:comments>
    </item>
    <item>
      <title>Non-deprecated 10.9 framework for arbitrary-precision numbers?  e.g. BIGNUM or GNU MP</title>
      <pubDate>Sun, 02 Mar 2014 01:04:35 +0000</pubDate>
      <link>http://macosx.com/threads/non-deprecated-10-9-framework-for-arbitrary-precision-numbers-e-g-bignum-or-gnu-mp.322581/</link>
      <guid>http://macosx.com/threads/non-deprecated-10-9-framework-for-arbitrary-precision-numbers-e-g-bignum-or-gnu-mp.322581/</guid>
      <author>invalid@example.com (brianleahy)</author>
      <dc:creator>brianleahy</dc:creator>
      <content:encoded><![CDATA[Technically openssl/bn.h is available, but all of openssl is technically deprecated!<br />
<br />
Of course there are vector-based big number functions, but those only go up to 1024 bits.   While that&#039;s gonna be a mighty big number, for sure, it does not allow numbers of arbitrary size.<br />
<br />
I&#039;ve searched the OSX documentation like crazy and found nothing.   Anyone have an idea?]]></content:encoded>
    </item>
    <item>
      <title>Ptile</title>
      <pubDate>Sat, 24 Aug 2013 00:30:13 +0000</pubDate>
      <link>http://macosx.com/threads/ptile.322372/</link>
      <guid>http://macosx.com/threads/ptile.322372/</guid>
      <author>invalid@example.com (MarionX)</author>
      <dc:creator>MarionX</dc:creator>
      <content:encoded><![CDATA[Is it possible to get a version of the old simple ptile program for the Mac?<br />
<br />
MarionD]]></content:encoded>
    </item>
    <item>
      <title>Setting label stringValue of NSTextField using Objective-C</title>
      <pubDate>Sat, 10 Aug 2013 20:12:32 +0000</pubDate>
      <link>http://macosx.com/threads/setting-label-stringvalue-of-nstextfield-using-objective-c.322345/</link>
      <guid>http://macosx.com/threads/setting-label-stringvalue-of-nstextfield-using-objective-c.322345/</guid>
      <author>invalid@example.com (the1337moderate)</author>
      <dc:creator>the1337moderate</dc:creator>
      <content:encoded><![CDATA[Since I received such a quick response upon my last question that I ask here on this forum, I figured I&#039;d give it another shot. The question is rather lengthy and the site I orginally posted it on has special syntax highlighting, So I&#039;m just going to put the link to it at this time.<br />
<br />
<a href="http://stackoverflow.com/q/18095160/2659234" target="_blank" class="externalLink" rel="nofollow">http://stackoverflow.com/q/18095160/2659234</a><br />
<br />
<a href="http://macosx.com/threads/setting-label-stringvalue-of-nstextfield-using-objective-c.322345/" class="internalLink">Setting label stringValue of NSTextField using Objective-C</a>]]></content:encoded>
    </item>
    <item>
      <title>weird purple, mirrored, shadow reflections in Xcode's xib editor</title>
      <pubDate>Sat, 10 Aug 2013 15:47:45 +0000</pubDate>
      <link>http://macosx.com/threads/weird-purple-mirrored-shadow-reflections-in-xcodes-xib-editor.322330/</link>
      <guid>http://macosx.com/threads/weird-purple-mirrored-shadow-reflections-in-xcodes-xib-editor.322330/</guid>
      <author>invalid@example.com (the1337moderate)</author>
      <dc:creator>the1337moderate</dc:creator>
      <content:encoded><![CDATA[Anyone like my best shot at a descriptive title? I thought I&#039;d deviate from the go-to phrase &quot;HELP ME, IT&#039;S BROKE&quot;. I tried searching for help with this, but I believe it is so abstract of an issue that the almighty google doesn&#039;t even know what I&#039;m talking about. They say a picture speaks a thousands words; I took a screenshot. Any suggestions on how to make them go away would be greatly appreciated....<br />
<br />
<a href="http://macosx.com/threads/weird-purple-mirrored-shadow-reflections-in-xcodes-xib-editor.322330/" class="internalLink">weird purple, mirrored, shadow reflections in Xcode&#039;s xib editor</a>]]></content:encoded>
      <slash:comments>3</slash:comments>
    </item>
    <item>
      <title>Error in Loading Daemon Plist programmatically</title>
      <pubDate>Tue, 19 Mar 2013 05:12:26 +0000</pubDate>
      <link>http://macosx.com/threads/error-in-loading-daemon-plist-programmatically.322093/</link>
      <guid>http://macosx.com/threads/error-in-loading-daemon-plist-programmatically.322093/</guid>
      <author>invalid@example.com (Vgay)</author>
      <dc:creator>Vgay</dc:creator>
      <content:encoded><![CDATA[I&#039;m trying to a Load LaunchDaemon plist from my Mac Application.When i try to load it in terminal it loads successfully, but when i try to load it thru my code, it doesn&#039;t work.<br />
<br />
<b><span style="color: #008000">Here is my code :</span></b><br />


<div class="bbCodeBlock bbCodeCode">
	<div class="type">Code:</div>
	<pre>
    OSStatus status;
    AuthorizationRef authorizationRef;
    status = AuthorizationCreate(NULL, kAuthorizationEmptyEnvironment, kAuthorizationFlagDefaults, &amp;authorizationRef);

    if (status != errAuthorizationSuccess)...</pre>
</div><a href="http://macosx.com/threads/error-in-loading-daemon-plist-programmatically.322093/" class="internalLink">Error in Loading Daemon Plist programmatically</a>]]></content:encoded>
    </item>
    <item>
      <title>How to read a jpg-picture into a bit image</title>
      <pubDate>Fri, 08 Feb 2013 09:07:40 +0000</pubDate>
      <link>http://macosx.com/threads/how-to-read-a-jpg-picture-into-a-bit-image.322005/</link>
      <guid>http://macosx.com/threads/how-to-read-a-jpg-picture-into-a-bit-image.322005/</guid>
      <author>invalid@example.com (gorane)</author>
      <dc:creator>gorane</dc:creator>
      <content:encoded><![CDATA[I have an old program written about 1990 but modified several times.<br />
Around 2005 I started to use a program PixOps.c from Apple Computer to read<br />
&gt; different kinds of picture files. It has work very well until I got<br />
&gt; Mountain Lion. Now I get several error messages. Unfortunately PixOps is<br />
&gt; not available any longer in the system. Can I get PixOps or some other routines to read jpg-pictures into a bit image?<br />
&gt;<br />
&gt; with best regards<br />
&gt;<br />
&gt; Göran Eriksson<br />
&gt; Sweden<br />
&gt;]]></content:encoded>
    </item>
    <item>
      <title>C++(CPP) Vs. Cocoa</title>
      <pubDate>Mon, 04 Feb 2013 15:26:23 +0000</pubDate>
      <link>http://macosx.com/threads/c-cpp-vs-cocoa.317953/</link>
      <guid>http://macosx.com/threads/c-cpp-vs-cocoa.317953/</guid>
      <author>invalid@example.com (Brand0n)</author>
      <dc:creator>Brand0n</dc:creator>
      <content:encoded><![CDATA[can anybody help me? im curious on whether i should start learning Cocoa or C++ first, im going to use Xcode and if all else fails im planning on learning pything... Im 16 and i have always been in love with Game Lvl Design but recently ive been looking at jobs and they want people fluent in CPP (C++) and i also really want to try my hand at making apps for the ipod touch. (not planning on ever selling anything but i think it would be interesting and a good challenge). i guess in the end im not...<br />
<br />
<a href="http://macosx.com/threads/c-cpp-vs-cocoa.317953/" class="internalLink">C++(CPP) Vs. Cocoa</a>]]></content:encoded>
      <slash:comments>5</slash:comments>
    </item>
    <item>
      <title>Better way to read from an NSTask</title>
      <pubDate>Sat, 12 Jan 2013 18:45:29 +0000</pubDate>
      <link>http://macosx.com/threads/better-way-to-read-from-an-nstask.4522/</link>
      <guid>http://macosx.com/threads/better-way-to-read-from-an-nstask.4522/</guid>
      <author>invalid@example.com (rharder)</author>
      <dc:creator>rharder</dc:creator>
      <content:encoded><![CDATA[An earlier thread had information on using NSTimer-s to read from an NSPipe attached to an NSTask. This required regular polling and reading from the NSPipe which seems like kind of a silly way to do it. Apparently there&#039;s a better way, and boy am I glad it&#039;s there. I&#039;ll share it with you.<br />
<br />
Let&#039;s assume you have some controller class that&#039;s going to start up the NSTask and do something with the NSPipe you read. Maybe you&#039;re just going to display the results in an NSTextView that you created...<br />
<br />
<a href="http://macosx.com/threads/better-way-to-read-from-an-nstask.4522/" class="internalLink">Better way to read from an NSTask</a>]]></content:encoded>
      <slash:comments>10</slash:comments>
    </item>
    <item>
      <title>How do I launch a URL using Cocoa  (Objective C)</title>
      <pubDate>Sun, 02 Dec 2012 10:53:45 +0000</pubDate>
      <link>http://macosx.com/threads/how-do-i-launch-a-url-using-cocoa-objective-c.18422/</link>
      <guid>http://macosx.com/threads/how-do-i-launch-a-url-using-cocoa-objective-c.18422/</guid>
      <author>invalid@example.com (konan)</author>
      <dc:creator>konan</dc:creator>
      <content:encoded><![CDATA[I would like to have my application launch a URL. In windows, the code is like<br />
<br />
ShellExecute(...,&quot;<a href="http://www.mylink.com" target="_blank" class="externalLink" rel="nofollow">http://www.mylink.com</a>&quot;,...);<br />
<br />
What is the equivalent command using Objective C and Cocoa?<br />
<br />
Konan<br />
<br />
<a href="http://macosx.com/threads/how-do-i-launch-a-url-using-cocoa-objective-c.18422/" class="internalLink">How do I launch a URL using Cocoa  (Objective C)</a>]]></content:encoded>
      <slash:comments>8</slash:comments>
    </item>
    <item>
      <title>Known Issues with Java Apps Running on Mac OS</title>
      <pubDate>Mon, 12 Nov 2012 16:55:30 +0000</pubDate>
      <link>http://macosx.com/threads/known-issues-with-java-apps-running-on-mac-os.321828/</link>
      <guid>http://macosx.com/threads/known-issues-with-java-apps-running-on-mac-os.321828/</guid>
      <author>invalid@example.com (Dogwood)</author>
      <dc:creator>Dogwood</dc:creator>
      <content:encoded><![CDATA[Is there a resource where I can read about why a .jar file would run fine on a Windows comp but not work on a Mac? This is a program that the user downloads from a website and runs, it&#039;s not run through the browser. I&#039;ve read that in theory Java apps are supposed to be platform-independent, but in reality they are not, unless they are written by someone mindful of the differences. Apparently filepaths are an issue, and according to another site, simply capitalizing certain words causes a...<br />
<br />
<a href="http://macosx.com/threads/known-issues-with-java-apps-running-on-mac-os.321828/" class="internalLink">Known Issues with Java Apps Running on Mac OS</a>]]></content:encoded>
      <slash:comments>4</slash:comments>
    </item>
    <item>
      <title>SQL injection</title>
      <pubDate>Mon, 22 Oct 2012 19:04:16 +0000</pubDate>
      <link>http://macosx.com/threads/sql-injection.321779/</link>
      <guid>http://macosx.com/threads/sql-injection.321779/</guid>
      <author>invalid@example.com (brainusa)</author>
      <dc:creator>brainusa</dc:creator>
      <content:encoded><![CDATA[What is SQL injection? Is it harmful? How I secure my database from being attacked by SQL injection.]]></content:encoded>
      <slash:comments>2</slash:comments>
    </item>
    <item>
      <title>How to detect real desktop and remotely accessed(screen shared) desktop?</title>
      <pubDate>Thu, 23 Aug 2012 06:34:29 +0000</pubDate>
      <link>http://macosx.com/threads/how-to-detect-real-desktop-and-remotely-accessed-screen-shared-desktop.321560/</link>
      <guid>http://macosx.com/threads/how-to-detect-real-desktop-and-remotely-accessed-screen-shared-desktop.321560/</guid>
      <author>invalid@example.com (Vinay L)</author>
      <dc:creator>Vinay L</dc:creator>
      <content:encoded><![CDATA[Hi All,<br />
<br />
On Mac Os the Screen Sharing feature is similar to Remote Desktop Service. Is there a way to determine whether the terminal where we are starting the application(our own application) is real desktop or remotely accessed (screen shared) desktop?<br />
<br />
For Ex:<br />
<br />
I have booted(logged in) the Mac A system with user1 account. From another Mac B machine, i will login to user2 account of Mac A sytem using Screen sharing feature. My application has to run only on real desktop, not on remotely...<br />
<br />
<a href="http://macosx.com/threads/how-to-detect-real-desktop-and-remotely-accessed-screen-shared-desktop.321560/" class="internalLink">How to detect real desktop and remotely accessed(screen shared) desktop?</a>]]></content:encoded>
    </item>
    <item>
      <title>How do I set up files of a specified extension to open in a Java application?</title>
      <pubDate>Wed, 08 Aug 2012 23:18:59 +0000</pubDate>
      <link>http://macosx.com/threads/how-do-i-set-up-files-of-a-specified-extension-to-open-in-a-java-application.321473/</link>
      <guid>http://macosx.com/threads/how-do-i-set-up-files-of-a-specified-extension-to-open-in-a-java-application.321473/</guid>
      <author>invalid@example.com (hbquikcomjamesl)</author>
      <dc:creator>hbquikcomjamesl</dc:creator>
      <content:encoded><![CDATA[We have an internally developed Java application (&quot;emulator.jar&quot;), an IBM 5250 terminal emulator Telnet client, that saves its parameters in a file with an extension of &quot;.5250&quot; for unsecured sessions, or &quot;.5250s&quot; for secured ones. It&#039;s designed to be launched by double-clicking on such a configuration file&#039;s icon; as such, it has the capability to save configuration files from a toolbar button, but it only loads them on launch. It accepts the fully-qualified pathname of the configuration file...<br />
<br />
<a href="http://macosx.com/threads/how-do-i-set-up-files-of-a-specified-extension-to-open-in-a-java-application.321473/" class="internalLink">How do I set up files of a specified extension to open in a Java application?</a>]]></content:encoded>
    </item>
    <item>
      <title>Manipulating other Windows on Mac OS X</title>
      <pubDate>Sun, 08 Jul 2012 08:10:23 +0000</pubDate>
      <link>http://macosx.com/threads/manipulating-other-windows-on-mac-os-x.321343/</link>
      <guid>http://macosx.com/threads/manipulating-other-windows-on-mac-os-x.321343/</guid>
      <author>invalid@example.com (MartinCartier)</author>
      <dc:creator>MartinCartier</dc:creator>
      <content:encoded><![CDATA[i&#039;m working on a software in C, that runs in the background and lists all windows on the desktop periodically, and when a specific word is found (for example por*) this window is closed automatically, but not the whole process.<br />
<br />
i&#039;m using &quot;CGSGetOnScreenWindowList&quot; to get a list of all windows, but i have no idea how to close or hide a specific window.<br />
<br />
thanks]]></content:encoded>
    </item>
    <item>
      <title>Semid not available in second process</title>
      <pubDate>Wed, 27 Jun 2012 04:11:32 +0000</pubDate>
      <link>http://macosx.com/threads/semid-not-available-in-second-process.321304/</link>
      <guid>http://macosx.com/threads/semid-not-available-in-second-process.321304/</guid>
      <author>invalid@example.com (Vinay L)</author>
      <dc:creator>Vinay L</dc:creator>
      <content:encoded><![CDATA[Hi All,<br />
<br />
I am using Semaphores for one of my application on Mac OS(10.6). I am able to successfully create the semaphores, but I am not able to get the semid in another process. The same works fine on Linux machine. I can see the list of semaphores using ipcs command.<br />
<br />
<br />
The Code Snippet is as follows:<br />
<br />
First_Process:<br />
<br />
<br />
#include&lt;stdio.h&gt;<br />
#include &lt;string.h&gt;<br />
#include &lt;sys/ipc.h&gt;<br />
#include &lt;sys/sem.h&gt;<br />
#include &lt;sys/shm.h&gt;<br />
#include &lt;errno.h&gt;<br />
<br />
#define NUMSEMS 1<br />
<br />
int main() {<br />
<br />
int...<br />
<br />
<a href="http://macosx.com/threads/semid-not-available-in-second-process.321304/" class="internalLink">Semid not available in second process</a>]]></content:encoded>
    </item>
    <item>
      <title>Looking for an Image Gallery web application with shopping cart</title>
      <pubDate>Thu, 14 Jun 2012 12:17:14 +0000</pubDate>
      <link>http://macosx.com/threads/looking-for-an-image-gallery-web-application-with-shopping-cart.321232/</link>
      <guid>http://macosx.com/threads/looking-for-an-image-gallery-web-application-with-shopping-cart.321232/</guid>
      <author>invalid@example.com (jsn)</author>
      <dc:creator>jsn</dc:creator>
      <content:encoded><![CDATA[Hi all<br />
<br />
Anyone could recommend an image  gallery web site, with the following characteristics:<br />
	Accepts payments, needs a shopping cart based on PayPal<br />
	Mobilized, displays properly on Android, iPhone, Nokia, and others<br />
	Handles security access<br />
<br />
I am looking for open source solution that I can customize or CMS.<br />
<br />
Help!]]></content:encoded>
      <slash:comments>1</slash:comments>
    </item>
    <item>
      <title>How to create local iPhone and iPad applications</title>
      <pubDate>Thu, 10 May 2012 13:41:54 +0000</pubDate>
      <link>http://macosx.com/threads/how-to-create-local-iphone-and-ipad-applications.321132/</link>
      <guid>http://macosx.com/threads/how-to-create-local-iphone-and-ipad-applications.321132/</guid>
      <author>invalid@example.com (jsn)</author>
      <dc:creator>jsn</dc:creator>
      <content:encoded><![CDATA[Hi all<br />
<br />
I have a request to create a specific iPad/iPhone application for a customer to be used only by their company. It is a proprietary application.<br />
<br />
Is there a way to deploy an application directly on a local network from where the company will load on their iPads<br />
<br />
thanks]]></content:encoded>
      <slash:comments>1</slash:comments>
    </item>
    <item>
      <title>XCode help - specifying the source of stdin</title>
      <pubDate>Tue, 17 Apr 2012 20:44:43 +0000</pubDate>
      <link>http://macosx.com/threads/xcode-help-specifying-the-source-of-stdin.300226/</link>
      <guid>http://macosx.com/threads/xcode-help-specifying-the-source-of-stdin.300226/</guid>
      <author>invalid@example.com (g4c9z)</author>
      <dc:creator>g4c9z</dc:creator>
      <content:encoded><![CDATA[I am trying to write a command-line application with XCode.<br />
<br />
My application takes input from stdin.  The way I normally use it is to use redirection to specify the input file.  For example:<br />
<br />


<div class="bbCodeBlock bbCodeCode">
	<div class="type">Code:</div>
	<pre>program &lt; input.txt</pre>
</div>In XCode, this is presumably specified by creating an executable and editing its info, via Project -&gt; Edit Active Executable &quot;...&quot;.<br />
<br />
But the dialog doesn&#039;t explain how to specify where input comes from.  Changing the arguments to include &quot;&lt; input.txt&quot; doesn&#039;t work,...<br />
<br />
<a href="http://macosx.com/threads/xcode-help-specifying-the-source-of-stdin.300226/" class="internalLink">XCode help - specifying the source of stdin</a>]]></content:encoded>
      <slash:comments>6</slash:comments>
    </item>
    <item>
      <title>Rapid Application Development</title>
      <pubDate>Thu, 16 Feb 2012 01:16:15 +0000</pubDate>
      <link>http://macosx.com/threads/rapid-application-development.320688/</link>
      <guid>http://macosx.com/threads/rapid-application-development.320688/</guid>
      <author>invalid@example.com (OmnisUser)</author>
      <dc:creator>OmnisUser</dc:creator>
      <content:encoded><![CDATA[We are looking for new users in Australia, New Zealand and South East Asia, for our new Product Omnis Studio 5.2.  A developer tool for building cross platform Rich Hybrid Applicatons ie applications that will run on the desktop, netbook environment, tablets and smartphones.  For those of you interested, We are holding a preview and developer training session from 20th March to 22 March 2012.  If you are interested you can register here --&gt; <a href="http://www.dlagroup.com.au" target="_blank" class="externalLink" rel="nofollow">www.dlagroup.com.au</a>.<br />
The tool allows you...<br />
<br />
<a href="http://macosx.com/threads/rapid-application-development.320688/" class="internalLink">Rapid Application Development</a>]]></content:encoded>
    </item>
  </channel>
</rss>
