http://bugs.winehq.org/show_bug.cgi?id=3837
------- Additional Comments From xerox_xerox2000(a)yahoo.co.uk 2006-07-09 15:50 -------
Created an attachment (id=3561)
--> (http://bugs.winehq.org/attachment.cgi?id=3561&action=view)
test based om current "implementation" of Validatevertexshader
test is based on current implementation of Validatevertexshader:
#include <d3d8.h>
#include "wine/test.h"
static BOOL (WINAPI *ValidateVertexShader)(LPVOID,int,int,LPVOID);
static void test_ValidateVertexShader(void)
{
BOOL ret;
ret=ValidateVertexShader(0,0,0,1);
ok(ret==1,"ValidateVertexShader returned %d but expected 1\n",ret);
}
START_TEST(d3d8_main)
{
HMODULE d3d8_handle = LoadLibraryA( "d3d8.dll" );
ValidateVertexShader = (void*)GetProcAddress (d3d8_handle,
"ValidateVertexShader" );
test_ValidateVertexShader();
}
Results: passes in wine ('wine d3d8_crosstest4.exe d3d8_main'), crashes with
native d3d8.dll and i guess on windows too(' WINEDLLOVERRIDES="d3d8=n" wine
d3d8_crosstest d3d8_main')
I hope these 2 tests make it a bit more assumable that ValidateVertexShader
takes 5 instead of 4 parameters (unless i did something horribly wrong ;))
--
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=3837
------- Additional Comments From xerox_xerox2000(a)yahoo.co.uk 2006-07-09 15:32 -------
Created an attachment (id=3560)
--> (http://bugs.winehq.org/attachment.cgi?id=3560&action=view)
test with 5 paramaters
Ok, here's another attempt, one day this bug will be fixed ;)
Test attached is:
#include <d3d8.h>
#include "wine/test.h"
static HRESULT (WINAPI *ValidateVertexShader)(LPVOID,int,LONG,int,LPVOID);
static void test_ValidateVertexShader(void)
{
HRESULT ret;
ret=ValidateVertexShader(0,0,0,1,0);
ok(ret==E_FAIL,"ValidateVertexShader returned %lx but expected E_FAIL\n",ret);
}
START_TEST(d3d8_main)
{
HMODULE d3d8_handle = LoadLibraryA( "d3d8.dll" );
ValidateVertexShader = (void*)GetProcAddress (d3d8_handle,
"ValidateVertexShader" );
test_ValidateVertexShader();
}
I'm just passing dumb zero's to the function, except the 4th parameter, which
takes a 1. The 1 is for example passed by
http://www.codesampler.com/source/dx8_vs11_shader_simple.zip
This test fails in wine (run 'wine d3d8_crosstest5.exe d3d8_main')
However, you can just call ValidateVertexShader from a native d3d8.dll in wine,
so WINEDLLOVERRIDES="d3d8=n" wine d3d8_crosstest.exe d3d8_main succeeds just
fine.
I'll attach hereafter the test based on _current_ "implementation" of
ValidatevertexShader, and that fails with native d3d8.dll
--
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=1886
------- Additional Comments From bojan(a)antonovic.com 2006-07-09 15:25 -------
Can somebody with successfully installed WMP 9 try to verify if bug 1988 still
exists?
Wine 0.9.20 brought the running process of bug 1988 further. But WMP is required.
--
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=1988
------- Additional Comments From bojan(a)antonovic.com 2006-07-09 15:18 -------
With Wine 0.9.20 and VCDEasy 3.10 (trial version) it comes much further. The bug
report is longer. However, an installation of Windows Media Player (maybe 9 or
10) is required. Because of the problematic, yet unproperly resolved
installation of WMP, I to make this bug dependent on bug 1886 (or 4355).
--
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=1988
bojan(a)antonovic.com changed:
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |1866
------- Additional Comments From bojan(a)antonovic.com 2006-07-09 15:16 -------
With Wine 0.9.20 and VCDEasy 3.10 (trial version) it comes much further. The bug
report is longer. However, an installation of Windows Media Player (maybe 9 or
10) is required. Because of the problematic, yet unproperly resolved
installation of WMP, I to make this bug dependent on bug 1886 (or 4355).
--
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=6087
seppo.ruuskanen(a)memo.ikea.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|0.9.19. |0.9.20.
--
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=6087
------- Additional Comments From seppo.ruuskanen(a)memo.ikea.com 2006-07-09 14:17 -------
Hmmm, I better add what I was doing in MemoClient during the trace...
1: Started MemoClient.exe
2: Doubleclicked on an email
3: MemoEdit.exe started and fired off the Runtime Error
4: I clicked on the OK button in the Error window
5: MemoEdit.exe vanished and I was back in MemoClient.exe
6: I closed MemoClient and got my commandline back
Brgds / Seppo Ruuskanen
--
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=6087
seppo.ruuskanen(a)memo.ikea.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #3471 is|0 |1
obsolete| |
------- Additional Comments From seppo.ruuskanen(a)memo.ikea.com 2006-07-09 14:10 -------
Created an attachment (id=3559)
--> (http://bugs.winehq.org/attachment.cgi?id=3559&action=view)
A real debugger output! 145Mb...
The trace consists of the command line that Louis Lenders asked for, namely the
output from:
WINEDEBUG=+tid,+seh,+relay wine MemoClient.exe &> /tmp/relay.log && \
grep -A 20 -B 5000 "MessageBox" /tmp/relay.log > /tmp/relay.txt && bzip2 \
/tmp/relay.txt
I was in the directory where MemoClient.exe resides when I fired off the
command!
Brgds / Seppo Ruuskanen
--
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.