CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7
  1. #1
    Join Date
    May 2012
    Location
    Bejing China
    Posts
    6

    Talking flash runs c/c++

    Develop a 386 cpu virtual machine using Flash as3. The simulator runs 386 assemble code by interpretive execution. And the the assemble code is disassembled from the exe file that compiled from c/c++. In this way c/c++ programs can run in flash.
    c/c++ will call operating API, that can be hooked and redirected to flash API. Special operating APIs may not work, for flash does not support.
    The whole system(disassemble & simulator) is called c2flash for short.
    Last edited by zhaolei_cpp; May 15th, 2012 at 06:33 AM.

  2. #2
    Join Date
    Sep 2004
    Location
    Holland (land of the dope)
    Posts
    4,123

    Re: flash runs c/c++

    Now, who can develop such a system?
    How much money do you have ? Trust me, you don't have enough. .Also, this is NOT the job request section.
    Last edited by Skizmo; May 15th, 2012 at 08:15 AM.

  3. #3
    Join Date
    May 2012
    Location
    Bejing China
    Posts
    6

    Re: flash runs c/c++

    I have no money, and if you can, i can not pay you. Just image. the whole system can work or not.

  4. #4
    Join Date
    Jan 2009
    Posts
    596

    Re: flash runs c/c++

    Quote Originally Posted by zhaolei_cpp View Post
    I have no money, and if you can, i can not pay you. Just image. the whole system can work or not.
    (My emphasis added)

    Well, if it doesn't have to work, I can write it for free:
    Code:
    int main()
    {
        return 0;
    }


    EDIT: Just noticed that the requirement was for an application coded in Flash as3, not in C++. But since it doesn't have to work, this doesn't really matter
    Last edited by Peter_B; May 15th, 2012 at 08:15 AM.

  5. #5
    Join Date
    May 2012
    Location
    Bejing China
    Posts
    6

    Re: flash runs c/c++

    it is a good idear that only part of asm is surpported.

  6. #6
    Join Date
    Apr 1999
    Posts
    27,449

    Re: flash runs c/c++

    Quote Originally Posted by zhaolei_cpp View Post
    I have no money, and if you can, i can not pay you. Just image. the whole system can work or not.
    1) So who came up with all of these requirements? Is this some sort of homework problem?
    Develop a 386 cpu virtual machine using Flash as3
    2) Isn't research supposed to be something you're doing first? Why ask here on a programming forum when you have the most powerful information portal, and that is the Internet and web searches?

    3) You can write any application in C++ and interface to any other API, as long as that API is exposed and has some sort of a 'C' or 'C'-like interface. That's all that anyone can say to you.

    Regards,

    Paul McKenzie

  7. #7
    Join Date
    May 2012
    Location
    Bejing China
    Posts
    6

    Re: flash runs c/c++

    Quote Originally Posted by Peter_B View Post
    (My emphasis added)
    You can write any application in C++ and interface to any other API, as long as that API is exposed and has some sort of a 'C' or 'C'-like interface.
    The API is hooked and redirected to flash. The simulator can only do what the flash can. Once flash is safe, the simulator is also safe.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured