Help with Pro*C/C++ precompiler error

Hello.
I have a little experience working with Pro*C/C++ and now I am trying to learn more by my own.
I think this is an easy question. I am trying to precompile the Thread_example1.pc code from Pro*C/C++ Precompiler Programmer's Guide, Release 9.2 (I am trying it in a windows machine because I have pthreads for windows installed, so that I have commented the DCE_THREADS references).
The thing is I am not able to precompile the code (I have tried several precompiler options).
Now I am getting the error (I am sorry it is in Spanish):
Error semßntico en la lÝnea 126, columna 32, archivo d:\Ejercicios_ProC\MultithreadExample\Thread_example1.pc:
EXEC SQL CONTEXT ALLOCATE :ctx;
...............................1
PCC-S-02322, se ha encontrado un identificador no definido
The thing is that it is defined (outside a EXEC SQL DECLARE section but the precompiler CODE is set to default that does not need to be inside).
If I declare it inside a EXEC SQL DECLARE section I get:
Error semßntico en la lÝnea 105, columna 18, archivo d:\Ejercicios_ProC\MultithreadExample\Thread_example1.pc:
sql_context ctx[THREADS];
.................1
PCC-S-02322, se ha encontrado un identificador no definido
I have also tried writing EXEC SQL CONTEXT USE :ctx[THREADS]; just before the declare section but I get the same error than before.
Can someone help me?

Hmm, try the updated one (mltthrd1.pc). I've tried it (and a converted-to-pthread version on Linux). Both work fine. What version of Pro*C are you using?
NAME
  MltThrd1
FUNCTION
NOTES
  32-bit Pro*C/C++ Multithreaded sample program from Pro*C/C++ User's Guide.
Requirements
  The program requires a table ACCOUNTS to be in the schema
  SCOTT/TIGER. The description of ACCOUNTS is.
SQL> desc accounts
Name                  Null?   Type
ACCOUNT                       NUMBER(10)
BALANCE                       NUMBER(12,2)
For proper execution, the table should be filled with the
accounts 10001 to 10008.
     shsu: run MltThrd1.sql first.
OWNER
DATE
MODIFIED
  rahmed     10/10/96 - ported for WIN32 port.
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sqlca.h>
#define CONNINFO "SCOTT/TIGER"
#define THREADS 3
EXEC SQL BEGIN DECLARE SECTION;
     struct parameters
          sql_context * ctx;
          int thread_id;
     typedef struct parameters parameters;
     struct record_log
          char action;
          unsigned int from_account;
          unsigned int to_account;
          double amount;
     typedef struct record_log record_log;
EXEC SQL END DECLARE SECTION;
/* Function prototypes   */
void err_report(struct sqlca);
void do_transaction(parameters *);
void get_transaction(record_log**);
void logon(sql_context,char *);
void logoff(sql_context);
record_log records[]= { { 'M', 10001, 10002, 12.50 },
               { 'M', 10001, 10003, 25.00 },
               { 'M', 10001, 10003, 123.00 },
               { 'M', 10001, 10003, 125.00 },
               { 'M', 10002, 10006, 12.23 },
               { 'M', 10007, 10008, 225.23 },
               { 'M', 10002, 10008, 0.70 },
               { 'M', 10001, 10003, 11.30 },
               { 'M', 10003, 10002, 47.50 },
               { 'M', 10002, 10006, 125.00 },
               { 'M', 10007, 10008, 225.00 },
               { 'M', 10002, 10008, 0.70 },
               { 'M', 10001, 10003, 11.00 },
               { 'M', 10003, 10002, 47.50 },
               { 'M', 10002, 10006, 125.00 },
               { 'M', 10007, 10008, 225.00 },
               { 'M', 10002, 10008, 0.70 },
               { 'M', 10001, 10003, 11.00 },
               { 'M', 10003, 10002, 47.50 },
               { 'M', 10008, 10001, 1034.54}};
