CC: bad interaction between complex & stdio.h on Fedora 8

I'm encountering the following error with CC on Fedora 8. I had no such problem with Fedora 6. Flipping the order of complex & stdio.h appears to be a workarround. But its not clear to me what the real problem is. Hence posting here..
thanks,
asterix:/home/balay/junk>cat comp2.c
#include <stdio.h>
#include <complex>
int foo()
return 0;
asterix:/home/balay/junk>g++ --version
g++ (GCC) 4.1.2 20070925 (Red Hat 4.1.2-33)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
asterix:/home/balay/junk>g++ -c comp2.c
asterix:/home/balay/junk>~/soft/sun/sunstudio12/bin/CC -V
CC: Sun C++ 5.9 Linux_i386 Patch 124865-01 2007/07/30
asterix:/home/balay/junk>~/soft/sun/sunstudio12/bin/CC -c comp2.c
"/home/balay/soft/sun/sunstudio12/prod/include/CC/Cstd/iosfwd", line 74: Error: mbstate_t is not defined.
"/home/balay/soft/sun/sunstudio12/prod/include/CC/Cstd/iosfwd", line 75: Error: mbstate_t is not defined.
"/home/balay/soft/sun/sunstudio12/prod/include/CC/Cstd/rw/traits", line 191: Error: "," expected instead of "state_type".
"/home/balay/soft/sun/sunstudio12/prod/include/CC/Cstd/rw/traits", line 194: Error: Use ";" to terminate declarations.
"/home/balay/soft/sun/sunstudio12/prod/include/CC/Cstd/rw/traits", line 261: Error: "," expected instead of "get_state".
"/home/balay/soft/sun/sunstudio12/prod/include/CC/Cstd/rw/traits", line 265: Error: Use ";" to terminate declarations.
"/home/balay/soft/sun/sunstudio12/prod/include/CC/Cstd/rw/traits", line 299: Error: "," expected instead of "state_type".
"/home/balay/soft/sun/sunstudio12/prod/include/CC/Cstd/rw/traits", line 302: Error: Use ";" to terminate declarations.
"/home/balay/soft/sun/sunstudio12/prod/include/CC/Cstd/rw/traits", line 410: Error: "," expected instead of "get_state".
"/home/balay/soft/sun/sunstudio12/prod/include/CC/Cstd/rw/traits", line 414: Error: Use ";" to terminate declarations.
"/home/balay/soft/sun/sunstudio12/prod/include/CC/Cstd/rw/rwlocale", line 125: Error: mbstate_t is not defined.
"/home/balay/soft/sun/sunstudio12/prod/include/CC/Cstd/rw/rwlocale", line 125: Error: Template parameter std::stateT requires a type argument.
"/home/balay/soft/sun/sunstudio12/prod/include/CC/Cstd/rw/rwlocale", line 130: Error: mbstate_t is not defined.
"/home/balay/soft/sun/sunstudio12/prod/include/CC/Cstd/rw/rwlocale", line 130: Error: Template parameter std::stateT requires a type argument.
"/home/balay/soft/sun/sunstudio12/prod/include/CC/Cstd/rw/codecvt", line 55: Error: mbstate_t is not defined.
"/home/balay/soft/sun/sunstudio12/prod/include/CC/Cstd/rw/codecvt", line 55: Error: Template parameter std::stateT requires a type argument.
"/home/balay/soft/sun/sunstudio12/prod/include/CC/Cstd/rw/codecvt", line 61: Error: "," expected instead of "state_type".
"/home/balay/soft/sun/sunstudio12/prod/include/CC/Cstd/rw/codecvt", line 63: Error: Use ";" to terminate declarations.
"/home/balay/soft/sun/sunstudio12/prod/include/CC/Cstd/rw/codecvt", line 138: Error: mbstate_t is not defined.
"/home/balay/soft/sun/sunstudio12/prod/include/CC/Cstd/rw/codecvt", line 138: Error: Template parameter std::stateT requires a type argument.
"/home/balay/soft/sun/sunstudio12/prod/include/CC/Cstd/rw/codecvt", line 144: Error: "," expected instead of "state_type".
"/home/balay/soft/sun/sunstudio12/prod/include/CC/Cstd/rw/codecvt", line 146: Error: Use ";" to terminate declarations.
22 Error(s) detected.
asterix:/home/balay/junk>

