Run time error '5'

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
MarcoV
Newbie
Newbie
Posts: 2
Joined: Tue Jun 02, 2009 2:30 am

Run time error '5'

Post by MarcoV »

Hi all,
I need to run a scuba decompression software on Linux(Ubuntu). I downloaded the software free trial version from
http://www.andihq.com/pages/mainpagev3.html
and tried to run it with Wine. All seem to work fine (autosetting, etc like in windows) but when the software should start to work the software window disappears and appears a window error saying

Run time error '5'
Invalid procedure call or argument

Could anyone suggest/give me an help please?
I'm only a 'user' not an expert so if someone could help me keep it more simple possible, please :?
User avatar
dimesio
Moderator
Moderator
Posts: 13369
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

What version of Wine? If it's not the latest (1.1.22), upgrade and see if that fixes it. If the problem persists with the newest version, run the app from a terminal and post whatever messages appear (if long, use pastebin).
MarcoV
Newbie
Newbie
Posts: 2
Joined: Tue Jun 02, 2009 2:30 am

Post by MarcoV »

Thank you. It's not the latest version of wine, it's 1.0.1. I've to ask to a friend how proceed to update it, using my Ubuntu distro.
phil
Newbie
Newbie
Posts: 3
Joined: Wed Jun 03, 2009 4:21 am

Post by phil »

hi,
I have problems with the same program , I' m using wine-1.1.22 :

Here there is the log :
http://pastebin.com/m59d0596f

thanks a lot

Phil
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

phil wrote:I have problems with the same program , I' m using wine-1.1.22 :
Try 'winetricks dcom98'. Only make sure you install this program and use winetricks on a separate WINEPREFIX!

dcom98 is less and less compatible with Wine and will most likely break anything else you have installed under Wine.
phil
Newbie
Newbie
Posts: 3
Joined: Wed Jun 03, 2009 4:21 am

Post by phil »

I have installed dcom98 with winetricks in WINEPREFIX=~/.winetest , but when i try to install GAPsetup.exe it fails:

$> env WINEPREFIX=~/.winetest wine gapsetup.exe
fixme:win:LockWindowUpdate (0x1003a), partial stub!
fixme:win:LockWindowUpdate (0x1003a), partial stub!
fixme:win:LockWindowUpdate ((nil)), partial stub!
fixme:win:LockWindowUpdate (0x1003a), partial stub!
fixme:win:LockWindowUpdate (0x1003a), partial stub!
fixme:win:LockWindowUpdate ((nil)), partial stub!
fixme:win:LockWindowUpdate (0x1003a), partial stub!
fixme:win:LockWindowUpdate (0x1003a), partial stub!
fixme:win:LockWindowUpdate ((nil)), partial stub!
fixme:win:LockWindowUpdate (0x1003a), partial stub!
fixme:win:LockWindowUpdate (0x1003a), partial stub!
fixme:win:LockWindowUpdate ((nil)), partial stub!
fixme:win:LockWindowUpdate (0x1003a), partial stub!
fixme:win:LockWindowUpdate (0x1003a), partial stub!
fixme:win:LockWindowUpdate ((nil)), partial stub!
fixme:win:LockWindowUpdate (0x1003a), partial stub!
fixme:win:LockWindowUpdate (0x1003a), partial stub!
fixme:win:LockWindowUpdate ((nil)), partial stub!
fixme:shell:DllCanUnloadNow stub
fixme:win:LockWindowUpdate (0x1003a), partial stub!
fixme:shell:DllCanUnloadNow stub
fixme:win:LockWindowUpdate ((nil)), partial stub!
fixme:shell:DllCanUnloadNow stub
fixme:win:LockWindowUpdate (0x1003a), partial stub!
err:menubuilder:WaitForParentProcess Unable to wait for parent process, error 0
fixme:shell:DllCanUnloadNow stub
phil
Newbie
Newbie
Posts: 3
Joined: Wed Jun 03, 2009 4:21 am

Post by phil »

Where are any suggestion on how to fix it ?

thanks

Phil
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

phil wrote:Where are any suggestion on how to fix it ?
File bug in Wine bugzille, of course that does not guarantee it will be fixed anytime soon.

Of course one thing you could try is installing it on Windows then copy all files, and possibly all registry keys it added over to Wine. Keep in mind this tends not to work for apps that deposit files and registry entries all over the place.
Locked