Here's one I haven't seen before.
Build the 'winemine' application in the programs directory and start it
running. Click on the smiley-face button (which redraws the window). Every
time I press the button the entire window moves down the screen one pixel.
Dave
"Marcus Meissner" <marcus(a)jet.franken.de> wrote:
> +static void dump_VarType(VARTYPE vt,char *szVarType) {
> + /* FIXME : we could have better trace here, depending on the VARTYPE
> + * of the variant
> + */
> + switch(vt) {
> + case VT_UI1: MESSAGE(szVarType, "VT_UI"); break;
^^^^^^^
> + case VT_I2: sprintf(szVarType, "VT_I2"); break;
> + case VT_I4: sprintf(szVarType, "VT_I4"); break;
Seems to be a typo. Shouldn't it be sprintf instead of MESSAGE?
--
Dmitry.
> Quick question. What is the @ in a function header supposed
> to contain?
> Presumably it is the ordinal in the Dll.
Well, functions either has an ordinal or a @.
If it has a @ it is means that it doesn't matter
what the ordinal is, that winebuild can assign any
ordinal it likes for the function.
> But what if the
> same function has
> different ordinals in different copies of the Dll?
You mean different versions?
Anyway, Wine has no support for it, because none is really needed,
because any application that tries to access functions by ordinal
that doesn't have a fixed ordinal across DLL version is
broken even on Windows.
Quick question. What is the @ in a function header supposed to contain?
Presumably it is the ordinal in the Dll. But what if the same function has
different ordinals in different copies of the Dll?
Bill
Uwe Bonnes <bon(a)elektron.ikp.physik.tu-darmstadt.de> writes:
> If I only allow to set the selector base when (selector base + selector
> limit) is smaller than 0x8000000, the application goes on and lets me read
> an eprom plugged into the Galep3 Programmer. Is the appended fix a right
> acceptable?
No, it's legal to have selectors covering the entire address
space. I'm afraid there is no good solution to this kind of
problem. What does the app do under NT or with -winver nt40?
--
Alexandre Julliard
julliard(a)winehq.com
Hi all.
I'm trying to implement the TB_REPLACEBITMAP message in the comctrl32,
and I would like to have some advice about the ImageList structure.
The TB_REPLACEBITMAP provides (via the hInst, nID pair) the handle to
the old bitmap and the handle to the new bitmap, as well as the number
of button in the new bitmap.
I think I could use the ImageList_Replace to actually replace the
bitmaps. However, the ImageList_Replace function requires a number,
which is the first bitmap to be replaced. How can I retrieve this
information? For what I can see, once a bitmap has been added to the
imagelist, no information about is is stored.
I'm doing some tests, using a value (like 0) as the bitmap index, but
this is of little help, of course.
Any help will be appreciated.
Bye
Marco
Hi all.
I'm trying to implement the TB_REPLACEBITMAP message in the comctrl32,
and I would like to have some advice about the ImageList structure.
The TB_REPLACEBITMAP provides (via the hInst, nID pair) the handle to
the old bitmap and the handle to the new bitmap, as well as the number
of button in the new bitmap.
I think I could use the ImageList_Replace to actually replace the
bitmaps. However, the ImageList_Replace function requires a number,
which is the first bitmap to be replaced. How can I retrieve this
information? For what I can see, once a bitmap has been added to the
imagelist, no information about is is stored.
I'm doing some tests, using a value (like 0) as the bitmap index, but
this is of little help, of course.
Any help will be appreciated.
Bye
Marco
Is it possible to switch threads in winedbg?
I can use 'walk thread' to see a list of the threads of my
application but I could not find how to get a backtrace of one of these
other threads. It's not in the Wine Developper's Guide and I could not
find it from the source.
--
Francois Gouget fgouget(a)free.fr http://fgouget.free.fr/
In a world without fences who needs Gates?
I have posted my question for compiling Wine in solaris x86 for 2 weeks,
seems no anybody even has a bit interest.
Do you guys hate solaris? :)
I checked almost all the documents and faq, except it mentioned wine works
with Solaris, there almost have no other info for it at all.
Does anybody has even a suggestion for me? pls don't tell me nuke my
solaris. :)