thanks to Sun Studio team for making your compiler available on Linux - I'm sure issues like this will be resolved soon and I look forward to being able to use it more seriously. I develop for GNU/Linux and Solaris so it's good to have another choice of compiler that works on both platforms.
This problem is easily worked around by copying /usr/include/wchar.h into $SUNSTUDIOPATH/prod/include/CC and adding one line to it.
The issue is this part of glibc's <wchar.h>:
#if defined _WCHAR_H || defined __need_wint_t || !defined __WINT_TYPE__
# undef __need_wint_t
# define __need_wint_t
# include <stddef.h>
#endifGNU's <wchar.h> gets included multiple times, with different combination of macros defined to declare different features. The first time it's included it leaves __need_wint_t defined unless <stddef.h> explicitly undefines it, which is exactly what GCC's <stddef.h> does. When I compile the testcase with g++ <stddef.h> resolves to /usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/stddef.h which is the output of GCC's "fixinclude" process, and it includes the following:
#if defined (__need_wint_t)
#undef __need_wint_t
#endifObviously when you compile with sunCC GCC's stddef.h doesn't get included, so the #undef isn't seen. That means that when <wchar.h> is included the second time this test at the top of <wchar.h> fails, and so WCHARH is not set:
#if !defined __need_mbstate_t && !defined __need_wint_t
# define _WCHAR_H 1
# include <features.h>
#endifBecause WCHARH is not defined, the declarations of mbstate_t, btowc etc. are never included.
The workaround is to copy /usr/include/wchar.h into the sunstudio include directory and explicitly #undef __need_wint_t after <stddef.h> is included, as per this patch:
--- /usr/include/wchar.h        2007-10-18 09:11:45.000000000 +0100
+++ sunstudioceres/prod/include/CC/wchar.h      2008-03-30 15:17:48.000000000 +0100
@@ -50,6 +50,8 @@
# undef __need_wint_t
# define __need_wint_t
# include <stddef.h>
+// XXX implicitly rely on __need_wint_t being unset by gcc
+#undef __need_wint_t
/* We try to get wint_t from <stddef.h>, but not all GCC versions define it
    there.  So define it ourselves if it remains undefined.  */

