Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

sending my application to others

viraj.v87viraj.v87 Member Posts: 7
if i send my application in a zip folder via email to my friend who does not hav visual studio on his comp then the application[i.e. the .exe which i hav made] does not run... it says it requires a mfc42.dll file which is missing ... On downloading this file from the net and putting it in the system folder of his windows then also it wont run... it says it needs an mfc42d.dll.... downloaded this also... .then it says it requires an msvcrtd.dll.... by then i had given up... any solutions ?? will gr8ly be appreciated thanx in advance...

Comments

  • BitByBit_ThorBitByBit_Thor Member Posts: 2,444
    : if i send my application in a zip folder via email to my friend who
    : does not hav visual studio on his comp then the application[i.e. the
    : .exe which i hav made] does not run... it says it requires a
    : mfc42.dll file which is missing ... On downloading this file from
    : the net and putting it in the system folder of his windows then also
    : it wont run... it says it needs an mfc42d.dll.... downloaded this
    : also... .then it says it requires an msvcrtd.dll.... by then i had
    : given up... any solutions ?? will gr8ly be appreciated thanx in
    : advance...
    :

    Download msvcrtd.dll :)

    At any rate... even though a C program *should* compile without using any but the standard windows DLL's in 99% of the cases it won't: if you are including some standard headers you'll need the DLL's above. And ofcourse if you use MFC, you need it's DLL.

    May I ask what OS you are running on the other computer? I believe all of the new versions of Windows have these DLL's by default (or atleast msvcrt).

    Best Regards,
    Richard

    The way I see it... Well, it's all pretty blurry
  • viraj.v87viraj.v87 Member Posts: 7
    : Download msvcrtd.dll :)
    :
    : At any rate... even though a C program *should* compile without
    : using any but the standard windows DLL's in 99% of the cases it
    : won't: if you are including some standard headers you'll need the
    : DLL's above. And ofcourse if you use MFC, you need it's DLL.
    :
    : May I ask what OS you are running on the other computer? I believe
    : all of the new versions of Windows have these DLL's by default (or
    : atleast msvcrt).
    :
    : Best Regards,
    : Richard
    :
    : The way I see it... Well, it's all pretty blurry


    Hey Richard....
    the other comp's using Windows XP.... will try and see the results if i download msvcrtd.dll also... thanx for ur help...
  • Mohammad RastMohammad Rast Member Posts: 29
    [italic][b]Hi[/b][/italic],
    There is some answers from Microsoft (search for 'redistributing' or 'deployment'):

    http://msdn2.microsoft.com/en-us/library/zebw5zk9(VS.80).aspx
    --------------------------------------
    - I don't have Time To waste The Time!
  • viraj.v87viraj.v87 Member Posts: 7
    : [italic][b]Hi[/b][/italic],
    : There is some answers from Microsoft (search for 'redistributing' or
    : 'deployment'):
    :
    : http://msdn2.microsoft.com/en-us/library/zebw5zk9(VS.80).aspx
    : --------------------------------------
    : - I don't have Time To waste The Time!
    hey... i found a solution guys... basically u can see all the modules tht ur application needs by using the debug menu.... and hence u jus hav 2 use those dlls.... but of course versions are an important criteria... u jus cant download those dlls frm the net bcos they may not be the correct required version... so basically... jus use those dlls that r in YOUR windows system32 folder... supply ur frend or any1 who wants 2 use ur application with the dlls in YOUR system.... and paste them in HIS windows system32 folder.... it works.... and to make it more elegant.... i.e. without copy pasting the files manually in front of ur friend, u can use an application named install2go.exe... tht automatically makes an installer software for ur exe and adds those dlls also in his system32 folder[of course u have 2 specify tht in install2go.exe]....
Sign In or Register to comment.