VS 2008 my project wont run in other computers

Answered VS 2008 my project wont run in other computers

  • Friday, August 03, 2012 4:15 PM
     
     

    i am new in VSc++ and im using VS 2008

    i made a dll with winform or GUI it can run/load in my computer but it dosnt do the same in other computers..the gui wont show

    i already installed so many version of vcredist_x86 but im still stuck with this problem

    could you please help me how to make it run in other computers..thank you

All Replies

  • Friday, August 03, 2012 4:18 PM
     
     
    Since you are talking about Winform, is the correct .NET version installed on the other computers? VC2008 is able to create applications that need at least .NET 3.5
  • Friday, August 03, 2012 4:51 PM
     
     

    will there should be an error msg if the correct .net version is not installed?...but there nothing like that,,the gui simple not showing up

    i will still try your advise sir..thank you

  • Friday, August 03, 2012 7:04 PM
     
     
    Please check whether the executable is running in taskmanager. I hope you put the dll and executable same folder and you are not getting any dll missing message.  Use dependency walker and check whether any dlls are missing.

    Thanks, Renjith V R

  • Saturday, August 04, 2012 9:55 AM
     
     

    will there should be an error msg if the correct .net version is not installed?...but there nothing like that,,the gui simple not showing up

    i will still try your advise sir..thank you

    You should get an error message, in both cases if you use dynalically linked native code or managed code (.NET ) if the .NET Framework is missing or the VC redistributable is missing.
  • Sunday, August 05, 2012 1:12 PM
     
     

    ok i somehow made it working in other pc by installing the same compiler that im using, VS2008

    so whats missing in other pc, to intall it without installing VS2008 ?

    @Renjith

    the WinForm is inside the dll..i mean the WinForm will show up if the dll is attach to a process 

    • Edited by JuanDelaC Sunday, August 05, 2012 1:13 PM
    •  
  • Sunday, August 05, 2012 1:49 PM
     
     

    ok i somehow made it working in other pc by installing the same compiler that im using, VS2008

    so whats missing in other pc, to intall it without installing VS2008 ?


    The plausible explanation is that you installed wrong redistributables (or somehow messed things up during the installations).
  • Sunday, August 05, 2012 4:40 PM
     
     Answered

    Have you tried dependency walker

    http://www.dependencywalker.com/


    Thanks, Renjith V R

    • Marked As Answer by JuanDelaC Monday, August 06, 2012 9:38 AM
    •  
  • Monday, August 06, 2012 2:32 AM
     
     

    i dont know about this dependency walker...i open my dll using this and gives me error and warnings:

    Error: At least one required implicit or forwarded dependency was not found.
    Warning: At least one delay-load dependency module was not found.
    Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module.

    what to do?

    thank you for the help

  • Monday, August 06, 2012 8:09 AM
     
     
    See section "How to Interpret Warnings and Errors in Dependency Walker" in Help.
  • Monday, August 06, 2012 11:34 AM
     
     

    Error: At least one required implicit or forwarded dependency was not found.

    This error means, Suppose dll A depends on dll B. You application is loaded dll A and dll B is missing.  

    Please check following links

    http://social.msdn.microsoft.com/forums/en-US/vcgeneral/thread/84c539c7-e50b-44f3-a10b-0721c542dfce/

    http://www.dependencywalker.com/help/html/hidr_module_list_view.htm


    Thanks, Renjith V R