static unsigned int trx_nr=0;
HANDLE hMutex;
void main()
     EXEC SQL BEGIN DECLARE SECTION;
          sql_context ctx[THREADS];
     EXEC SQL END DECLARE SECTION;  
     HANDLE thread[THREADS];
     parameters params[THREADS];
     int j;
     DWORD ThreadId ;
     /* Initialize a process in which to spawn threads. */
     EXEC SQL ENABLE THREADS;
     EXEC SQL WHENEVER SQLERROR DO err_report(sqlca);
     /* Create THREADS sessions by connecting THREADS times, each
     connection in a separate runtime context. */
     for(i=0; i<THREADS; i++){
          printf("Start Session %d....\n",i);
          EXEC SQL CONTEXT ALLOCATE :ctx[j];
          logon(ctx[j],CONNINFO);
     /* Create mutex for transaction retrieval.
        Created an unnamed/unowned mutex. */
     hMutex=CreateMutex(NULL,FALSE,NULL);
     if (!hMutex){
          printf("Can't initialize mutex\n");
          exit(1);
     /* Spawn threads. */
     for(i=0; i<THREADS; i++){
          params[j].ctx=ctx[j];
          params[j].thread_id=i;
          printf("Thread %d... ",i);
          thread[j]=CreateThread(NULL,0,(LPTHREAD_START_ROUTINE)do_transaction,
                                 &params[j],0,&ThreadId);
          if (!thread[j])
               printf("Cant create thread %d\n",i);
          else
               printf("Created\n");
     /* Logoff sessions. */
     for(i=0;i<THREADS;i++){
          printf("Waiting for Thread %d to stop....",i); /* waiting for thread to end */
          if(WaitForSingleObject(
                         thread[j],                       /* handle of thread  */
                         INFINITE) != WAIT_OBJECT_0)      /* time-out interval */
               printf("Error waiting for thread % to terminate\n", i);
          else
               printf("Thread %d stopped\n",i);
          printf("Stop Session %d....\n",i);
          logoff(ctx[j]);
          EXEC SQL CONTEXT FREE :ctx[j];
} /* end main() */
* Function: do_transaction()
* Description: This function executes one transaction out of
*                          the records array. The records array is managed
*                          by get_transaction().
void do_transaction(parameters *params)
struct sqlca sqlca;
EXEC SQL BEGIN DECLARE SECTION;
     record_log *trx;
EXEC SQL END DECLARE SECTION;
sql_context ctx;
ctx = params->ctx;
     /* Done all transactions ? */
     while (trx_nr < (sizeof(records)/sizeof(record_log))){
          get_transaction(&trx);
          EXEC SQL WHENEVER SQLERROR DO err_report(sqlca);
          /* Use the specified SQL context to perform the executable SQL
          statements that follow. */
          EXEC SQL CONTEXT USE :ctx;
          printf("Thread %d executing transaction # %d\n",params->thread_id,trx_nr);
          switch(trx->action){
               case 'M':       EXEC SQL UPDATE ACCOUNTS
                              SET BALANCE=BALANCE+:trx->amount
                              WHERE ACCOUNT=:trx->to_account;
                              EXEC SQL UPDATE ACCOUNTS
                              SET BALANCE=BALANCE-:trx->amount
                              WHERE ACCOUNT=:trx->from_account;
                              break;
               default:
                              break;
          EXEC SQL COMMIT;
* Function: err_report()
* Description: This routine prints the most recent error.
void err_report(struct sqlca sqlca)
     if (sqlca.sqlcode < 0)
          printf("\n%.*s\n\n",sqlca.sqlerrm.sqlerrml,sqlca.sqlerrm.sqlerrmc);
     exit(1);
* Function: logon()
* Description: This routine logs on to Oracle.
void logon(sql_context ctx,char *conninfo){
     EXEC SQL BEGIN DECLARE SECTION;
          char connstr[20];
     EXEC SQL END DECLARE SECTION;
     EXEC SQL CONTEXT USE :ctx;
     strcpy(&connstr[0],(char*)conninfo);
     EXEC SQL CONNECT :connstr;
* Function: logoff()
* Description: This routine logs off from Oracle.
void logoff(sql_context ctx)
     EXEC SQL CONTEXT USE :ctx;
     EXEC SQL COMMIT WORK RELEASE;
* Function: get_transaction()
* Description: This functions manages the records array.
void get_transaction(record_log** temp)
DWORD dwWaitResult;
     /* Request ownership of mutex. */
     dwWaitResult=WaitForSingleObject(
                         hMutex,      /* handle of mutex   */
                         INFINITE);       /* time-out interval */
     switch (dwWaitResult) {
    /* The thread got mutex ownership. */
    case WAIT_OBJECT_0:
                    *temp = &records[trx_nr];
                    trx_nr++;
                    /* Release ownership of the mutex object. */
     if (! ReleaseMutex(hMutex))
                         printf("Not able to release mutex\n");
     break;
    /* Cannot get mutex ownership due to time-out. */
    case WAIT_TIMEOUT:
                         printf("Cannot get mutex ownership due to time-out\n");
    /* Got ownership of the abandoned mutex object. */
    case WAIT_ABANDONED:
                         printf("Got ownership of the abandoned mutex object\n");
}

Similar Messages

  • Please help with SSL POST: Servlet returns Error 500

    I am struggling for many days to get a Java program to log in to an SSL page. The program is supposed to track ADSL usage statistics from https://secure.telkomsa.net/titracker/, but I never seem to get around Server returned Error 500.
    Could anyone please help me understand what I am doing wrong by looking at the method I used. (It seems on the server side it is a jsp servlet that handles authentication).
    Any help is deeply appreciated!
    I copy-paste the method directly from NetBeans:
    CODE>
    void connectHTTPS(String url){
    try {
    URL page = new URL(url); // login page necessary to get a jsp session cookie
    //------------ SET UP SSL - is it right?
    System.setProperty("java.protocol.handler.pkgs",
    "com.sun.net.ssl.internal.www.protocol");
    try {
    //if we have the JSSE provider available,
    //and it has not already been
    //set, add it as a new provide to the Security class.
    final Class clsFactory = Class.forName("com.sun.net.ssl.internal.ssl.Provider");
    if( (null != clsFactory) && (null == Security.getProvider("SunJSSE")) )
    Security.addProvider((Provider)clsFactory.newInstance());
    } catch( ClassNotFoundException cfe ) {
    throw new Exception("Unable to load the JSSE SSL stream handler." +
    "Check classpath." + cfe.toString());
    URLConnection urlc = page.openConnection();
    urlc.setDoInput(true);
    *Get the session id cookie set by the TelkomInternet java server
    String cookie = urlc.getHeaderField("Set-Cookie");
    //textpane.setText(totextpane);
    textpane.setText(cookie);
    //---------------- form an auth request and post it with the cookie
    String postdata =URLEncoder.encode("ID_Field","UTF-8")+"="+URLEncoder.encode("myusrname","UTF-8")+"&"+URLEncoder.encode("PW_Field","UTF-8")+"="+URLEncoder.encode("mypwd","UTF-8")+"&"+URLEncoder.encode("confirm","UTF-8")+"="+URLEncoder.encode("false","UTF-8");
    // set the servlet that handles authentication as target
    URL page2 = new URL("https://secure.telkomsa.net/titracker/servlet/LoginServlet");
    // cast to httpConn to enable setRequestMethod()
    HttpURLConnection urlc2 = (HttpURLConnection)page2.openConnection();
    // formulate request with POST data urlc2.setRequestProperty("Content-Type","application/x-www-form-urlencoded");
    urlc2.setRequestMethod("POST"); // experimental
    urlc2.setRequestProperty("Content-Length",""+postdata.length());
    urlc2.setRequestProperty("User-Agent","Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)");
    urlc2.setRequestProperty("Accept-Language","en-us");
    urlc2.setUseCaches(false);
    urlc2.setDoOutput(true);
    urlc2.setDoInput(true);
    urlc2.setFollowRedirects(true); // ??
    //send cookies
    urlc2.setRequestProperty("Set-Cookie", cookie); // or "Cookie" - doesn't work either
    //write other data
    PrintWriter out = new PrintWriter(urlc2.getOutputStream());
    out.print(postdata); // username and password here
    out.flush();
    out.close();
    //---------------- get the authenticated page with real ADSL statistics
    BufferedReader br = new BufferedReader(new InputStreamReader(urlc2.getInputStream()));
    String totextpane = "";
    String buffer = "";
    while (buffer != null) {
    try {
    totextpane = totextpane + "\n" + buffer;
    buffer = br.readLine();
    } catch (IOException ioe) {
    ioe.printStackTrace();
    break;
    textpane.setText(totextpane);
    } catch (Exception ex) {
    System.err.println(ex.getMessage());
    ---- END CODE---
    Thank you very much for any attempt at helping with this problem!

    I am struggling for many days to get a Java program to log in to an SSL page. The program is supposed to track ADSL usage statistics from https://secure.telkomsa.net/titracker/, but I never seem to get around Server returned Error 500.
    Could anyone please help me understand what I am doing wrong by looking at the method I used. (It seems on the server side it is a jsp servlet that handles authentication).
    Any help is deeply appreciated!
    I copy-paste the method directly from NetBeans:
    CODE>
    void connectHTTPS(String url){
    try {
    URL page = new URL(url); // login page necessary to get a jsp session cookie
    //------------ SET UP SSL - is it right?
    System.setProperty("java.protocol.handler.pkgs",
    "com.sun.net.ssl.internal.www.protocol");
    try {
    //if we have the JSSE provider available,
    //and it has not already been
    //set, add it as a new provide to the Security class.
    final Class clsFactory = Class.forName("com.sun.net.ssl.internal.ssl.Provider");
    if( (null != clsFactory) && (null == Security.getProvider("SunJSSE")) )
    Security.addProvider((Provider)clsFactory.newInstance());
    } catch( ClassNotFoundException cfe ) {
    throw new Exception("Unable to load the JSSE SSL stream handler." +
    "Check classpath." + cfe.toString());
    URLConnection urlc = page.openConnection();
    urlc.setDoInput(true);
    *Get the session id cookie set by the TelkomInternet java server
    String cookie = urlc.getHeaderField("Set-Cookie");
    //textpane.setText(totextpane);
    textpane.setText(cookie);
    //---------------- form an auth request and post it with the cookie
    String postdata =URLEncoder.encode("ID_Field","UTF-8")+"="+URLEncoder.encode("myusrname","UTF-8")+"&"+URLEncoder.encode("PW_Field","UTF-8")+"="+URLEncoder.encode("mypwd","UTF-8")+"&"+URLEncoder.encode("confirm","UTF-8")+"="+URLEncoder.encode("false","UTF-8");
    // set the servlet that handles authentication as target
    URL page2 = new URL("https://secure.telkomsa.net/titracker/servlet/LoginServlet");
    // cast to httpConn to enable setRequestMethod()
    HttpURLConnection urlc2 = (HttpURLConnection)page2.openConnection();
    // formulate request with POST data urlc2.setRequestProperty("Content-Type","application/x-www-form-urlencoded");
    urlc2.setRequestMethod("POST"); // experimental
    urlc2.setRequestProperty("Content-Length",""+postdata.length());
    urlc2.setRequestProperty("User-Agent","Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)");
    urlc2.setRequestProperty("Accept-Language","en-us");
    urlc2.setUseCaches(false);
    urlc2.setDoOutput(true);
    urlc2.setDoInput(true);
    urlc2.setFollowRedirects(true); // ??
    //send cookies
    urlc2.setRequestProperty("Set-Cookie", cookie); // or "Cookie" - doesn't work either
    //write other data
    PrintWriter out = new PrintWriter(urlc2.getOutputStream());
    out.print(postdata); // username and password here
    out.flush();
    out.close();
    //---------------- get the authenticated page with real ADSL statistics
    BufferedReader br = new BufferedReader(new InputStreamReader(urlc2.getInputStream()));
    String totextpane = "";
    String buffer = "";
    while (buffer != null) {
    try {
    totextpane = totextpane + "\n" + buffer;
    buffer = br.readLine();
    } catch (IOException ioe) {
    ioe.printStackTrace();
    break;
    textpane.setText(totextpane);
    } catch (Exception ex) {
    System.err.println(ex.getMessage());
    ---- END CODE---
    Thank you very much for any attempt at helping with this problem!

  • Please help with Windows 7 x64 System error: Critical Kernel-power Event 41

    I'm recieving this error while moving my laptop or working with it? Can someone help me to read memory dumps and to understand what causes this error please?
    Where i can fount theese dump files? Can someone read them and is it possible to understand what is happening?
    I have made full check of my memory and there are No errors I've also checked HDD with regenerator there are no errors too. but this not means that they can not be the problem. There is doubt about one of my HDD because when laptop is blocking there is bad
    noise from HDD.
    PS: There is another issue which is strange two of times when this happens the whole MBR was destroyed and the system refuses to boot ... only reboots. And i made bootrec /fixboot /fixmbr and this solve the problem ... I don't know is this connected with
    system error, but i'm trying to give more details.
    Thanks a lot.
    Here are i'm posting my error details: 
    System
    Provider
    [ Name]
    Microsoft-Windows-Kernel-Power
    [ Guid]
    {331C3B3A-2005-44C2-AC5E-77220C37D6B4}
    EventID
    41
    Version
    2
    Level
    1
    Task
    63
    Opcode
    0
    Keywords
    0x8000000000000002
    TimeCreated
    [ SystemTime]
    2011-06-25T20:38:38.328017300Z
    EventRecordID
    7571
    Correlation
    Execution
    [ ProcessID]
    4
    [ ThreadID]
    8
    Channel
    System
    Computer
    Rumen-PC
    Security
    [ UserID]
    S-1-5-18
    EventData
    BugcheckCode
    0
    BugcheckParameter1
    0x0
    BugcheckParameter2
    0x0
    BugcheckParameter3
    0x0
    BugcheckParameter4
    0x0
    SleepInProgress
    true
    PowerButtonTimestamp
    129535076822776383

    Before every critical Errors in event log i found information about Kernel Power I'm pasting it here: 
    System
    Provider
    [ Name]
    Microsoft-Windows-Kernel-Power
    [ Guid]
    {331C3B3A-2005-44C2-AC5E-77220C37D6B4}
    EventID
    89
    Version
    0
    Level
    4
    Task
    86
    Opcode
    0
    Keywords
    0x8000000000000020
    TimeCreated
    [ SystemTime]
    2011-06-27T16:07:21.023625500Z
    EventRecordID
    9262
    Correlation
    Execution
    [ ProcessID]
    4
    [ ThreadID]
    44
    Channel
    System
    Computer
    Rumen-PC
    Security
    [ UserID]
    S-1-5-18
    EventData
    ThermalZoneDeviceInstanceLength
    21
    ThermalZoneDeviceInstance
    ACPI\ThermalZone\TZS1
    AffinityCount
    1
    _PSV
    0
    _TC1
    0
    _TC2
    0
    _TSP
    0
    _AC0
    0
    _AC1
    0
    _AC2
    0
    _AC3
    0
    _AC4
    0
    _AC5
    0
    _AC6
    0
    _AC7
    0
    _AC8
    0
    _AC9
    0
    _CRT
    361
    _HOT
    0
    _PSL
    0000000000000000
    System
    Provider
    [ Name]
    Microsoft-Windows-Kernel-Power
    [ Guid]
    {331C3B3A-2005-44C2-AC5E-77220C37D6B4}
    EventID
    89
    Version
    0
    Level
    4
    Task
    86
    Opcode
    0
    Keywords
    0x8000000000000020
    TimeCreated
    [ SystemTime]
    2011-06-27T16:07:21.039225600Z
    EventRecordID
    9263
    Correlation
    Execution
    [ ProcessID]
    4
    [ ThreadID]
    44
    Channel
    System
    Computer
    Rumen-PC
    Security
    [ UserID]
    S-1-5-18
    EventData
    ThermalZoneDeviceInstanceLength
    21
    ThermalZoneDeviceInstance
    ACPI\ThermalZone\TZS0
    AffinityCount
    1
    _PSV
    359
    _TC1
    0
    _TC2
    50
    _TSP
    0
    _AC0
    0
    _AC1
    0
    _AC2
    0
    _AC3
    0
    _AC4
    0
    _AC5
    0
    _AC6
    0
    _AC7
    0
    _AC8
    0
    _AC9
    0
    _CRT
    361
    _HOT
    0
    _PSL
    0000000000000000
    These two informations are before every critical error.

  • Can anyone help with an out of memory error on CS2?

    Hello,
    I have been battling with an out of memory error on a dell laptop running 2gb of ram. I have had no prior issues with this laptop running CS2 until last week when I started getting the out of memory errors. I have seen several articles about this occuring on later versions of illustrator. Just prior to this issue appearing I had to delete and rebuild the main user profile on the computer due to it consistently logging into a temporary account.
    Once the new profile was established and all user documents and profile settings were transferred back into it, this problem started showing up. The error occurs when clicking on files listed as Illustrator files, and when opening the illustrator suite. Once I click on the out of memory error it still continues to load illustrator. The files are located on a server and not on the remote computer. I have tried to copy the files to the local hard drive with the same result when I try to open them. I also tried to change the extension to .pdf and got no further. I tried to open a file and recreate the work and all I got was the black outline of the fonts. none of the other artwork appeared. once rebuilt, when trying to save, It gives the out of memory error and does not save the file.
    Illustrator was installed on another dell laptop, same model, etc and works fine. no problem accessing network files. I just attempted to use Illustrator from the admin profile on the machine in question and it works fine and lightening fast. Just not from the new rebuilt profile. I have tried to uninstall and reinstall the software. it has not helped. could there be stray configuration settings that we transfered over to the new profile that should not have been?
    Any insights will be helpful.
    Thank You,
    Brad Yeutter

    Here are some steps that could help you:
    http://kb2.adobe.com/cps/320/320782.html
    http://kb2.adobe.com/cps/401/kb401053.html
    I hope this helps!

  • Where is a link to the Premiere Pro CC 2014.1 (8.1) update? - Can I get help with the ticktime.cpp-290 error?

    Ola to precisando do premiere versao 8.1 caravan consegue o link?
    Message was edited by: Kevin Monahan
    Reason: needed better title

    Hi Kevin,
    I posted about the same problem (TickTime.cpp-290 error) in another thread, but since you're asking here specific questions to resolve it, I'm answering it here.
    Re: Debug Event: [...\ ...\src\TickTime.cpp-290]
    What were you doing when this error started to occur?
              Nothing special I remember. The only thing I do recall, is:
              I was working with Premiere Pro (where the main project is), After Effects but rendering some PNG sequence, and Adobe Media Encoder. I sent from AE to AME a project to render. Configured 2 outputs (PNG & MP4). The same way I sent from PP a project to render and one error occured. Unfortunately I didn't write down the error, but it was like a path C://AME_64/something. But the AME queue updated and everything seemed OK. I close AME to be sure that the error wouldn't be the source of future error during rendering, and relaunched it. And at that time I couldn't open it. I got the error "Adobe Media Encoder has encountered an unexpected error and cannot continue". The only way I found to resolve this is to remove the directory /Users/%USERNAME%/My Documents/Adobe/Adobe Media Encoder/8.0/". The problem seems to appear when I save the queue. And since that time, Premiere do the TickTime.cpp-290 error.
              Another thing I noticed, don't know if it was there before, is, the AEP file in AME queue setttings displayed framerate as "25 / 29.97 / 30 / ...", a 2 digits number for the framerate. But suddenly (I thought first it was because of the Premiere Pro file being added to the queue, but no because it appended after without it), it was displayed as "25 000 / 29 970 / 30 000", a 5 digit number.
              After that, the TickTime.cpp-290 appeared. Sometimes when opening project, sometimes and resetting or changing the workspace (because it was messed up), sometimes when closing.
    Do you have iCloud installed?
              No.
    Is this a Premiere Pro CC 2014.0 or Premiere Pro CC 2014.1 project that was updated to Premiere Pro CC 2014.2? If so:
              It started long time ago a draft in CS6, but since I reopen the project, I saved new versions in Premiere Pro CC 2014.2 (not sure if I have other version like 2014.1 or 2014.0). Is there a way to know which 2014 version are my files? If I look into the XML I only saw Version="28"
    Do you have a copy that can be opened in an earlier version?
                  An old draft version in CS6. But that version has footage in different framerate and not all be interpreted at the timeline framerate.
    Do you get the same error in that earlier version?
                   No error here, the file opens properly.
                  Additional info: I tried to open the 2014.2 file on another computer (where PP 2014.2 is installed) and same problem (this computer is on Win7 64-bit)
    Did you use any unusual footage types in your project?
         I used MOV (Animation), MP4 (H264), and PNG sequence. The framerates of the footages are 24,25,30 and 60fps (but everything has been interpreted in 30fps)
    If you remove them, do you still get an error?
                  When I had the error, but not when I open the project file, I resave the file removing anything not interpreted in 30fps (because at that time I still had footage interpreted in their original framerate). I was able to work for some time, but now I can't open it anymore despite that.
    Was the fps interpretation changed in any of the clips?
         Since the error appeared, and because I saw in another thread that it could be related to footage of different framerate, my timeline is now in 30fps and all the footage have been interpreted in 30fps. Footage are MP4, MOV, PNG sequence in 24, 25, 30 & 60fps.
    If so, restore them to their original fps and see if you still get the error.
                  Unfortunately, since I can't open the project anymore, I can't test that.
    Did you use Warp Stabilizer?
              No.
    Do you have any browser plug-ins?
              What do you call browser plug-in in Premiere?
    Are there any third party plug-ins used?
              I have Magic Bullet Looks 2, and I'm using it on this project.
    If so, remove the effect from those clips and see if it improves the situation.
                  Unfortunately, since I can't open the project anymore, I can't test that.
    Some additional infos on my computer.
    I use Windows 8.1 (64-bit),  all Adobe softwares installed have the last update (for video apps, it's 2014.2)
    The language settings are configured in French, but Windows and CC apps are in English.
    If needed the 2014.2 project file is here:
    https://dl.dropboxusercontent.com/u/68413846/showreel19_30fps.prproj
    Thanks in advance to help us to resolve this weird bug.
    Christophe.

  • Pro*C/C++ Precompiler Error when using OTT and CODE=CPP

    I am trying to precompile a Pro*C application for the company I am working.
    Generating Include file and Intype file with OTT succeeded.
    But invoking the Pro*C precompiler results in error messages concerning
    the processing of the "size_t" structure being involved by including
    the file "oci.h" in the OTT-generated Include file. This file in turn
    seems to include "ociextp.h", "ociapr.h", "nzt.h" which cause the
    precompiler to complain: (i translated some terms to english)
    proc code=cpp cpp_suffix=cc intype=diacron.typ
    'sys_include=(/u01/app/oracle/product/8.1.7/precomp/syshdr,
    /usr/lib/gcc-lib/i486-suse-linux/2.95.2/include,
    /usr/include/g++,/usr/include,/usr/include/linux)'
    iname=transact
    Pro*C/C++: Release 8.1.7.0.0 - Production on Mi Jan 30 12:04:34 2002
    (c) Copyright 2000 Oracle Corporation. All rights reserved.
    System-Defaultsettings from: /u01/app/oracle/product/8.1.7/precomp/admin/pcscfg.cfg
    Syntaxerror in Line 233, Col 50, File
    /u01/app/oracle/product/8.1.7/rdbms/public/ociextp.h:
    Error in Line 233, Col 50, in File
    /u01/app/oracle/product/8.1.7/rdbms/public/ociextp.h
    dvoid ociepacm(OCIExtProcContext with_context, size_t amount);
    .................................................1
    PCC-S-02201, Found Symbol "size_t" when expecting one of the following:
    ... auto, char, const, double, enum, float, int, long,
    ulong_varchar, OCIBFileLocator OCIBlobLocator, OCIClobLocator,
    OCIDateTime, OCIExtProcContext, OCIInterval, OCIRowid, OCIDate,
    OCINumber, OCIRaw, OCIString, register, short, signed,
    sql_context, sql_cursor, static, struct, union, unsigned,
    utext, uvarchar, varchar, void, volatile,
    a typedef name, exec oracle, exec oracle begin, exec,
    exec sql, exec sql begin, exec sql type, exec sql var,
    Das Symbol "enum," ersetzte "size_t", um fortzufahren.
    ........the above several times for the other files.............
    My pcscfg.cfg looks like:
    ===============================================================
    include=/u01/app/oracle/product/8.1.7/precomp/public
    include=/u01/app/oracle/product/8.1.7/oracode/include
    include=/u01/app/oracle/product/8.1.7/oracode/public
    include=/u01/app/oracle/product/8.1.7/rdbms/include
    include=/u01/app/oracle/product/8.1.7/rdbms/public
    include=/u01/app/oracle/product/8.1.7/rdbms/demo
    include=/u01/app/oracle/product/8.1.7/network/include
    include=/u01/app/oracle/product/8.1.7/network/public
    include=/u01/app/oracle/product/8.1.7/plsql/public
    include=/u01/app/oracle/product/8.1.7/otrace/public
    include=/u01/app/oracle/product/8.1.7/ldap/public
    include=/home/wilf/lib/include
    ltype=none
    parse=partial
    ==============================================================
    And the beginning code in the file transact.pc looks like:
    ==============================================================
    #include "sqlnet/transact.hh"
    EXEC SQL BEGIN DECLARE SECTION;
    #include <stdio.h>
    #include <stdlib.h>
    #include <sqlca.h>
    #include "diacron.h" //generated by OTT
    int id;
    varchar szenario[20];
    char username="***********";
    MYTYPE *MyPtr;
    EXEC SQL END DECLARE SECTION;
    Transaction::.....several class encodings..........
    Transaction::.....several class encodings..........
    =============================================================
    By the way, i figured out so many different settings and
    alternative code placements now, I satisfy all guidelines of
    the Pro*C-Programmers Guide, but I don't get that stuff running!
    I'd appreciate any help!
    Regards,
    Wilfried

    When I first ran into this problem I scoured this forum and found the usual suspects (add the proper path to the pcscfg file by doing a "find /usr -name stddef.h -print"). Assuming that you did this and changed the reference from Suse to your distribution you can move to the next point.
    I did this and still ran into problems. It turns out that with my distribution and version (Mandrake 8.1), I needed to reference the egcs version of these includes which were not installed by default. I needed into install the egcs packages. After this I had two references to stddef.h in my usr/include path. One was quite obviously the egcs version. I needed to use that one. It cleared up the problem.
    [jflynn@CN83845-A /]$ find /usr/lib -name stddef.h -print
    /usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/include/stddef.h
    /usr/lib/gcc-lib/i586-mandrake-linux-gnu/egcs-2.91.66/include/stddef.h
    so I modified the pcscfg file as:
    sys_include=(/usr/include,/usr/lib/gcc-lib/i586-mandrake-linux-gnu/egcs-2.91.66/include)

  • C++ application with pro*c generating random errors

    Hi there,
    As described, I have a C++ application with a pro*c module to access the DB. The problem is that it produces random errors.
    Randomly, it fails executing a query, but other times it fails in other modules, or just opening a cursor. I list you two examples of queries that fail:
    ================================================================
    CHECK_CONNECTED
    EXEC SQL BEGIN DECLARE SECTION;
    long Id_db;
    long startValidityMicroseconds_db;
    long stopValidityMicroseconds_db;
    VARCHAR name_db [LEN_NAME + 1];
    VARCHAR creationDate_db [LEN_DATE + 1];
    VARCHAR startValidityDate_db [LEN_DATE + 7 + 1];
    VARCHAR stopValidityDate_db [LEN_DATE + 7 + 1];
    short name_db_ind;
    EXEC SQL END DECLARE SECTION;
    // Set the key
    Id_db = Id
    EXEC SQL SELECT NAME,
                             TO_CHAR(CREATION_DATE, :DATE_FORMAT),
                             TO_CHAR(START_VALIDITY_DATE, :DATE_FORMAT),
                             TO_CHAR(STOP_VALIDITY_DATE, :DATE_FORMAT),
                             NVL (START_VALIDITY_MICROSECONDS ,0),
                             NVL (STOP_VALIDITY_MICROSECONDS ,0),
    INTO :name_db :name_db_ind,
         :creationDate_db,
         :startValidityDate_db,
         :stopValidityDate_db,
         :startValidityMicroseconds_db,
         :stopValidityMicroseconds_db,
    FROM ROP_TB
    WHERE ID = :Id_db;
    ================================================================
    ================================================================
    CHECK_CONNECTED
    EXEC SQL BEGIN DECLARE SECTION;
         long objectId_db;
         VARCHAR objectName_db [LEN_OBJECT_NAME + 1];
    EXEC SQL END DECLARE SECTION;
    strncpy ((char *) objectName_db.arr, object_db.c_str (), LEN_OBJECT_NAME);
    objectName_db.len = object_db.length ();
    EXEC SQL DECLARE CU_OBJECT_TB CURSOR FOR
    SELECT OBJECT_ID INTO :objectId_db
    FROM OBJECT_TB
    WHERE OBJECT_NAME = :objectName_db;
    EXEC SQL OPEN CU_OBJECT_TB;
    ================================================================
    It keeps failing randomly and I don't know really know what my eyes are missing. Sometimes I get a "simple" seg fault because a query returned invalid values and my application crashes, other times I get oracle errors.
    I really hope someone could help me here :)
    Kind regards!

    Well, random because it is not always the same nor the error code.
    - Sometimes I get segmentation fault on "sqlcxt";
    - "ORA-01024: invalid datatype in OCI call" on queries that usually work
    - "ORA-03114: not connected to ORACLE" on queries that usually work
    I have run valgrind and the only "place" where there could be an issue is reported to be caused by oracle libs:
    ==27055== 8,214 bytes in 1 blocks are possibly lost in loss record 193 of 206
    ==27055== at 0x40046FF: calloc (vg_replace_malloc.c:279)
    ==27055== by 0x43E2975: nsbal (in /home/oracle/app/oracle/product/11.1.0/db_1/lib/libclntsh.so.11.1)
    ==27055== by 0x42F04E6: nsiorini (in /home/oracle/app/oracle/product/11.1.0/db_1/lib/libclntsh.so.11.1)
    ==27055== by 0x4300FD2: nsopenalloc_nsntx (in /home/oracle/app/oracle/product/11.1.0/db_1/lib/libclntsh.so.11.1)
    ==27055== by 0x42FFD73: nsopenmplx (in /home/oracle/app/oracle/product/11.1.0/db_1/lib/libclntsh.so.11.1)
    ==27055== by 0x42F91FD: nsopen (in /home/oracle/app/oracle/product/11.1.0/db_1/lib/libclntsh.so.11.1)
    ==27055== by 0x42BDAFE: nscall1 (in /home/oracle/app/oracle/product/11.1.0/db_1/lib/libclntsh.so.11.1)
    ==27055== by 0x42BB0D7: nscall (in /home/oracle/app/oracle/product/11.1.0/db_1/lib/libclntsh.so.11.1)
    ==27055== by 0x435F653: niotns (in /home/oracle/app/oracle/product/11.1.0/db_1/lib/libclntsh.so.11.1)
    ==27055== by 0x43F9E40: nigcall (in /home/oracle/app/oracle/product/11.1.0/db_1/lib/libclntsh.so.11.1)
    ==27055== by 0x436AD4B: osncon (in /home/oracle/app/oracle/product/11.1.0/db_1/lib/libclntsh.so.11.1)
    ==27055== by 0x41EAA31: kpuadef (in /home/oracle/app/oracle/product/11.1.0/db_1/lib/libclntsh.so.11.1)

  • Help with Flex Ant build.xml error

    So I've started on a new project and I'm new to Flex. A lot of learning curve here. Anyway, I'm trying to deploy a project that uses flex and is built with Ant. We've moving up from a version of Flex 2 to Flex 3. The build file works fine in the Flex 2 app but for some reason does not seem to be working with Flex 3. I'm hoping someone can give me some insight on what might be wrong or where to start.
    The error is Command not found: compc
    The part of the build file it has a problem with is:
    <compc include-classes="${classes}"
         ouput="${flex.dist.dir}/${flex.app.name}.swc"
         keep-generated-actionscript="false"
         headless-server="${headless.server}"
         incremental="true">
    <load_config filename="${FLEX_HOME}/frameworks/flex-config.xml" />
    <source-path path-element="${FLEX_HOME}/frameworks" />
    <source-path path-element="${flex.app.root}" />
    <compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
         <include name="libs" />
         <include name="../bundles/{local}" />
    </compiler.library-path>
    <compiler.library-path dir="${flex.app.root}" appent="true">
         <include name="libs" />
    </compiler.library-path>
    </compc>
    Any help at all would be greatly appreciated, thank you.

    Sorry, I meant to address that. Yes, since we've moved up to the Flex 3 sdk, we are pointing at a new directory. The old directory was flex_sdk and the new directory is flex_sdk_340.
    FLEX_HOME is being set in the build.properties file for local building and then overidden in the build.xml file with this code:
    <target name="build">
         <available property="FLEX_HOME" value="/apps/flex_sdk_340" file="/apps/flex_sdk_340" />
         <echo>FLEX_HOME = ${FLEX_HOME}</echo>
         <antcall target="compile" />
    </target>
    I did notice a warning about not using the available property, so I removed it and just changed what FLEX_HOME was set to in the build.properties file to the server directory. Would mess up local building but regardless it didn't matter because it had no effect on the error being generated. I alos looked a little into the file property of the available tag trying to figure out if that was somehow an issue but I wasn't able to come to any conclusion.
    Before the program errors out, it does displayt he echo statement and the value of FLEX_HOME appears to be correct in that it does show /apps/flex_sdk_340.
    Thank you so much for your continued help. This is truly frustrating because nothing but a directory name has really changed and yet it stopped working. I can't find any information anywhere on what could be wrong and this is really my last resort.

  • Can you help with an arithmetic over/underflow error?

    I have learned that the '0' or null value is the problem and I have fix it in a couple of instances such as:
    if  (TotalBreakdown>0) then (Breakdown5/TotalBreakdown) endif
    Now I have a more complex situation that will not work.  This is the best I could do with this one and now I am having an issue with the '100'.
    if ( ContractAmt >0 and ReimbFee > 0 ) then (ReimbFee/ContractAmt)* 100   and it returns error below.
    I am sure it is an easy fix but indeed one that escapes me and I have not been able to find a solutions.
    Thank you in advance for any help I can get.

    Is that the entire script? I any case, you should post this in the LiveCycle Designer forum.

  • Need help with CRM billing due list error!

    Hi Experts,
    I created a sales order which got split into 3 deliveries and upon pgi looks like 2 of the deliveries when to the incomplete billing due list with an error "Billing due list item for transaction ****** is blocked by user R3USER" . I see only delivery made it to the billing due list. Has anyone seen this error before if yes can you get me some incite on this pelase.
    Appreciate your response. Thanks in advance!
    Regards,
    Div.

    Hi Divya,
    first thing you can go to SM13 to see the reason for the update terminate. If you think the info provided there is something technical then you resort for an abapers help. Before that if you want analyse in another way why its happening take that invoice number which throws update terminate. Go to VF01 and try to do the invoice individually. Please check if it gives any error log and you may get more info.
    regards
    sadhu kishore

  • Help with Time Capsule Double NAT error.

    I've been reading different threads on this problem but have been unable to find a solution.
    I recently replaced a dead SpeedStream modem with a Motorola 3360, per AT&T's (my ISP) recommendation. Since swapping the modem I've had a "Double NAT" error on my Time Capsule. The new modem is the only change.  We connect every device: 1 G5 tower, 1 iMac, 1 iPad, 1 MacBook Pro via our wireless network. The Time Capsule is stand-alone, e.g., not connected to anything but the modem via the either-net cable provided.
    Running 10.7.4, the Airport Utility is 6.0, the TC firmware is up to date as well 7.6.1
    We've never had great speed but now it's slower than usual, I'm assuming because of the Double NAT error (two firewalls).
    I've followed the AT&T website instructions, to the letter, for switching the 3360 to "bridge mode," letting the TC handle the IP address (correct?) = no internet.
    I've also followed the support communities directions for switching the Time Capsule to bridge mode as well, letting the modem handle the IP address, the Double NAT error goes away but = no internet.  In this mode I can't join my own network and I get a "your computer is using an IP address that's already in use" error, though everything but my laptop is off.
    What I'm willing to try anything but I need very specific, step-by-step (noob) instructions. Many thanks.

    I've followed the AT&T website instructions, to the letter, for switching the 3360 to "bridge mode," letting the TC handle the IP address (correct?) = no internet.
    I've also followed the support communities directions for switching the Time Capsule to bridge mode as well, letting the modem handle the IP address, the Double NAT error goes away but = no internet.  In this mode I can't join my own network and I get a "your computer is using an IP address that's already in use" error, though everything but my laptop is off.
    I have to admit when I see Motorola modem I automatically think cable modem.. but yours is adsl.. so when you bridge the modem you have to use pppoe client in the TC.. not dhcp as you would with cable. Is that how you are trying it.
    I looked it up and there is a thread almost identical. https://discussions.apple.com/thread/3808550?start=0&tstart=0
    Bob.. gives instructions with pic in the thread on how to setup pppoe in the TC. This should work, although we have noticed some issues of late with the client not always handling IP correctly.
    I am not sure why it fails when you bridge the TC.. that IMO should work without too much hassle.
    I would download 5.6 utility
    http://support.apple.com/kb/DL1482
    It just does a lot more things than v6 in Lion.
    Go to manual setup in 5.6 utility.
    Go to internet tab
    Go to connection sharing.
    Set to Off bridge mode.
    Update the TC.
    Then reboot everything..
    start in sequence.
    1. Modem.. wait a couple of min.
    2. TC .. wait again..
    3. Clients.
    What you have previously done may well be correct but not renewing IP addresses properly has messed up the connection to the modem.

  • Help with dvd drive - region code error

    Hi, I really need to change the drive region code on my Ibook G4 (OS X 10.4.10) back to Region 2. I'm allowed to change it one last time.
    But the trouble is, when I try and change it and click 'set drive region' it just comes up with an error message -70001, 'There was a problem changing the drive region code.'
    I've reset the PMU and PRAM/NVRAM but it still does it.
    Can anybody help me at all? It's driving me mad, I was banking on being able to change it back to my Region one last time...

    Insert a DVD which is set to play in only one region; if you try using up your last change with a DVD that can play in some but not all regions, that error message will appear. Many DVDs which are set to play in region 2 will also play in region 4.
    (23521)

  • Help with a cd read only Error Please

    I am trying to copy a Turbotax PDF file to a CD-R cd. When I drag it over from the desk top or try to save it to the cd or do a save as PDF from Turbo tax I get the error that the CD is read only. I have already saved something on it. I have tried to go into the finder and change it to read-write but i can not do that even after unlocking it. Can anyone help me learn how to make the CD to a writable cd so I can save the PDF file ? thank you very much

    Hi, CDs once written to, will be Read only, even CD=RWs, unless you recorded as a Seesion.

  • Need some help with my Input.as file (error 1013)

    Hello, I have just started learning Flash & Actionscript this month and I'm very eager to learn and do new things.
    I wanted to learn to create some games in Flash and I managed to create a basic side scroller and a top down both with movement and collision functions.
    What I'm trying to do now is implementing a fluid movement function in Flash. So I found a tutorial on how to do this on another site(Idk if I'm allowed to post it here ,but I will if you ask) .
    What I basically have is a .fla file linked with a .as file and another .as file called Input.as. The website from which I'm following the tutorial said that this function was invented by the guys from Box2D and it should work properly,but for some reason when I try to run it(Ctrl+Enter) , I have error 1013 on the first line of the .as File saying that :
    Fluid movement project\Input.as, Line 1
    1013: The private attribute may be used only on class property definitions.
    I've looked this error up on the internet and they say it's usually related with missing braces {} ,but I checked my code in the Input.as file and I don't have any missing brace. Here is the Input.as file from the website I'm following my tutorial:
    private function refresh(e:Event):void
        //Key Handler
        if (Input.kd("A", "LEFT"))
            //Move to the left
            dx = dx < 0.5 - _max ? _max * -1 : dx - 0.5;
        if (Input.kd("D", "RIGHT"))
            //Move to the right
            dx = dx > _max - 0.5 ? _max : dx + 0.5;
        if (!Input.kd("A", "LEFT", "D", "RIGHT"))
            //If there is no left/right pressed
            if (dx > 0.5)
                dx = dx < 0.5 ? 0 : dx - 0.5;
            else
                dx = dx > -0.5 ? 0 : dx + 0.5;
        if (Input.kd("W", "UP"))
            //Move up
            dy = dy < 0.5 - _max ? _max * -1 : dy - 0.5;
       if (Input.kd("S", "DOWN"))
            //Move down
            dy = dy > _max - 0.5 ? _max : dy + 0.5;
        if (!Input.kd("W", "UP", "S", "DOWN"))
            //If there is no up/down action
            if (dy > 0.5)
                dy = dy < 0.5 ? 0 : dy - 0.5;
            else
                dy = dy > -0.5 ? 0 : dy + 0.5;
        //After all that, apply these to the object
        square.x += dx;
        square.y += dy;
    I've slightly rearranged the braces from the original code so the code looks nicer to see and understand. Please tell me if I need to supply you any additional info and Thanks!

    If what you showed is all you had for the Input class, then you should probably download all of the source files instead of trying to create them from what is discussed in the tutorial.  Here is what the downloaded Input.as file contains, which resembles a proper class file structure...
    package {
    import flash.display.*;
    import flash.events.*;
    import flash.geom.*;
    import flash.utils.*;
    public class Input {
       * Listen for this event on the stage for better mouse-up handling. This event will fire either on a
       * legitimate mouseUp or when flash no longer has any idea what the mouse is doing.
      public static const MOUSE_UP_OR_LOST:String = 'mouseUpOrLost';
      /// Mouse stuff.
      public static var mousePos:Point = new Point(-1000, -1000);
      public static var mouseTrackable:Boolean = false; /// True if flash knows what the mouse is doing.
      public static var mouseDetected:Boolean = false; /// True if flash detected at least one mouse event.
      public static var mouseIsDown:Boolean = false;
      /// Keyboard stuff. For these dictionaries, the keys are keyboard key-codes. The value is always true (a nil indicates no event was caught for a particular key).
      public static var keysDown:Dictionary = new Dictionary();
      public static var keysPressed:Dictionary = new Dictionary();
      public static var keysUp:Dictionary = new Dictionary();
      public static var stage:Stage;
      public static var initialized:Boolean = false;
       * In order to track input, a reference to the stage is required. Pass the stage to this static function
       * to start tracking input.
       * NOTE: "clear()" must be called each timestep. If false is pased for "autoClear", then "clear()" must be
       * called manually. Otherwise a low priority enter frame listener will be added to the stage to call "clear()"
       * each timestep.
      public static function initialize(s:Stage, autoClear:Boolean = true):void {
       if(initialized) {
        return;
       initialized = true;
       if(autoClear) {
        s.addEventListener(Event.ENTER_FRAME, handleEnterFrame, false, -1000, true); /// Very low priority.
       s.addEventListener(KeyboardEvent.KEY_DOWN, handleKeyDown, false, 0, true);
       s.addEventListener(KeyboardEvent.KEY_UP, handleKeyUp, false, 0, true);
       s.addEventListener(MouseEvent.MOUSE_UP, handleMouseUp, false, 0, true);
       s.addEventListener(MouseEvent.MOUSE_DOWN, handleMouseDown, false, 0, true);
       s.addEventListener(MouseEvent.MOUSE_MOVE, handleMouseMove, false, 0, true);
       s.addEventListener(Event.MOUSE_LEAVE, handleMouseLeave, false, 0, true);
       s.addEventListener(Event.DEACTIVATE, handleDeactivate, false, 0, true);
       stage = s;
       * Record a key down, and count it as a key press if the key isn't down already.
      public static function handleKeyDown(e:KeyboardEvent):void {
        if(!keysDown[e.keyCode]) {
        keysPressed[e.keyCode] = true;
        keysDown[e.keyCode] = true;
       * Record a key up.
      public static function handleKeyUp(e:KeyboardEvent):void {
       keysUp[e.keyCode] = true;
       delete keysDown[e.keyCode];
       * clear key up and key pressed dictionaries. This event handler has a very low priority, so it should
       * occur AFTER ALL other enterFrame events. This ensures that all other enterFrame events have access to
       * keysUp and keysPressed before they are cleared.
      public static function handleEnterFrame(e:Event):void {
       clear();
       * clear key up and key pressed dictionaries.
      public static function clear():void {
       keysUp = new Dictionary();
       keysPressed = new Dictionary();
       * Record the mouse position, and clamp it to the size of the stage. Not a direct event listener (called by others).
      public static function handleMouseEvent(e:MouseEvent):void {
       if(Math.abs(e.stageX) < 900000) { /// Strage bug where totally bogus mouse positions are reported... ?
        mousePos.x = e.stageX < 0 ? 0 : e.stageX > stage.stageWidth ? stage.stageWidth : e.stageX;
        mousePos.y = e.stageY < 0 ? 0 : e.stageY > stage.stageHeight ? stage.stageHeight : e.stageY;
       mouseTrackable = true;
       mouseDetected = true;
       * Get the mouse position in the local coordinates of an object.
      public static function mousePositionIn(o:DisplayObject):Point {
       return o.globalToLocal(mousePos);
       * Record a mouse down event.
      public static function handleMouseDown(e:MouseEvent):void {
       mouseIsDown = true;
       handleMouseEvent(e);
       * Record a mouse up event. Fires a MOUSE_UP_OR_LOST event from the stage.
      public static function handleMouseUp(e:MouseEvent):void {
       mouseIsDown = false;
       handleMouseEvent(e);
       stage.dispatchEvent(new Event(MOUSE_UP_OR_LOST));
       * Record a mouse move event.
      public static function handleMouseMove(e:MouseEvent):void {
       handleMouseEvent(e);
       * The mouse has left the stage and is no longer trackable. Fires a MOUSE_UP_OR_LOST event from the stage.
      public static function handleMouseLeave(e:Event):void {
       mouseIsDown = false;
       stage.dispatchEvent(new Event(MOUSE_UP_OR_LOST));
       mouseTrackable = false;
       * Flash no longer has focus and has no idea where the mouse is. Fires a MOUSE_UP_OR_LOST event from the stage.
      public static function handleDeactivate(e:Event):void {
       mouseIsDown = false;
       stage.dispatchEvent(new Event(MOUSE_UP_OR_LOST));
       mouseTrackable = false;
       * Quick key-down detection for one or more keys. Pass strings that coorispond to constants in the KeyCodes class.
       * If any of the passed keys are down, returns true. Example:
       * Input.kd('LEFT', 1, 'A'); /// True if left arrow, 1, or a keys are currently down.
      public static function kd(...args):Boolean {
       return keySearch(keysDown, args);
       * Quick key-up detection for one or more keys. Pass strings that coorispond to constants in the KeyCodes class.
       * If any of the passed keys have been released this frame, returns true.
      public static function ku(...args):Boolean {
       return keySearch(keysUp, args);
       * Quick key-pressed detection for one or more keys. Pass strings that coorispond to constants in the KeyCodes class.
       * If any of the passed keys have been pressed this frame, returns true. This differs from kd in that a key held down
       * will only return true for one frame.
      public static function kp(...args):Boolean {
       return keySearch(keysPressed, args);
       * Used internally by kd(), ku() and kp().
      public static function keySearch(d:Dictionary, keys:Array):Boolean {
       for(var i:uint = 0; i < keys.length; ++i) {
        if(d[KeyCodes[keys[i]]]) {
         return true;
       return false;

  • I would appreciated any help with solving the IOS 5 Error message -50

    Did you expereince the same message? If so, if you can help me I would appreciate it. iTunes is uodated but when i ty to update my phone to IOS 5 I get the above error. Thanks for looking.

    I am also having this issue, upgraded to ios5 however when attempting to back up my phone i get the same -50 error message.
    iPhone 3G-S 16gb.

Maybe you are looking for