Hi,
I am developing an iPad application that plays videos from Internet Video Archive (IVA).
I can play the IVA URL in iPad-Safari. But, I am able to get it streamed in my app.
I am doing the following things to play the video:
Add an outlet to webview in the nib.
I have written the following code in my play method:
NSString *myU...
/usr/include/c++/4.4/bits/ios_base.h: In member function ‘std::basic_ios >& std::basic_ios >::operator=(const std::basic_ios >&)’:
/usr/include/c++/4.4/bits/ios_base.h:793: error: ‘std::ios_base& std::ios_base::operator=(const std::ios_base&)’ is private
/usr/include/c++/4.4/iosfwd:47: error: within this context
/usr/include/c++...
I have a simple LAMP stack with a php REST API. Periodically, the server returns the following error xml:
<Error>
−
<reason>
Service temporarily unavailable. Please try again later.
</reason>
</Error>
What is producing this error? Is it Apache?
I search the Apache logs and was unable to find any errors that would indicate this type o...
After upgrading to a newer version of Xcode, when I build my project I get and error:
File type mismatch (~), OutputModelPrefs.nib.
I have tried Googling and the Apple Developer Forum but I can't find out exactly what the problem is. Can anyone shed any light on what the problem might be?
...
I am using EVC++ and I want to compile the program which uses the sockets.
I've included
#include <winsock2.h>
And I have included in project properties a path to Ws2.lib
But still get the error at link step:
error LNK2019: unresolved external symbol WSAStartup referenced in function ...
How to resolve this problem?
...
Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).
I am using it in Gridview's EditTemplate Field to show color with ajax 3.5
This is my master page hierarchy
<%@ Master Language="C#" AutoEventWireup...
I have a program in native C++ under windows that uses a VB6 DLL. The C++ app crashes with a "Floating Point In-exact Result" error when using that DLL, for a certain action.
When I go into debug and do view assembler I get this line:
75A0FB7C je 759E8797
When you hover over the right most address it shows a tooltip with ...
I am working with external data that's encoded in latin1. So I've add sitecustomize.py and in it added
sys.setdefaultencoding('latin_1')
sure enough, now working with latin1 strings works fine.
But, in case I encounter something that is not encoded in latin1:
s=str(u'abc\u2013')
I get UnicodeEncodeError: 'latin-1' codec can't en...
Hi,
to execute an .sql script file from ANT it works fine using the following task:
<sql
classpath="${oracle.jar}" driver="oracle.jdbc.OracleDriver"
url="jdbc:oracle:thin:@@@{db.hostname}:@{db.port}:@{db.sid}"
userid="@{db.user}"
password="@{db.password}"
src="@{db.sql.script}" />
But if the .sql file not only c...
I'm getting this fatal error message:
Fatal error: Can't use method return value in write context in C:\wamp\www\mySite\application\controllers\eventsManager.php on line 115
Could someone tell me what it means?
The line it refers to is this:
$this->session->set_flashdata('alert') = '<ul>'.validation_errors('<li>','</li>').'</ul>';
...
Ok, here's the deal. I have an array (inputted from a 400 MB file) where if I run the sort() command on it, comp runs out of memory. The input file isn't the problem, so I've decided to break the initial array into smaller arrays that I can perform the sort on. I can break the initial array into arrays of size 100k, which my code does...
Hey everybody.
So I built my iPhone app and it runs fine in the simulator so I wanted to deploy it to my iPhone for one last testing round before I go into open beta testing wiht my distribution profile. I did this numerous times already and it has never been a problem. However since the last test run I upgraded both my iPhone (iOS 4) a...
I had a user email me with an error message that occurred when he was attempting to save a record to an Access 2003 database. Nothing unusual other than the error message that she can't save database design changes and she was only attempting to save a record.
Here is the full error message ...
"Microsoft Office Access can't save
...
Hello,
I am using Zend Debugger to debug my php application built based on the Zend Framework.
Currently I am running the 1.10.6 version.
When debugging my application i Get this error:
Compile Error: /var/www/Zend/ZendFramework-1.10.6/library/Zend/Loader/Autoloader.php line 36 - Cannot redeclare class Zend_Loader_Autoloader
Is this...
I'm working on a project and I used the the Images Python API .
For instance in the example given in http://code.google.com/appengine/docs/python/images/usingimages.html
I get an error when ever I do not upload a photo, How can I modify the code so I don't get an error when I don't post anything.
thanks
...
i'm trying to insert data into xml using php domdocument. however when i hit enter, it just displays a blank page showing no error. what am i doing wrong?
UPDATED:
<?php
error_reporting(E_ALL);
ini_set("display_errors", 1);
$xmldoc = new DOMDocument();
if(file_exists('test.xml')){
$xmldoc->load('test.xml');
} els...
I am migrating data from one table to a new table. The old table uses FLOAT, and in the new table I am using DECIMAL as the field attribute.
I am using the following statement which worked fine:
CAST(OLD_COLUMN_NAME as DECIMAL(9,2) AS 'NEW_COLUMN_NAME'
that works like a charm until I hit the bump in the road. The old data is defined as...
I am trying to draw a map with routes from a file. I am trying to learn this procedure by following this blog (http://spitzkoff.com/craig/?p=108).
When the process hits my function, it terminates (I have given the error message below)
- (void) drawRoute {
//
// load the points from our local resource
//
NSString* filePath = [[NSBundle ...
When I ping from windows CE I got ping error:
PING: transmit failed, error code 87
But only some IPs can be successfully pinged.
What does this mean, the 87 error?
...
In one of my programs I am using rundll32.exe url.dll,FileProtocolHandler c:\path\to\a.file to open files. I would like to handle errors in case this file could not be opened but I can't figure out how to find out if there was an error or not.
That's my code:
QProcess::startDetached( QString( "rundll32.exe url.dll,FileProtocolHandler " ...