WineHQ
Bug Tracking Database – Bug 27914

 Bugzilla

 

Last modified: 2014-02-07 13:06:56 UTC  

Simple Screenshot-Code doesn't work

Bug 27914 - Simple Screenshot-Code doesn't work
Simple Screenshot-Code doesn't work
Status: CLOSED FIXED
AppDB: Show Apps affected by this bug
Product: Wine
Classification: Unclassified
Component: -unknown
unspecified
x86 Linux
: P2 normal
: ---
Assigned To: Mr. Bugs
: download, source, testcase
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2011-07-27 01:17 UTC by user123
Modified: 2014-02-07 13:06 UTC (History)
0 users

See Also:
Regression SHA1:
Fixed by SHA1:
Distribution: ---
Staged patchset:


Attachments
The Screenshot-Logic. (2.22 KB, text/x-c++src)
2011-07-27 01:18 UTC, user123
Details
Header for Screenshot-Logic. (192 bytes, text/x-c++hdr)
2011-07-27 01:19 UTC, user123
Details
Test Program for the Dll. (458 bytes, text/x-csrc)
2011-07-27 01:21 UTC, user123
Details
Compiled testcase: screenshot.exe <path to output.jpg> (68.00 KB, application/octet-stream)
2014-02-06 07:25 UTC, Bruno Jesus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description user123 2011-07-27 01:17:44 UTC
Hello,

I copied a simple Screenshot code and made some easy changes on it. The Screenshot-Code is saved in a DLL an i call its function 'int do_screenshot(char*)'.

There are 3 files:
- w32ss.cpp
  Implementation of the Screenshot-Logic.
- w32ss.hpp
  Header of w32ss.cpp (export do_screenshot for C)
- w32ss_test
  Test-Program for the dll.

The program is very small and easy. I compiled it with the Microsoft C++ Compiler and MinGw on Windows. Both binaries work on Windows.

On Wine the Test-Output works and the tool finishes, but the screenshot-file is not created. I don't know why.

best regards
Comment 1 user123 2011-07-27 01:18:53 UTC
Created attachment 35710 [details]
The Screenshot-Logic.
Comment 2 user123 2011-07-27 01:19:53 UTC
Created attachment 35711 [details]
Header for Screenshot-Logic.
Comment 3 user123 2011-07-27 01:21:19 UTC
Created attachment 35712 [details]
Test Program for the Dll.
Comment 4 Bruno Jesus 2014-02-06 07:25:09 UTC
Created attachment 47426 [details]
Compiled testcase: screenshot.exe <path to output.jpg>
Comment 5 Bruno Jesus 2014-02-06 16:18:39 UTC
I can see the issue in 1.3.22, it's all gray in 1.6 and fixed somewhere near 1.7.5.
Comment 6 Alexandre Julliard 2014-02-07 13:06:56 UTC
Closing bugs fixed in 1.7.12.


Privacy Policy
If you have a privacy inquiry regarding this site, please write to [email protected]

Hosted By CodeWeavers