[Bug 8241] Unable to open a new document in graphpad prism5
wine-bugs at winehq.org
wine-bugs at winehq.org
Fri May 22 03:37:41 CDT 2009
http://bugs.winehq.org/show_bug.cgi?id=8241
Paul Vriens <Paul.Vriens.Wine at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |Paul.Vriens.Wine at gmail.com
--- Comment #26 from Paul Vriens <Paul.Vriens.Wine at gmail.com> 2009-05-22 03:37:36 ---
Why? As Dmitry and Vincent suggested we can do:
Check for existence of the GlobalFlags function:
static UINT (WINAPI *pGlobalFlags)(HGLOBAL);
pGlobalFlags = (void*)GetProcAddress(GetModuleHandle(<dll>),"GlobalFlags");
The test:
if (!pGlobalFlags)
{
win_skip("GlobalFlags is not available\n");
return;
}
g = GlobalAlloc(<fill in loads of possible flag combinations>, <whatever
size>);
f = GlobalFlags(g);
compare f with the given flag combinations.
GlobalFree(g);
Use this is in some kind of loop with dozens of combinations. There are loads
of examples in our tests that define a struct with inputs and expected outputs
and a loop with the needed test(s).
Just my $0.02
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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