Re: ownerdraw paint recursion in listbox

2005-08-02 Thread Alexander Yaworsky
Dmitry Timoshkov wrote: While browsing my old not answered e-mails I've found this one. Does the attached patch help? It restricts the control to draw outside of the item rect but not the whole control rect as it currently does. No, it does not help. trace.bz2 Description: Binary data

some notes: ADVAPI32: convert services to use pipes for RPC instead of shared memory

2005-01-24 Thread Alexander Yaworsky
Hello, there should be only one dispatcher thread per process that accepts control requests. For shared services it starts another service threads on demand and the amount of them is not limited with MAXIMUM_WAIT_OBJECTS. Thanks.

Re: OpenSCManager() bug

2004-12-19 Thread Alexander Yaworsky
Hello, initially i tested this stuff under XP and it raised exception if lpDatabaseName is invalid pointer. But after you noticed the bug i run the test under 2000 and it has been returned ERROR_NOACCESS. Both versions return ERROR_INVALID_NAME if lpDatabaseName is empty string. I think the patch s

Re: ownerdraw paint recursion in listbox

2004-11-22 Thread Alexander Yaworsky
Dmitry Timoshkov wrote: > > If you have a small test case or a snippet of the +relay log showing > the problem I'll have a look. > http://migusoft.ru/misc/trace.bz2 with added ERR()s, see attachment I cut the tail of log just before the first err:listbox. Note that there are two listboxes on the fo

ownerdraw paint recursion in listbox

2004-11-21 Thread Alexander Yaworsky
Hello, recently i tried to install some application and it hung when i tried to select options. It uses listbox with ownerdraw items with checkboxes. When listbox is initially painted everything is ok. But when i try to select other item, an extra WM_PAINT is sent to listbox when application draws

Re: Moved some local variables from StartServiceCtrlDispatcherA/W to service environment block

2004-09-29 Thread Alexander Yaworsky
Hello > I don't think you want to pass ASCII strings across processes, there's > no guarantee that both processes are using the same codepage. > Inter-process communication should always be done in Unicode. I was not going to use those variables for interprocess communications. But incidentally y

Re: Support remote operations in wineserver

2004-09-23 Thread Alexander Yaworsky
Hello > Sorry but I dont understand the need of remote operations in > Wineserver. They provide another kind of interprocess communications. We should force another process to execute desired operation. Added requests help to supply parameters and obtain the result. If we would use service threa

Re: Support remote operations in wineserver

2004-09-23 Thread Alexander Yaworsky
Hello > Well, I'm not going to commit that part since it doesn't actually do > anything with the remote operation, and it's not clear at all that the > requests you added will be appropriate to whatever mechanism we use to > do the remote operation. Ok, here is a draft working implementation of N

Re: Cryptographic functions

2004-09-15 Thread Alexander Yaworsky
Hello > My Advapi32.dll Ver 5.0.2195.6876 from W2K SP4 does not export these > functions at all. Not even as delayed exports or forwards, at least by > name. Not sure about ordinals. > > Rolf Kalbermatter I've found alike functions (may be MD4 or MD5) in w2k advapi.dll by magic numbers but they

Cryptographic functions

2004-09-15 Thread Alexander Yaworsky
Hello there is some secret crypto API in 2k and xp. Not so long ago i played with native rsaenh.dll under wine and found that it requires md5 and sha functions exported by advapi32.dll. I don't know where this API really should be. Latest platform SDK is very cryptic itself. Just in case here is

Re: Let StartServiceCtrlDispatcher handle services started other than with StartService (with patch)

2004-08-24 Thread Alexander Yaworsky
Hello > Dont take offence if your patch goes to the void. Just resubmit after a > a week to give it a chance to filter through Alexandre's tree. Its > possible either I merely meant that maybe something wrong with implementation. Well, I will resubmit it soon.

Re: Let StartServiceCtrlDispatcher handle services started other than with StartService (with patch)

2004-08-24 Thread Alexander Yaworsky
Hello In fact, the existing implementation of service subsystem in advapi32 is very poor and is sufficient only for very simple services or test programs. I tried to launch oracle 7 database under wine and that trial has been failed. The main problem was inability of parameter passing. Not only

Re: CreateRemoteThread and related stuff (patch)

2004-08-23 Thread Alexander Yaworsky
Hello > There is no need to export __wine_is_current_process from ntdll and use > it here when standard win32 apis will suffice. > Well, not quite. You can open another handle to the process using > DuplicateHandle or something else, so you need to go via the server. The > simplest way to do t

CreateRemoteThread and related stuff (patch)

2004-08-23 Thread Alexander Yaworsky
Hello This is a basic framework. Not finished, not really tested -- just stable point. It does no harm for applications I'm using. I would be glad to get some comments and suggestions. This patch does not contain files generated by tools/make_requests Index: dlls/kernel/kernel_private.h ===

Re: Let StartServiceCtrlDispatcher handle services started other than with StartService (with patch)

2004-08-19 Thread Alexander Yaworsky
I think that this is incorrect. If you let StartServiceCtrlDispatcher to continue with no error, you make calling program think that it is running under control of service control manager. When service program handles somehow any kind of its launching, the behaviour may be quite different. Also,

Remote operations -- need for advice

2004-06-21 Thread Alexander Yaworsky
I'm thinking how to implement CreateRemoteThread and besides fix memory management functions. The complete (afaik) list includes: RtlCreateUserThread NtAllocateVirtualMemory NtFreeVirtualMemory NtProtectVirtualMemory NtQueryVirtualMemory NtLockVirtualMemory (do nothing?) NtUnlockVirtualMemory (do