http://bugs.winehq.org/show_bug.cgi?id=7659
Summary: error running VB script in wine
Product: Wine
Version: unspecified
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-binary
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: mike.clarkson(a)baesystems.com
Can anyone help me with this error? I get this error when I run my vb
script in wine. The script creates a shortcut and works fine when I
run it at a cmd prompt in Windows. I'm new to both vb script and wine.
This occurred using wine version 0.9.31 on linux fedora core 5 (2.6.15-
1.2054_FC5) running in VMWare on a Dell PC.
Z:\root\vb_shortcut>cscript mk_shortcut.vbs "temp" "Z:\root\vb_shortcut
\test.txt " "."
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
2599: assertion failed "(*(const char*)_DBUS_FUNCTION_NAME) != '_'"
file "dbus-connection.c" line 2877 function
_dbus_connection_read_write_dispatch
err:ole:CoGetClassObject class {6c736db1-bd94-11d0-8a23-00aa00b58e10}
not registered
err:ole:CoGetClassObject no class object {6c736db1-
bd94-11d0-8a23-00aa00b58e10} could be created for context 0x1
Z:\root\vb_shortcut\mk_shortcut.vbs(10, 1) P: 0x8002801D
I've installed Windows Script 5.6 for Windows XP into my wine
installation. Part of my problem may be that I'm running wine with the
windows version set to Windows 98. The reason I'm doing this is I
can't get cscript to work with my Windows version set to XP. Here is
the error I get when just trying to run cscript at the cmd prompt in
wine with the Windows version set to XP:
Z:\root\vb_shortcut>cscript
fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,
(nil)) - stub!
Here is a copy of my vb script. It is a script to create a shortcut.
This is really all I need to do. If anyone knows of a another way to
create a shortcut that works in wine using a script please let me
know.
'VSScript that can be run to create a shortcut
'Usage (from a cmd line): cscript mk_shortcut.vbs "<shortcut name>"
"<shortcut target>" "<shortcut location>"
'Example: cscript mk_shortcut.vbs "notepad_shortcut" "C:\Windows
\Notepad.exe" "U:\some_directory"
'TODO: Add some error checking (currently none since I don't know how
in VBScript)
Dim WSHShell, fs
Set WSHShell = WScript.CreateObject("WScript.Shell")
Set fs = WScript.CreateObject("Scripting.FileSystemObject")
Function MakeDesktopShortcut( name, target, shortcut_location )
Dim Shortcut,StartupPath
Set Shortcut = WSHShell.CreateShortcut(shortcut_location & "\" & name
& ".lnk")
Shortcut.TargetPath = target
StartupPath = fs.GetParentFolderName( target )
If fs.FolderExists( StartupPath ) then
Shortcut.WorkingDirectory = StartupPath
End If
Shortcut.Save
End Function
Dim Shortcut_name, Shortcut_target, Shortcut_location
Shortcut_name = WScript.Arguments.Item(0)
Shortcut_target = WScript.Arguments.Item(1)
Shortcut_location = WScript.Arguments.Item(2)
MakeDesktopShortcut Shortcut_name, Shortcut_target, Shortcut_location
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=4945
jan.wine(a)zerebecki.de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
------- Additional Comments From jan.wine(a)zerebecki.de 2007-08-03 11:03 -------
Commit 24eabb8a46e2ce544ca0534c7b41e9f08cfed924 should fix this (thu for me it
obviously never would work as I don't have a visual with alpha). (Please reopen
if I missed something.)
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2452
------- Additional Comments From flexo(a)holycrap.org 2007-08-03 10:56 -------
Do a +relay log, search for "Call not implemented" and look what it tries to do
before it reports the error.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=4790
------- Additional Comments From p.beutner(a)gmx.net 2007-08-03 10:53 -------
@ #7
It is normal gnu syntax, ie xmm0 is the source operand and xmm1 the destination
operand.
=> divps xmm0, xmm1 => xmm0 is the divisor, xmm1 is the dividend
That is simply how the instruction is defined.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=6856
------- Additional Comments From jan.wine(a)zerebecki.de 2007-08-03 10:44 -------
The initial bugreport is likely a dup of #4791 and comment #6 sounds like the
problem I got without native msxml3.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2223
------- Additional Comments From thestig(a)google.com 2007-08-03 10:15 -------
Can you retest the application with the latest wine?
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=4791
thestig(a)google.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
------- Additional Comments From thestig(a)google.com 2007-08-03 10:13 -------
closing.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=1114
------- Additional Comments From flexo(a)holycrap.org 2007-08-03 10:10 -------
With the fancy new message sequence testing in the comctl32 testsuite I deciced
to look into this again. The only thing I know right now: My conclusion 2 years
ago was wrong - we do have to set the focus back. Will work on this if I have
some time.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=5850
dank(a)kegel.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |download
------- Additional Comments From dank(a)kegel.com 2007-08-03 10:09 -------
Peto, I just noticed that this app is a free download,
so I added the 'download' keyword. I tried running it myself,
but it's hard because I don't know the language.
Can you give a minimal list of steps to reproduce
the problem from a clean install?
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=7657
------- Additional Comments From flexo(a)holycrap.org 2007-08-03 10:06 -------
If possible do a +relay log and search for "Number of Planets" in it to figure
out what APIs are involved. Also you could do this with WinXP and Win98 mode and
see if either the API or any parameters differ.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.