Similar Messages

  • Pretty much confirmed interactivity between Word/Acrobat Mac vs. Same on PC is completely hosed in certain situations...Please tell me I am wrong!

    I've pretty much confirmed that the interactivity between Word/Acrobat Mac vs. Word/Acrobat PC is completely hosed in certain situations...Please tell me I am wrong!
    Situation: two workgroups need to work with each other sharing and editing word and pdf files for complex documents containing a TOC, list of figures, etc.
    Problems reproducible on many machine types and configs:
    1. WORD FILES: TOCs do not retain hot links within a doc that has been touched by a mac, and then re-saved as a PDF with the intent to have a linked TOC with chapter heads.
    2. PDF FILES: that have been touched by a mac, for example to edit the document properties, will loose all TOC function as in problem #1 above.
    In short, this rots for mac users who have to share/edit these files with PC brethren.
    The only solution that I found for mac users is this:
    Do your thing in Word 2008. Then have a PC version of Word and PC version of acrobat installed on a virtual drive like Parallels or VMWare, etc. Delete your TOC using MS Word for Windows, reinsert a new one, and then use the PC distiller installed into word by Acrobat Professional to create a new PDF that will be cross-platform functional.
    I had a meeting with the Mac users to explain this work around and they looked at me like I was crazy, and they pretty much said go pound sand, we don't care if the TOCs are linked or not.
    Well, I may be exaggerating there a bit, but NO ONE was happy with this solution, including myself. Our BIG question is "Is anyone going to fix this problem in the shortterm?!?" And it's Microsoft and Adobe both that seem to have some responsibility here...with an emphasis on Adobe, as it's clearly not just an MS isssue, as you can totally destroy a working TOC in a PDF file by just editing the file properties on a mac. Arg...
    I also find it frustrating that Adobe does not have a forum for cross-platform specific issues, which to me seems consipiritory. Ha!
    Message was edited by: hero jig

    ~graffiti wrote:
    PjonesCET wrote:I have word from people that know from Microsoft support, Say Adobe is talking hot air.
    Sure you do Phil.
    I follow the Microsoft office Mac. Word forum and excel Forum as much or, more so even than the Forums here.
    And All the experts say its a smoke screen.
    You can go and look at bio of all the people  by MS to answer questions and what their field of Expertise. Most have impressive credentials in their field. Many write professionally Documents, books and other such.

  • How can I interact between two different frames in the same indesign template as well as from one template to another.

    I am looking for the best way (or any way) to interact between two different frames in the same indesign template as well as from one template to another. It's for a DPS app which needs to carry some button initiated data from one page to another and then present it in a table.

    There is no simple way to do it, as itunes wont let you use it on another computer without wiping the contents first.
    However if you really want to transfer songs to another computer then you could try this;
    * make sure that your ipod is accessible as a disk drive (ipod options)
    * when you plug your ipod into the computer you want to transfer to make sure you select "no" or "cancel" when it asks to wipe the contents. Leave the ipod connected and quit from itunes.
    * go to "my computer" and access the ipod directly. You probably have to select "view hidden files" from windows. You will see a lot of folders with odd names like ZX838aff with similar named files inside.
    * copy these files to a folder on your computers hardrive. Now remove the ipod and start itunes.
    * import the files from the folder you made in the last step.
    * Now your music is on itunes, but with unrecogisable names.
    This is the only way I have found to do it, but there may be another way, say with an application to do the hard work for you.
    Generic homebuild PC Windows XP
    Generic homebuild PC   Windows XP  

  • How do I interact between stage and classes?

    Hi,
    I have asked this question before, and all I got is "Go back
    to reading beginner books", so I'm hoping that someone here is
    willing to actually answer my question as opposed to brushing me
    off because they were unwilling to help...
    And yes, I have read books on the topic and gone through tons
    of the documentation and not found the answer to this. I have
    ActionScript 1 and JavaScript experience, so this whole business
    shouldn't be this hard.
    I am using ActionScript 3 in Flash CS3.
    My problem is this:
    I need to find out how to send commands between stuff on the
    stage and stuff that's defined in a class.
    I have had this issue for ages and kept trying to find ways
    around it since so far I haven't been able to find help for it.
    For example:
    When using a document class, how can I access the current
    frame number of the Stage?
    Or using a document class, how can I access any object (like
    a MovieClip with instance name) that was put on the stage using the
    IDE?
    Currently, to be more specific, I am trying to do something
    really simple:
    Make a button work on my stage that is not always visible.
    With AS3 that's not as easy anymore as it used to be.
    So what I did now is create the button in the document class,
    used addChild and set it to alpha = 0.
    Now, when the Stage reaches specific frames (i.e. ones with
    labels, and I got this part figured out), it is supposed to make
    the button visible. Then I can add event listeners and stuff, and I
    can figure that part out myself.
    I don't know how to access the stage frame number from the
    document class, so I put it into a frame script in frame 1, but now
    this script cannot access the button that is defined in the
    document class.
    It's driving me bananas...
    PLEASE, someone here, can someone please explain to me how I
    can make this work?
    I have seen plenty of diagrams of the Display List and the
    Object Hierarchy, but none of that explains how to actually USE any
    of it...
    Thanks so much in advance to anyone who is willing to spend
    some time to answer!

    Well, first of all, I have to say that AS3 has basically been
    designed to be difficult on purpose, in that all this interaction
    between objects is purposefully very strict. For this reason, I
    still use AS2 for all my basic Flash work. AS3 is just a lot more
    involved, a lot more strict, a lot less forgiving... you need a lot
    of experience with it before it starts to make sense.
    Now, I think I might have a few specific answers to your
    questions:
    From any DisplayObject (this includes any Document class,
    which has to extend MovieClip or in some cases Sprite) you can
    access the Stage using the 'stage' property.
    However, stage is probably not exactly what you want, you
    want the main timeline, which is the child of stage. To access the
    main timeline, you can use the 'root' property of any
    DisplayObject.
    However, unless you have strict mode off, Flash won't let you
    just say "root.myMovieClip" because the root property is of the
    type DisplayObject, which is not a dynamic class (meaning you can't
    add properties to it) and it has no built in property "myMovieClip"
    so it thinks you made a mistake. So you have to "cast" the root
    property as a MovieClip, which *is* dynamic so it will let you try
    to reference anything on it (like AS1/2 did for everything.)
    So what all that means is this should work from inside you
    document class:
    (root as MovieClip).myMovieClip
    or
    MovieClip(root).myMovieClip
    Either will successfully reference a MovieClip you had put on
    the main stage in the IDE and named "myMovieClip".
    Rather than setting the alpha to 0, try setting visible to
    false. I think this will disable all interactive events, where
    simply setting alpha to 0 would make it still be interactive.
    HTH

  • How to set up the interaction between InDesign CS6 8.0 and Photoshop CS 6 - if Photoshop is installed and the 64 and 32-bit?? default InDesign refers to the 64-bit version of Photoshop and scripts do not work.

    how to set up the interaction between InDesign CS6 8.0 and Photoshop CS 6 - if Photoshop is installed and the 64 and 32-bit?? default InDesign refers to the 64-bit version of Photoshop and scripts do not work.

    Nice of you to point it out here as I at least don’t follow Mr.Nash’s blog regularly.

  • MTO(Diff between complex make to order and sales order based mass prod)

    Hi
    We are using MTO...Can anyone tell me what is the Diff between complex make to order and sales order based mass prod in finance perspective?

    Hi,
    In the case of complex make to order scenario, through MRP, the Project shall be assigned to the sales order. Then there will be milestone billling and all. In the case of mass production MTO, it is only creation of production order for each sales order item and each sales order item shall have sales order cost estimate.
    Trust this helps much and do encourage our efforts!
    Cheers!
    Edited by: Ashok Singh on Oct 28, 2008 6:53 PM

  • How to restrict the filters' interaction between two (or more) dashboard pages?

    Hello,
    I work in OBIEE 10.1.3. and I don't have a lot of experiense with this product.
    I have a problem with report filters’ interaction between dashboard pages. I have created two pages in one dashboard and I navigate from page 1 to page 2. Reports from page 2 have more restrictive data filters (for example, Fiscal Month = Current Month & Fiscal Year = Current Year) than reports from page 1 (Fiscal Month <= Current Month & Fiscal Year = Current Year). If I start from the page 1 and then navigate to the page 2 by clicking on the column that is used for navigation all reports on both pages work fine. However, when I return to page 1 (by clicking on the page name) the data in the reports there is skewed, displaying only the data for Fiscal Month = Current Month. I checked the reports filters and they all get reset from (Fiscal Month <= Current Month) to (Fiscal Month = Current Month). I tried to resolve this by canging filters back to what they were, saving the report, and starting over, but it does not help.
    If anyone knows the solution for my problem, please respond to my post.
    Thank you,

    You can use this workaround:
    Page1: Fiscal Month : CASE WHEN 1=1 THEN 'Fiscal Month' END
    Make this field as 'is prompted' for all the reports in page1.
    For Page2:
    Fiscal Month : CASE WHEN 2=2 THEN 'Fiscal Month' END
    Make this field as 'is prompted' for all the reports in page2.
    This way OBIEE will treat them as two separate fields and the filters will not be messed up.

  • [svn:osmf:] 10248: Fix a few bugs related to the interaction between IPlayable, IPausable, and ITemporal within a SerialElement, specifically around ensuring that the transition from child to child happens in the various permutations of these traits .

    Revision: 10248
    Author:   [email protected]
    Date:     2009-09-14 16:45:00 -0700 (Mon, 14 Sep 2009)
    Log Message:
    Fix a few bugs related to the interaction between IPlayable, IPausable, and ITemporal within a SerialElement, specifically around ensuring that the transition from child to child happens in the various permutations of these traits.  Introduce a helper class for managing this logic, as it can happen in both CompositePlayableTrait and CompositeTemporalTrait.  This lays the groundwork for a MediaElement which only implements IPlayable (e.g. to ping a tracking server) working within a serial composition.  Beef up unit tests so that these cases don't get broken in the future.
    Modified Paths:
        osmf/trunk/framework/MediaFramework/.flexLibProperties
        osmf/trunk/framework/MediaFramework/org/openvideoplayer/composition/CompositePlayableTrai t.as
        osmf/trunk/framework/MediaFramework/org/openvideoplayer/composition/CompositeTemporalTrai t.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/composition/TestSerialEle ment.as
    Added Paths:
        osmf/trunk/framework/MediaFramework/org/openvideoplayer/composition/SerialElementTransiti onManager.as

    Hi,
    Found a note explaining the significance of these errors.
    It says:
    "NZE-28862: SSL connection failed
    Cause: This error occurred because the peer closed the connection.
    Action: Enable Oracle Net tracing on both sides and examine the trace output. Contact Oracle Customer support with the trace output."
    For further details you may refer the Note: 244527.1 - Explanation of "SSL call to NZ function nzos_Handshake failed" error codes
    Thanks & Regards,
    Sindhiya V.

  • Can I install the FF 4 Beta and the FF 3.6 versions on same computer without interaction between them?

    I do not want to delete the version I am using now because I know most of the web tool apps I have will be disabled. Been there; done that too many times.
    Was hoping I could try the latest FF 4 without it messing up everything by installing in a different folder or will it pick up the FF 3.6 Profile, Add-ons, etc. and maybe even re-write the Registry keys for version I want to keep functioning?

    There aren't interactions between different Firefox versions as long as you make sure to have a separate profile and shortcut for each version and keep an eye on the current default browser and set the default profile via the profile manager once to the correct profile. The portable version is only easier for inexperienced users, but once you understand how things work then normal versions work flawlessly.

  • Interaction between BSP and SAP GUI

    Hello all,
    I am having trouble with interaction between BSP and dynpros:
    I have a dynpro with a container where a BSP is shown.
    I would like to be able to return a value from the BSP to the control program of the dynpro.
    Any ideas of how to do it?
    Thanks a lot!
    Helpful answers will be regarded.

    Hello both,
    thank you for your replies, but I am still not able of performing this.
    I have tried using GET/SET parameters but it is not working, I get no parameter (perhaps I am not using the sentences correctly or in the correct place).
    I have also tried the code of demo program SAPHTML_EVENTS_DEMO and I think I cannot do it, I explain it a bit more:
    I have a button on my  BSP with some code programmed on event OnInputProcessing to be executed, and at the end I would like to return one value to the control program of the dynpro.
    But if I set the html form of the BSP as action:SAPEVENT, the bsp code is not executed...
    Am I doing something wrong?
    Thanks!!

  • What is the interaction between calling VIs and subVIs using VI Server?

    I'm studying for the CLAD and one of the lines in NI's preparation document here is this:
    What is the interaction between calling VIs and subVIs using VI Server?
    I know how to use the "Call By Reference" function to call a VI, but not necessarily a subVI. I thought a subVI is always loaded with the calling VI and has nothing to do with VI Server. What am I missing?
    Solved!
    Go to Solution.

    Hi Bmihura,
    I think this article will clear up how the VI Server works with subVIs called dynamically or statically.
    Calling a VI by Reference
    Best Regards,

  • Interaction between Panels in Java Swings

    hai, i m new to Java swings and i dont know how to interact between various panels present in single frame window.the following code is a program in which i need to interact between three panels.Can some one tell me how to do this.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class JP extends JFrame
    JPanel p= new JPanel(new FlowLayout());
    public static void main(String a[])
    JP j= new JP();
    public JP()
    Container c=getContentPane();
    c.setBackground(Color.black);
    JTextField j= new JTextField(20);
    j.setText("Program");
    c.add(j);
    //adding panel1 and panel2
    p.add(new jp1());
    p.add(new jp2());
    c.add(p,BorderLayout.EAST);
    setVisible(true);
    pack();
    class jp1 extends JPanel implements ActionListener
    JTextField jtf1;
    public jp1()
    JButton b1=new JButton("Connect");
    b1.addActionListener(this);
    b1.setActionCommand("Connect");
    add(b1);
    JButton b2=new JButton("Disconnect");
    b2.addActionListener(this);
    b2.setActionCommand("Disconnect");
    add(b2);
    jtf1=new JTextField(30);
    jtf1.setText("hai");
    add(jtf1);
    public void actionPerformed(ActionEvent ae)
    String str1=ae.getActionCommand();
    System.out.println(str1);
    jtf1.setText(str1);
    class jp2 extends JPanel implements ItemListener
    public jp2()
    JCheckBox cb1=new JCheckBox("Pt-Pt");
    cb1.setSelected(true);
    cb1.addItemListener(this);
    add(cb1);
    JCheckBox cb2=new JCheckBox("Multipoint");
    cb2.setSelected(true);
    cb2.addItemListener(this);
    add(cb2);
    public void itemStateChanged(ItemEvent ie)
    JCheckBox str2=(JCheckBox)ie.getItem();
    System.out.println(str2.getText());
    I need to display details in the main frame "JP" when performing some actions on panel1(jp1) and panel2(jp2)....
    Plz help me with this.....
    Thanks to all.

    Rodney_McKay thanks for ur reply.
    i have aligned the code and the details i need are given below...
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class JP extends JFrame
         JPanel p= new JPanel(new FlowLayout());
         public static void main(String a[])
              JP j= new JP();
         public JP()
              Container c=getContentPane();
              c.setBackground(Color.black);
              JTextField j= new JTextField(20);
              j.setText("Program");
              c.add(j);
              //adding panel1 and panel2
              p.add(new jp1());
              p.add(new jp2());
              c.add(p,BorderLayout.EAST);
              setVisible(true);
              pack();
    class jp1 extends JPanel implements ActionListener
         JTextField jtf1;
         public jp1()
              JButton b1=new JButton("Connect");
              b1.addActionListener(this);
              b1.setActionCommand("Connect");
              add(b1);
              JButton b2=new JButton("Disconnect");
              b2.addActionListener(this);
              b2.setActionCommand("Disconnect");
              add(b2);
              jtf1=new JTextField(30);
              jtf1.setText("hai");
              add(jtf1);
         public void actionPerformed(ActionEvent ae)
              String str1=ae.getActionCommand();
              System.out.println(str1);
              jtf1.setText(str1); // Code required to settext in textbox of main panel
    class jp2 extends JPanel implements ItemListener
         public jp2()
              JCheckBox cb1=new JCheckBox("Pt-Pt");
              cb1.setSelected(true);
              cb1.addItemListener(this);
              add(cb1);
              JCheckBox cb2=new JCheckBox("Multipoint");
              cb2.setSelected(true);
              cb2.addItemListener(this);
              add(cb2);
         public void itemStateChanged(ItemEvent ie)
              JCheckBox str2=(JCheckBox)ie.getItem();
              System.out.println(str2.getText()); // Code required to settext in textbox of main panel
    };When i click the button in panel1 the message should be displayed in the textbox of main panel.
    Similarly the panel2 event should display a message in main panel.
    i will try with inner class, u also give me any possible solutions.

  • How does QoS work with WAAS WCCP? What's the interaction between QoS Traffic Classification and WAE Traffic Application Policy?

    How does QoS work with WAAS WCCP? What's the interaction between Router QoS Traffic Classification and WAE Traffic Application Policy?

    By default, WAAS preserves the DSCP marking on intercepted packets.  There is a configuration option to set/override the DSCP value at the global (device), application, and classifier levels.  Currently WAAS provides marking only.  There is no action taken by WAAS based on the DSCP value.
    Regards,
    Zach

  • Interaction between Actionscript 2 application and Actionscript 3 application

    Hi,
                  I got a project to refectoring. Its coded in as2. As One application (TabManager) has 5-6 tabs, and loading different swfs (coded in as2) at click on different tabs. Then according to user interactions, the loaded swfs are interacting with tabmanager (main swf) file like calling functions and sending objects and tabManager swf is also interacting with its loaded swfs. In short, All swfs are interacting each other.
    Now, I have to develop two application, one is the main application "TabManager" and other one is 3rd (one application out of 5-6 applications, whose are loading in tabmanager) loaded application in tabManager.
    To make the long story short, I need to load action script 2 coded applications under a action script 3 application and need to call each other function and send object type data.
    So, please suggest the best options, One I know is LocalConnection class.
    Is there any other better way to interact between as2 and as3.

    there is no other way to communicate between as3/as2 swfs in real time.

  • Interaction between Actionscript 2 apps and Actionscript 3 app

    Hi,
                  I got a project to refectoring. Its coded in as2. As One application (TabManager) has 5-6 tabs, and loading different swfs (coded in as2) at click on different tabs. Then according to user interactions, the loaded swfs are interacting with tabmanager (main swf) file like calling functions and sending objects and tabManager swf is also interacting with its loaded swfs. In short, All swfs are interacting each other.
    Now, I have to develop two application, one is the main application "TabManager" and other one is 3rd (one application out of 5-6 applications, whose are loading in tabmanager) loaded application in tabManager.
    To make the long story short, I need to load action script 2 coded applications under a action script 3 application and need to call each other function and send object type data.
    The Actionscript 3 app is in flex.
    So, please suggest the best options, One I know is LocalConnection class.
    Is there any other better way to interact between as2 and as3.

    It will be easier to rewrite the whole lot rather than try and manage intercommunication between as2/3 in a project with a lot of interdependencies between swfs.
    If you try and continue the project, as described with a mix, you are in for a lot of pain.
    Essentially you will be writing a communications protocol for the interactions between each swf and the main AS3 project. It will be a mess.

