DLL abd Batch file

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
I am working on VC++ 6.0 MFC project consistence of Bunch of DLLs which are different in WIN XP and WIN 2k . when I am installing the software on Xp maching it give me error that some of the dll is not consistence which I found
out from event viewer and one of them is MFC32d.dll if I copy dll from win 2000 to win xp, it will not only install correctly but also work correctly.
Just to test that I have rename all dll and copy that to C:WINDOWSsystem32 and everything is just smooth.
SO I decide to create batch file and I need some one who is master to this topic.
<p style="line-height:16.8pt; margin:0in 0in 0pt <span lang="EN" style="font-family:"Verdana","sans-serif"; color:blue; font-size:9pt @echo off<span style="font-family:"Times New Roman","serif"; font-size:12pt
<p style="line-height:16.8pt; margin:0in 0in 0pt <span lang="EN" style="font-family:"Verdana","sans-serif"; color:blue; font-size:9pt copy mfc42d.dll $windirsystem32 > nul<span style="font-family:"Times New Roman","serif"; font-size:12pt
<p style="line-height:16.8pt; margin:0in 0in 0pt <span lang="EN" style="font-family:"Verdana","sans-serif"; color:blue; font-size:9pt regsvr32 $windirsystem32mfc42d.dll /s > nul<span style="font-family:"Times New Roman","serif"; font-size:12pt
<p style="line-height:16.8pt; margin:0in 0in 0pt <span lang="EN" style="font-family:"Verdana","sans-serif"; color:blue; font-size:9pt copy msvcrtd.dll $windirsystem32 > nul<span style="font-family:"Times New Roman","serif"; font-size:12pt
<p style="line-height:16.8pt; margin:0in 0in 0pt <span lang="EN" style="font-family:"Verdana","sans-serif"; color:blue; font-size:9pt regsvr32 $windirsystem32msvcrtd.dll /s > nul<span style="font-family:"Times New Roman","serif"; font-size:12pt
<p style="line-height:16.8pt; margin:0in 0in 0pt <span lang="EN" style="font-family:"Verdana","sans-serif"; color:blue; font-size:9pt copy mfco42d.dll $windirsystem32 > nul<span style="font-family:"Times New Roman","serif"; font-size:12pt
<p style="line-height:16.8pt; margin:0in 0in 0pt <span lang="EN" style="font-family:"Verdana","sans-serif"; color:blue; font-size:9pt regsvr32 $windirsystem32mfco42d.dll /s > nul<span style="font-family:"Times New Roman","serif"; font-size:12pt
<p style="line-height:16.8pt; margin:0in 0in 0pt <span lang="EN" style="font-family:"Verdana","sans-serif"; color:blue; font-size:9pt copy oleaut32.dll $windirsystem32 > nul<span style="font-family:"Times New Roman","serif"; font-size:12pt
<p style="line-height:16.8pt; margin:0in 0in 0pt <span lang="EN" style="font-family:"Verdana","sans-serif"; color:blue; font-size:9pt regsvr32 $windirsystem32oleaut32.dll /s > nul<span style="font-family:"Times New Roman","serif"; font-size:12pt



Thank you very much

<hr class="sig Vijay Patel

View the full article
 

Similar threads

D
Replies
0
Views
97
Donald Uko
D
Y
Replies
0
Views
107
Youngcash Sog
Y
R
Replies
0
Views
130
Ravnø Data
R
Back
Top