Hi.
>From which configuration does the "ERROR_INVALID_NAME" came from,
when calling GetDefaultPrinter(NULL, &size) and no Printer is installed?
This Test is Present in the current "dlls/winspool/tests/info.c".
MSDN told us, that we receive an "ERROR_FILE_NOT_FOUND", if no Printer
is installed:
http://msdn.microsoft.com/library/en-us/gdi/prntspol_0hma.asp
I get the "ERROR_FILE_NOT_FOUND" on win98se, winme, w2k and win2003 in
this Situation.
--
By By ...
... Detlef
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I think after the 10 or more patches to the Wintab dll that I submitted
last month, I should say something about it's status...
And of course thank Alexandre for applying those patches.
P.S. I won't be available from the 15th for about a week or so.
So, if you have any questions, I'm afraid you might have to be patient.
Hope this is of interest to someone
-Rob.
******Applications: Current status***********
***In Painter 5
*Cursor pressure works. (Therefore is usable by most)
*Cursor orientation is a little odd: The orientation maths needs to be
re-done.
*No eraser. Haven't yet cracked what enables the eraser.
*Doesn't work in desktop mode: Need to map to desktop coordinates.
*Repeats windows bugs where cursor looses pressure/orientation info
almost bug for bug (Is this a feature? ;-)
*Cannot detect pressure/orientation int the "Brush Tracking" window: The
tablet context is attached to the main window, so no events get to the
popup, even if they overlap.
This is not how windows wintab functions.
***In Photoshop 6.
*Can only get tablet data in desktop mode: This is because the tablet
context is attached to the desktop. Which generates/receives no wine
events outside desktop mode.
* Eraser and pen pressure working. *But* to get them working, you must
have 3 XInput devices listed in your XF86Config file, They need to be
the last entries in the "ServerLayout" section and the following order:
eraser, tablet mouse. This is a far from ideal way of specifying the
devices Wintab should use :-/
I'll document this if someone can point me to a good place to put the docs.
*******To Do*************
1. Look at X11 errors. There appear to be some errors that deny some
users the
ability to access Wintab enabled apps. (I think I know how to fix this)
2. Improve orientation data. Orientation comes in as X-Y coords
(Implicit Z), and has to leave as spherical coords. This calculation
needs to be re-done.
3. When tablet context is on top, let it read XInput events from all the
app's top-level windows. (This simulates the fact that the context is
usually designed to cover the whole screen)
4. When tablet context is attached to desktop, read XInput events from
all the app's top-level windows.
5. Tests
~ --My current philosophy on tests is...
~ Use Photoshop & Painter, any formal tests
~ can be written if anyone else gets involved in patching Wintab, to
avoid regressions, and conflict.
**********Long term to do (Anyone interested?):*********
There's a lot of work that could be done here, but what gets done
and who does it probably depends upon whether anyone finds an app that
needs these features. I'd love to implement these, but realistically, I
don't
foresee doing this unless someone hires me to do so ;)
1. Improve configuration of wintab.
Wintab could probably do with some information entered into the
config file, to avoid the user having to
hack their Xfree86cfg file.
2. Handle Z-Order of context properly.
This entails
*sharing Z-Order between apps.
*Working out exactly what role windows have in
determining tablet context z-orders.
*Allow tablet contexts that don't cover the whole
screen/tablet.
*Handle inter-application clipping of tablet contexts
*Allow all application's windows to receive tablet events when tablet
context is on top
3. Implement non-system tablet contexts (Where system cursor not moved
by pen or mouse)
4. Unicodify
5. Implement various wintab extensions.
6. Implement wintab manager functions.
7. Tests.
*********Unknowns*********
1. How are wintab contexts are raised lowered?
Contexts have their own z-order independent of windows, and their own
viewport concept, based upon the tablet's coordinate system, not that of
the OS.
It appears that entering, or clicking on the window the tablet context
is attached to will raise/lower the context.
But I haven't done much testing on this.
In particular, what happens if more than one app request their tablet
context is attached to the desktop?
2. How Painter detects the eraser.
Have 3 possibilities
i. Windows can detect an eraser, and sends specific messages.
(I'm sure I've seen this, but can't work out where!)
ii. Only works if tablet and cursors are named correctly.
(Probably linked to wacom tablets only).
iii. I've missed something
3. Requirements of other applications
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCC8zI2vfwxdLxwWYRAsisAJ4q2gAYTgRc6f9wDI+Ruv943eDxOQCfcl3s
/ZKMUGwQOuw/SIIbOkIUbd0=
=R4M7
-----END PGP SIGNATURE-----
Hi,
I'm trying to use a program called "siap"[1] under wine. It's the required
program to pay taxes that the Argentinian government uses.
So, it's quite important for the free software community in Argentina to be
able to use it in a free software environment. However, I haven't heard
of any real success on it, so far.
I've been trying to make it run using winetools[2], and differents versions of
wine. The furthest I've gone, has been with version 20050310 and all the
"plugins" that winetools provides, installed.
Only then, could I install the application, run it, switch between the
different modules (although it worked only sometimes), but I can't really use
it.
There are a couple of important widgets that seem to be incompatible with
wine. But as I'm not an expert neither in Windows nor in wine, the one I could
really track down is a TreeView widget (from comctl32.dll) (from the main
window of the program), that is not fully implemented in wine, and by using a
native comctl32.dll (I tried using the win98, winme, win2k libraries) the
widget would work but some of the other stuff, like switching
to one of the modules wouldn't.
I made a screenshot to make this clearer, the wine version[3] and the w2k
version[4].
So, what should I do next?
Is there some documentation of how to implement a certain Windows widget in
wine?
Is anybody working in this dll, or has worked on this widget?
I'd appreciate any comments.
Thanks,
[1] http://www.afip.gov.ar/programas/siap_main.asp (spanish only)
[2] http://www.von-thadden.de/Joachim/WineTools/
[3] http://gnuservers.com.ar/~maxy/wine/siap-wine.png
[4] http://gnuservers.com.ar/~maxy/wine/siap-w2k.png
--
Saludos,
/\/\ /\ >< `/
Grand Theft Auto... the never ending struggle to get it working.
First I thought it was broken because of OLE...subsequently found out
the installer was freezing, because of hidden message boxes. Now I've
managed to install it in Desktop mode, but it dies when ran, with no
output of any kind...
Investigating shows:
000b:Call kernel32.SetUnhandledExceptionFilter(2027f1a8) ret=0115fbe9
000b:Ret kernel32.SetUnhandledExceptionFilter() retval=0115fb7c
ret=0115fbe9
000b:Call kernel32.GetModuleHandleA(015459f4 "mscoree.dll") ret=0115ae6b
000b:Call ntdll.RtlInitAnsiString(7fcaf528,015459f4 "mscoree.dll")
ret=2018d4fc
000b:Ret ntdll.RtlInitAnsiString() retval=00000000 ret=2018d4fc
000b:Call ntdll.RtlAnsiStringToUnicodeString(7fffcbf8,7fcaf528,00000000)
ret=2018d55b
000b:Ret ntdll.RtlAnsiStringToUnicodeString() retval=00000000 ret=2018d55b
000b:Call ntdll.RtlInitUnicodeString(7fcaf52c,7fffcc00 L"mscoree.dll")
ret=201a554d
000b:Ret ntdll.RtlInitUnicodeString() retval=00000018 ret=201a554d
000b:Call ntdll.LdrGetDllHandle(00000000,00000000,7fcaf52c,7fcaf534)
ret=201a555b
000b:Ret ntdll.LdrGetDllHandle() retval=c0000135 ret=201a555b
000b:Call ntdll.RtlNtStatusToDosError(c0000135) ret=201a558a
000b:Ret ntdll.RtlNtStatusToDosError() retval=0000007e ret=201a558a
000b:Ret kernel32.GetModuleHandleA() retval=00000000 ret=0115ae6b
000b:Call kernel32.ExitProcess(00000001) ret=0115ae8f
000b:Call ntdll.LdrShutdownProcess() ret=201b03bd
Looks like it doesn't like the missing mscoree.dll.
I thought the .NET framework was not a core windows dll?
Why would it require it? Also, installing a native dll doesn't seem to
help...
I know that there is something like my script out there but i did
(again) spend some time on rewriting my own one since i like it better
;). This one is compeltely different from my first one - it works the
same, but does some checks before doing anything , the code is written
nicer and cleaner and the output is also very nice now :D.
Have fun with this piece of code!
On 10/2/05, Andreas Schneider <andreas.schneider(a)linux-gamers.net> wrote:
> Hi gladiac,
>
> take a look at
>
> http://winecvs.linux-gamers.net/
>
> Cheers,
>
> -- andreas
>
> Gladiac Spark wrote:
> > This is nothing special but may be useful for some people out there
> > having problems updating their cvs-trees or being lazy writing some
> > commands in their console. Copy the 'getwinecvs' to /usr/src or wherever
> > you want (don't forget to edit the SRC=Variable if you're doing so) and
> > chmod it to give you x-rights. (e.g.: 'chmod 750 getwinecvs' without quotes)
> >
> > By running it, it will search for an existing wine-tree... if there is
> > one, it will be cleaned and then updated; if not, the complete tree will
> > be downloaded.
> > When using -c as parameter for getwinecvs, it will automatically begin
> > to compile after getting all the updates and then install.
> > To see what it exactly does, have a look at the source.
> >
> > Even if it is called General CVS-Updater by gladiac it has been written
> > FOR wine. I hope it is helpful for others. I know it's not very nerdy
> > but.... who cares ;).
> >
> >
> > ------------------------------------------------------------------------
> >
> >
>
> --
> http://www.linux-gamers.net - your online gaming resource
>
>
Hi!
I would like to report a long lasting problem with an application, which
renders its main window incorrectly in wine.
The app is "iRiver caption editor" and it can be freely downloaded at
http://www.iriveramerica.com/download/ce.zip .
Installation of the program is easy and proceeds and the program itself runs
well, but its window looks like a total mess. For a snapshot, look at
http://www.sinus.cz/~patrol/ircape.png .
I think it's not necessary to write more, what's wrong, simply the widgets
are misplaced, incorrectly sized, the window has scrollbars, which it IMHO
shouldn't have etc. The window is not resizable.
It's the only app known to me which exhibits such a behaviour. I don't have
a possibility to test it on a real windoze system, I don't have it.
I'm about to file a bug for it, but I'm asking first here to verify that
it's not an easily resolvable problem with my setup etc., and also whether
a similar (or the same) behaviour isn't already registered.
With regards, Pavel Troller
I think I'm on the right track to figuring out why I can't get GTA to
install. I thought ole was at fault, but now I suspect user32. It seems
that the installer pops up various message boxes (or at least, it
supposed to...but it doesn't). Then it waits for a reply, and it never
receives one, because I don't see any message boxes. That's why it
"freezes", imho. One box it's supposed to show is "out-of-space", if I
don't have enough hard drive space for the components (which apparently
I don't..when the audio is installed). Another one has empty contents at
msgbox.OnInit (not sure what that means - is the text set later? - I see
ignored event 0006 (setText)). I can't see the boxes in question, but I
see calls to msgbox to create them. The WM_SHOWWINDOW event is
propagated down to DefWindowProc, where it is blocked.
In "custom install" mode, the out-of-space box shows up, but the second
"mystery box" doesn't. In "complete install" mode I see neither box. If
I free up enough hard drive space, it still fails, because of this
second box that I can't see.
More detail here:
http://bugs.winehq.org/show_bug.cgi?id=3108
Anything wrong with this patch? (Resent version)
James Liggett
On Tue, 2005-10-11 at 17:07 -0700, James Liggett wrote:
> Hi,
> This patch implements XEmbed system tray support for recent non-KDE
> desktops. This is a modified version of a patch originally submitted by
> Rob Shearman, <rob(a)codeweavers.com> which was based on work originally
> done by Mike Hearn <mh(a)codeweavers.com>
>
> Changelog:
> Support XEmbed system tray protocol for tray icons
>
> James Liggett
DirectDrawEnumerateExW (dlls/ddraw/main.c) calls
DirectDrawEnumerateExA, which uses
ddraw_driver struct (dlls/ddraw/ddraw_private.h), which has a member
DDDEVICEIDENTIFIER2 struct (include/ddraw.h), which is defined this way:
typedef struct tagDDDEVICEIDENTIFIER2 {
char szDriver[MAX_DDDEVICEID_STRING];
char szDescription[MAX_DDDEVICEID_STRING];
LARGE_INTEGER liDriverVersion;
DWORD dwVendorId;
DWORD dwDeviceId;
DWORD dwSubSysId;
DWORD dwRevision;
GUID guidDeviceIdentifier;
DWORD dwWHQLLevel;
} DDDEVICEIDENTIFIER2, * LPDDDEVICEIDENTIFIER2;
As this struct keeps base information about a driver and it uses char
strings, I guess %Subject% cross call should be marked invalid in the
wiki. Right?