Maybe you are looking for

  • Hand-me-Down Computer/iTunes

    My mom gave me her awesome, newish computer after she got a newer one.  I have Windows 7 here.  I uninstalled her iTunes because I was having issues syncing my iPad and iPhone.  Despite reinstalling iTunes, I still can't sync my devices.  I get the "

  • Why is the label color not changing when my file is updated?

    I would like the label color to change to white when a file has been updated/changed. Since upgrading to 10.7.2 the file color stays the same. Is there a setting I am missing that will allow the file to go back to white when updated? Thanks for any i

  • [Iphone 5] update to ios 6.0.1 - battery issue, fix please :(

    I have already turned off Siri, Location Services, Notifications After update to iOS 6.0.1, battery drain very quickly Something wrong with my phone?

  • Continuing from a broken stream

    I have general question to ask about the InputStream. I am downloading a file from the net using the inputstream. What i wanted to know was when the connection is broken is their anyway of restarting from the last point it was broken from rather then

  • CMDTUX_CAT:465: ERROR: Failed to abort old transactions

    Can anyone please tell me what is this error upto : CMDTUX_CAT:465: ERROR: Failed to abort old transactions Mu ULOG is logged with the following log: TMS_ORA.656.1.0: 08-12-2008: Tuxedo Version 9.1, 32-bit TMS_ORA.656.1.0: LIBTUX_CAT:262: INFO: Stand