Failed to Register craxdrt.dll on Ubuntu 10.04 WINE

Questions about Wine on Linux
Locked
agholganza
Newbie
Newbie
Posts: 3
Joined: Sat Sep 24, 2011 12:56 am
Contact:

Failed to Register craxdrt.dll on Ubuntu 10.04 WINE

Post by agholganza » Sat Sep 24, 2011 1:00 am

Hello guys...I am new to UBUNTU and WINE... I was trying to install a visual basic program for our small company but I keep getting an error saying "Failed to register craxdrt.dll". Without this dll my program cannot run since it uses crystal reports. I have already tried the overide of dynamic link libraries in the WINE configuration...

Any help would be of great value...thanks a alot...

User avatar
SpawnHappyJake
Level 5
Level 5
Posts: 272
Joined: Sun Feb 06, 2011 5:57 am

Post by SpawnHappyJake » Sat Sep 24, 2011 1:23 am

What would happen if you did this:

1. Found craxdrt.dll, selected it, did Ctrl+C (or right-click, copy)
2. Opened Nautilus (the file browser). You can do this by hitting "Alt+F2" and typing "Nautilus".
3. In Nautilus, went to your home folder, and hit Ctrl+H to show hidden stuff.
4. Went to the .wine folder, or whatever prefix folder you are having it use.
5. Went in that folder, drive_c, windows, system32, and pasted craxdrt.dll in there with the other dlls (by right-clicking space, and saying "Paste" or by clicking in space and doing "Ctrl+V")
6. Hit Ctrl+Alt+T to open terminal, and entered this:
wine regsvr32 craxdrt.dll

Of course, if you are using something other than the default prefix, which, by default, is $HOME/.wine ($HOME being your home folder. Your system actually recognizes "$HOME", it's not just some thing that people write in forums), you will need to prepend stuff like so:

WINEPREFIX=$HOME/crystal wine regsvr32 craxdrt.dll

That would be if you made a folder in your home folder called "crystal" and told WINE to use that instead of the default ".wine".

And yes, you can change the folder that is used as the default if you compile WINE from source, so $HOME/.wine is actually the default default.

That's enough exceptions to the rule for now.

See how it goes.

Jake

agholganza
Newbie
Newbie
Posts: 3
Joined: Sat Sep 24, 2011 12:56 am
Contact:

Post by agholganza » Sat Sep 24, 2011 2:15 am

thanks for the tip...i will let you know the results...

agholganza
Newbie
Newbie
Posts: 3
Joined: Sat Sep 24, 2011 12:56 am
Contact:

Post by agholganza » Sat Sep 24, 2011 2:26 am

Hi jake,

i got this error after I did all the steps you told me to..
rmctech@RMCTECH:~$ wine regsvr32 craxdrt.dll
err:menubuilder:WinMain unknown option -a
err:menubuilder:WinMain unknown option -r
fixme:advapi:CheckTokenMembership ((nil) 0x131e20 0x33fb10) stub!
fixme:process:SetProcessShutdownParameters (00000280, 00000001): partial stub.
fixme:ole:CoInitializeSecurity (0x650e98,-1,(nil),(nil),6,2,(nil),12352,(nil)) - stub!
fixme:ole:CoResumeClassObjects stub
fixme:sync:CreateTimerQueue stub
fixme:exec:SHELL_execute flags ignored: 0x00000500
fixme:advapi:RegisterEventSourceW ((null),L"gupdate"): stub
fixme:advapi:ReportEventW (0xcafe4242,0x0004,0x0000,0x00000000,(nil),0x0001,0x00000000,0x7e9ed738,(nil)): stub
fixme:advapi:DeregisterEventSource (0xcafe4242) stub
fixme:advapi:CheckTokenMembership ((nil) 0x131dd0 0x33fb10) stub!
fixme:process:SetProcessShutdownParameters (00000280, 00000001): partial stub.
fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),6,2,(nil),64,(nil)) - stub!
fixme:sync:CreateTimerQueue stub
fixme:sync:UnregisterWaitEx 0x133330 0xffffffff
fixme:sync:UnregisterWaitEx 0x1332e8 0xffffffff
err:module:import_dll Library MSVCP60.dll (which is needed by L"C:\\windows\\system32\\craxdrt.dll") not found
Failed to load DLL craxdrt.dll
rmctech@RMCTECH:~$

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

Post by dimesio » Sat Sep 24, 2011 8:12 am

agholganza wrote:
err:module:import_dll Library MSVCP60.dll (which is needed by L"C:\\windows\\system32\\craxdrt.dll") not found
Install vcrun6 with winetricks.

Locked