[Bug 38011] ID Photo Maker 3.2 can't import jpegs for editing ('capCreateCaptureWindowW' is a stub)

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Feb 4 17:54:57 CST 2015


https://bugs.winehq.org/show_bug.cgi?id=38011

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                 CC|                            |focht at gmx.net
            Summary|ID Photo Maker can't import |ID Photo Maker 3.2 can't
                   |jpegs for editing           |import jpegs for editing
                   |                            |('capCreateCaptureWindowW'
                   |                            |is a stub)
     Ever confirmed|0                           |1

--- Comment #2 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

confirming although there is no crash anymore (Wine evolved).
Import still doesn't work.

Relevant part of trace log:

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/ID Photo Maker

$ WINEDEBUG=+tid,+seh,+relay,+avicap wine ./idp.exe >>log.txt 2>&1
...
0023:Call user32.CreateWindowExA(00040100,0013ced8
"Afx:400000:b:2005a:0:0",00570350
"\xca\xd3\xc6\xb5\xb4\xb0\xbf\xda",44010000,00000038,00000010,00000064,00000064,00020240,000000f0,00400000,00000000)
ret=004cd98e 
...
0023:Call avicap32.capCreateCaptureWindowA(00570350
"\xca\xd3\xc6\xb5\xb4\xb0\xbf\xda",50000000,00000000,00000000,00000064,00000064,0001027a,00000000)
ret=0049d865
...
0023:fixme:avicap:capCreateCaptureWindowW
(L"\00ca\00d3\00c6\00b5\00b4\00b0\00bf\00da", 50000000, 00000000, 00000000,
00000064, 00000064, 0x1027a, 00000000): stub
...
0023:Ret  avicap32.capCreateCaptureWindowA() retval=00000000 ret=0049d865
0023:Call user32.DestroyWindow(0001027a) ret=004cdc0c 
...
--- snip ---

The culprit is the avicap insufficiency here.
Even without explicitly selecting 'webcam' menu, it's somehow still needed in
jpeg case.

Source:
http://source.winehq.org/git/wine.git/blob/4d2ea61a213720375d6c7a1416915331f9c815bb:/dlls/avicap32/avicap32_main.c#l63

--- snip ---
63 HWND VFWAPI capCreateCaptureWindowW(LPCWSTR lpszWindowName, DWORD dwStyle,
INT x,
64                                  INT y, INT nWidth, INT nHeight, HWND hWnd,
65                                  INT nID)
66 {
67     FIXME("(%s, %08x, %08x, %08x, %08x, %08x, %p, %08x): stub\n",
68             debugstr_w(lpszWindowName), dwStyle, x, y, nWidth, nHeight,
hWnd, nID);
69     return 0;
70 }
--- snip ---

For testing purpose I created/returned a dummy window and it enabled the import
functionality along with editing.

MSDN:
https://msdn.microsoft.com/en-us/library/windows/desktop/dd756879%28v=vs.85%29.aspx

Some example usage:

http://www.timvw.be/2006/06/26/windows-multimedia-video-capture/

https://stackoverflow.com/questions/16184659/how-to-copy-image-without-using-the-clipboard

$ sha1sum idpm_setup.exe 
907e11acacbeb63bb9a43c0a91bd3f0368afbb93  idpm_setup.exe

$ du -sh idpm_setup.exe 
8.4M    idpm_setup.exe

$ wine --version
wine-1.7.35-73-g6eb4966

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list