Missing .DLL

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
CallmeJeff
Newbie
Newbie
Posts: 4
Joined: Tue Feb 28, 2012 5:39 pm

Missing .DLL

Post by CallmeJeff »

I am trying to run a .exe from a C++ program i found online and wine tells me that I am missing 2 .dll files which i then download and throw into the folder with the .exe. I then get the error

err:ole:CoGetClassObject class {102225e5-ea25-11d3-886e-00105a154a4d} not registered
err:ole:CoGetClassObject class {102225e5-ea25-11d3-886e-00105a154a4d} not registered
err:ole:CoGetClassObject no class object {102225e5-ea25-11d3-886e-00105a154a4d} could be created for context 0x3

I tried copying the .dlls to the .wine/drive_c/system directory to no avial. I think the issue is with installing the DLL's in wine. I read winetricks might be the way to go but I am having a hard time using it. Please Help!
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

Missing .DLL

Post by jjmckenzie »

On Thu, Mar 1, 2012 at 10:36 AM, CallmeJeff <[email protected]> wrote:
I am trying to run a .exe from a C++ program i found online and wine tells me that I am missing 2 .dll files which i
then download and throw into the folder with the .exe.  I then get the error

err:ole:CoGetClassObject class {102225e5-ea25-11d3-886e-00105a154a4d} not registered
err:ole:CoGetClassObject class {102225e5-ea25-11d3-886e-00105a154a4d} not registered
err:ole:CoGetClassObject no class object {102225e5-ea25-11d3-886e-00105a154a4d} could be created for context 0x3

I tried copying the .dlls to the .wine/drive_c/system directory to no avial.  I think the issue is with installing the
DLL's in wine.  I read winetricks might be the way to go but I am having a hard time using it.  Please Help!
Put the dlls in the same directory as where the program is executed
from and then run winecfg and set the dlls to native.

BTW, what are the names of the dll file(s)?

James
CallmeJeff
Newbie
Newbie
Posts: 4
Joined: Tue Feb 28, 2012 5:39 pm

Post by CallmeJeff »

I did that and the dlls do not show up in winecfg. The dlls are MFC42D.DLL and MFCO42D.DLL.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Missing .DLL

Post by dimesio »

CallmeJeff wrote: I tried copying the .dlls to the .wine/drive_c/system directory
Put them in .wine/drive_c/system32.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Missing .DLL

Post by dimesio »

dimesio wrote:
CallmeJeff wrote: I tried copying the .dlls to the .wine/drive_c/system directory
Put them in .wine/drive_c/system32.
Correction: that should be .wine/drive_c/windows/system32.
John Drescher

Missing .DLL

Post by John Drescher »

On Thu, Mar 1, 2012 at 10:35 PM, CallmeJeff <[email protected]> wrote:
I did that and the dlls do not show up in winecfg.  The dlls are MFC42D.DLL and MFCO42D.DLL.
Install those properly with winetricks

winetricks vcrun6

John
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Missing .DLL

Post by dimesio »

John Drescher wrote:On Thu, Mar 1, 2012 at 10:35 PM, CallmeJeff <[email protected]> wrote:
I did that and the dlls do not show up in winecfg.  The dlls are MFC42D.DLL and MFCO42D.DLL.
Install those properly with winetricks

winetricks vcrun6
They're not installed by vcrun6.
John Drescher

Missing .DLL

Post by John Drescher »

Install those properly with winetricks

winetricks vcrun6
They're not installed by vcrun6.
You are correct. Those are debug dlls which are not supposed to be
distributed or used without Visual Studio being installed.

John
Usurp
Level 4
Level 4
Posts: 161
Joined: Sat Apr 19, 2008 7:16 am

Re: Missing .DLL

Post by Usurp »

CallmeJeff wrote:I am trying to run a .exe from a C++ program i found online and wine tells me that I am missing 2 .dll files which i then download and throw into the folder with the .exe. I then get the error

err:ole:CoGetClassObject class {102225e5-ea25-11d3-886e-00105a154a4d} not registered
err:ole:CoGetClassObject class {102225e5-ea25-11d3-886e-00105a154a4d} not registered
err:ole:CoGetClassObject no class object {102225e5-ea25-11d3-886e-00105a154a4d} could be created for context 0x3

I tried copying the .dlls to the .wine/drive_c/system directory to no avial. I think the issue is with installing the DLL's in wine. I read winetricks might be the way to go but I am having a hard time using it. Please Help!
Is this software for a webcam ? The class id in your error message matches vportal2.dll, by Logitech.

If so, try to run

Code: Select all

regsvr32 vportal2
CallmeJeff
Newbie
Newbie
Posts: 4
Joined: Tue Feb 28, 2012 5:39 pm

Post by CallmeJeff »

What I am trying to do is run code for a .exe i found online of a DIY laser range finder using a webcam and a laser pointer, which i need to run in linux for a robot i'm creating for my senior design project, since we do not have the budget for a legitimate laser range finder.

First thing i tried was copying the DLL files to system32 which gave me the same error so i tried winetricks vcrun6 which then gave me

Executing load_vcrun6
Executing cabextract -q /home/ashley/.cache/winetricks/vcrun6/vcreditst.exe -d /home/ashley/.wine/dosdevices/c:/windows/system32 -F mfc42*.dll
Using native,builtin override for following DLLs: msvcrt
Executing winetricks_early_wine regedit C:\windows\Temp\_vcrun6\override-dll.reg


I then tried regsvr32 vportal2 which gave me
Failed to load DLL vportal2

I would really appreciate continued support, this is very important to me. Thank you!
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

CallmeJeff wrote:What I am trying to do is run code for a .exe i found online of a DIY laser range finder using a webcam and a laser pointer,
AFAICT, webcams don't work in Wine. http://bugs.winehq.org/show_bug.cgi?id=16147
I then tried regsvr32 vportal2 which gave me
Failed to load DLL vportal2
Try registering the two dlls you copied.
CallmeJeff
Newbie
Newbie
Posts: 4
Joined: Tue Feb 28, 2012 5:39 pm

Post by CallmeJeff »

I'm not sure how to register them.

I tried regsvr32 mfdc42 which gave me
DllReisterServer not implemented in DLL mfc42d
Locked