LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-03-2011, 07:40 PM   #1
gabytf
Member
 
Registered: Jun 2010
Location: Kota Kinabalu, Sabah, Malaysia
Distribution: Slackware64 15, -current
Posts: 172

Rep: Reputation: 1
Unable to register the DLL/OCX: LoadLibrary failed; code 126


I am trying to install a Window base software using Wine ver1.2.3,but half way during the installation Wine reported that it has some error. The error message is:


C:\windows\system32\craxddrt.dll

Unable to register the DLL/OCX: LoadLibrary failed; code 126.
Module not found.

Click Retry to try again, Ignore to proceed anyway (not recommended), or Abort to cancel installation.


Is there any other way to register the mentioned DLL/OCX? What had caused this problem? Thanks!

Edit:

Run the setup in console, said that "import-dll library MFC42.DLL Not Found".
So i copy MFC42.DLL file into /.wine/drive_c/windows/system32 folder. it worked and finised the installation.

but when i run the program, it show Run Time Error 13, Type Mismatch.

There must be something wrong during the installation.How to interpret code below:

gab@gab-Inspiron-700m:~/Downloads$ wine setup.exe
fixme:winisableProcessWindowsGhosting : stub
err:richedit:ReadStyleSheet skipping optional destination
fixme:sfc:SfcIsFileProtected ((nil), L"C:\\Program Files\\CAMS\\unins000.exe") stub
fixmelellRegisterServer stub
errle:TLB_ReadTypeLib Loading of typelib L"C:\\Program Files\\Common Files\\Microsoft Shared\\DAO\\dao2535.tlb" failed with error 2
fixme:atl:AtlModuleInit SEMI-STUB (0x1003a830 0x100362a8 0x10000000)
fixme:atl:AtlModuleInit SEMI-STUB (0x100061e8 0x10006150 0x10000000)
File not found

Last edited by gabytf; 11-03-2011 at 11:07 PM. Reason: Updates
 
Old 11-03-2011, 11:09 PM   #2
gabytf
Member
 
Registered: Jun 2010
Location: Kota Kinabalu, Sabah, Malaysia
Distribution: Slackware64 15, -current
Posts: 172

Original Poster
Rep: Reputation: 1
Btw,How to post the Terminal output as Code instead of text?
 
Old 11-04-2011, 12:08 AM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
you might want to run that on a windows OS

MS's Visualbasic programs run VERY VERY VERY slow
a 30 sec. runtime on win7 might take HOURS in wine .

are you trying to run "Microsoft Access " in wine ?
 
Old 11-04-2011, 03:10 AM   #4
gabytf
Member
 
Registered: Jun 2010
Location: Kota Kinabalu, Sabah, Malaysia
Distribution: Slackware64 15, -current
Posts: 172

Original Poster
Rep: Reputation: 1
Yes it is MS-Access based software.

Here is the initial Terminal output after i abort the installation:

wine setup.exe
fixme:winisableProcessWindowsGhosting : stub
err:richedit:ReadStyleSheet skipping optional destination
fixme:sfc:SfcIsFileProtected ((nil), L"C:\\Program Files\\CAMS\\unins000.exe") stub
fixmelellRegisterServer stub
errle:TLB_ReadTypeLib Loading of typelib L"C:\\Program Files\\Common Files\\Microsoft Shared\\DAO\\dao2535.tlb" failed with error 2
fixme:atl:AtlModuleInit SEMI-STUB (0x1003a830 0x100362a8 0x10000000)
fixme:atl:AtlModuleInit SEMI-STUB (0x100061e8 0x10006150 0x10000000)
fixme:atl:AtlModuleUnregisterServerEx (0x100061e8, 1, (nil)) stub
err:module:import_dll Library MFC42.DLL (which is needed by L"C:\\windows\\system32\\craxdrt.dll") not found
err:module:import_dll Library MFC42.DLL (which is needed by L"C:\\windows\\system32\\craxddrt.dll") not found
fixme:atl:AtlModuleInit SEMI-STUB (0x188a830 0x18862a8 0x1850000)
fixme:atl:AtlModuleUnregisterServerEx (0x188a830, 1, (nil)) stub
 
Old 11-04-2011, 03:26 AM   #5
gabytf
Member
 
Registered: Jun 2010
Location: Kota Kinabalu, Sabah, Malaysia
Distribution: Slackware64 15, -current
Posts: 172

Original Poster
Rep: Reputation: 1
Later i copy the said MFC42.dll to /drive-c/windows/system32

output is:

fixme:winisableProcessWindowsGhosting : stub
err:richedit:ReadStyleSheet skipping optional destination

fixme:sfc:SfcIsFileProtected ((nil), L"C:\\Program Files\\CAMS\\unins000.exe") stub
fixmelellRegisterServer stub
errle:TLB_ReadTypeLib Loading of typelib L"C:\\Program Files\\Common Files\\Microsoft Shared\\DAO\\dao2535.tlb" failed with error 2
fixme:atl:AtlModuleInit SEMI-STUB (0x1003a830 0x100362a8 0x10000000)

then i abort the installation.

Last edited by gabytf; 11-04-2011 at 03:28 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to register the DLL/OCX: LoadLibrary failed; code 126 gabytf Linux - Newbie 2 11-03-2011 08:57 PM
[SOLVED] debian lenny won't start up: failed code 126 wincen Linux - Newbie 7 12-14-2010 09:22 PM
Convert a dll code to linux EvilLinux Programming 5 12-08-2004 09:51 AM
Crossover Office Refuses to Register threed32.ocx andrewb758 Linux - Software 1 10-13-2003 08:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration