Thread: The Application Failed To Initialize Properly (0xc0000135).

  1. #1
    Registered User
    Join Date
    Dec 2004
    Posts
    3

    The Application Failed To Initialize Properly (0xc0000135).

    Hi, this is my first post and i hope its in the right thread.
    im a newbie just starting out
    im running xp home edition and using MS Visual Studio .net 2003 AE
    i made a simple application that runs well on my computer but on other computers they get this error ...

    The Application Failed To Initialize Properly (0xc0000135). Click on ok to terminate the application.

    i dont understand why? this what i have done/created...

    On MS Visual Studio i clicked on file ---> New ---> Project ---> Visual C++ Projects and selected ---> Windows Forms Applications (.NET)

    i named the project ' test '
    i then proceeded to Build solution.

    it ran fine on my machine but when run on another pc it kept displaying that error msg? i dont understand why just a form would need java.
    please help me.

    thank you

    deen

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    > it ran fine on my machine but when run on another pc it kept displaying that error msg?
    I assume the "AE" means academic edition, in which case you're probably breaking the licence terms.
    One of these terms being that you're not allowed to redistribute any executable programs you create to other people.

  3. #3
    Hamster without a wheel iain's Avatar
    Join Date
    Aug 2001
    Posts
    1,385
    This error maybe because the .NET framework is not or is incorrectly installed
    http://groups-beta.google.com/group/...ef7f09c6d44a52
    Monday - what a way to spend a seventh of your life

  4. #4
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544
    Quote Originally Posted by ntstatus.h
    Code:
    //
    // MessageId: STATUS_DLL_NOT_FOUND
    //
    // MessageText:
    //
    //  {Unable To Locate Component}
    //  This application has failed to start because %hs was not found. 
    //  Re-installing the application may fix this problem.
    //
    #define STATUS_DLL_NOT_FOUND             ((NTSTATUS)0xC0000135L)
    A DLL (dynamic link code library) that your program uses is not found on the target machine. Since this is a .NET application you probably need to install the .NET Framework on the target machine. If you create a native or Win32 application you should not have this problem but you still need to be careful about which function you use.

    This is because not all Windows functions are available on all platforms. The required platform is listed at the bottom of the documentation page for each function.
    Quote Originally Posted by MSDN
    Client: Included in Windows XP, Windows 2000 Professional, Windows NT Workstation.
    Server: Included in Windows Server 2003, Windows 2000 Server, Windows NT Server.
    This function for example is not available on Windows 9x/ME and if you used it in a program, it would fail to start on those platforms.
    Last edited by anonytmouse; 12-06-2004 at 04:54 AM.

  5. #5
    Registered User
    Join Date
    Dec 2004
    Posts
    3
    jeez those were speedy replys, thanks
    btw the AE means Architect Enterprise edition. I was just trying to get to grip with Forms.
    I tryed the win32 projects and win32 console projects but found that Windows forms was a bit easier to create.
    is there much difference between them?
    thanks

  6. #6
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    Well, Windows Forms require you to write Managed C++, which is bad. If you want .Net, use C#. If you want C++, don't use .Net. It's simple as that.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  7. #7
    Registered User
    Join Date
    Dec 2004
    Posts
    3
    ok thanks, i have a lot to learn

    thanks again

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Application has failed to start?
    By VirtualAce in forum Game Programming
    Replies: 5
    Last Post: 05-08-2006, 12:30 PM
  2. This application failed to start... VS2005
    By Syneris in forum Windows Programming
    Replies: 3
    Last Post: 02-02-2006, 11:47 AM
  3. Problem with com application
    By amardon in forum C++ Programming
    Replies: 3
    Last Post: 10-06-2005, 05:50 AM
  4. MFC run application by clicking on file...
    By dug in forum Windows Programming
    Replies: 4
    Last Post: 12-02-2004, 04:33 AM
  5. Application Termination Problem in Windows XP
    By wasabee in forum Windows Programming
    Replies: 2
    Last Post: 04-11-2003, 12:53 PM