RE: Using pthread_create within Wine

2007-08-22 Thread Phil Lodwick
> Could you please elaborate on what kind of problems you have when trying > to use the Windows version of your library under Wine? The Wine socket implementation has problems when it comes to select. A fix for this problem is not currently on anybody's radar. http://www.winehq.org/pipermail/wi

RE: Using pthread_create within Wine

2007-08-22 Thread Phil Lodwick
> There was a problem like this with the CoreAudio library on macos, but I am > not sure about the details. > Is there any reason why you cannot use CreateThread? I can't use CreateThread because the pthread_create is in a Linux library I am calling. My initial test of creating two threads, one

Using pthread_create within Wine

2007-08-22 Thread Phil Lodwick
Greetings, I have a proprietary library that has both Windows and Linux ports. The Windows DLL has problems running on Wine, so I have created a builtin version of this DLL in Wine. This has worked fine, except for one function that basically creates a new thread and fires back events to the

peek_message reading bogus data from wineserver

2007-07-18 Thread Phil Lodwick
Greetings! I have been chasing down a bug and was hoping to get a few suggestions as to what to look at next. In an application's main message loop it calls GetMessage. Occasionally this call would hit an assert within Wine code. Tracking this down I have found a problem in the call to the wine

RE: wine 0.9.30-35 Something strange happened with the fonts ?

2007-04-17 Thread Phil Lodwick
> We shouldn't be installing fonts into c:\windows\fonts. > They go into /usr/share/wine/fonts where Wine should > find them (or they'll be found in the build tree if you're > running straight from there). I have a question about this. It appears that the registry entries for the fonts are add

RE: Windows dll as Linux Shared Object

2007-04-12 Thread Phil Lodwick
> What is the problem with running the whole app as a winelib app? > You don't save any resources by having the application outside > since you still have wine running, and you have the IPC overhead. I want to provide a library other developers can use without having them worry about the intric

RE: Windows dll as Linux Shared Object

2007-04-11 Thread Phil Lodwick
> or to write some proxy winelib app and > talk to the DLL using ipc like sockets, > pipes, shared memory, etc. Thanks Stefan. I thought I was missing something. This was the approach that I was planning on as a backup. Looks like I bring the backup plan to the front burner. Basically Linux

Windows dll as Linux Shared Object

2007-04-11 Thread Phil Lodwick
Greetings, My googling skills are letting me down today. I believe I have seen several people requesting to do the same and answers indicating it is possible. However, after several hours of reading email archives from 2000-2007 are am officially confused :-( I have successfully ported an appli

Help with debug

2007-03-14 Thread Phil Lodwick
Hi, I have been debugging a problem today and am running low on batteries. I am hoping somebody can look at the attached snippet of log and point me in the right direction. >From what I can tell, there is a DLL called snoopy.dll that does a whole bunch of allocs and reallocs and then tries to re

RE: dlls/user/hook.c HOOK_CallHooks() help

2006-11-09 Thread Phil Lodwick
I am beginning to suspect a problem with wine_server_call. I am confused because I would have thought this was something that is pretty solid. In HOOK_CallHooks we call SERVER_START_REQ( start_hook_chain ). When I put debugging in the server I see that reply->active_hooks is getting properly set

RE: dlls/user/hook.c HOOK_CallHooks() help

2006-11-08 Thread Phil Lodwick
Alexandre, > The idea is that active_hooks is a shortcut to avoid calling the > server if we know that a hook is not set. If we don't have a valid > active_hooks then we need to call the server, which will then tell us > whether or not we really have a hook to call. I don't know if this matters,

RE: dlls/user/hook.c HOOK_CallHooks() help

2006-11-08 Thread Phil Lodwick
o figure out the real problem of why active_hooks is 0. Thanks, Phil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Phil Lodwick Sent: Friday, November 03, 2006 4:25 PM To: wine-devel@winehq.org Subject: dlls/user/hook.c HOOK_CallHooks() help Hi, I hav

dlls/user/hook.c HOOK_CallHooks() help

2006-11-03 Thread Phil Lodwick
Hi, I have an application that is hitting the assert in HOOK_CallHooks. -- trace:hook:HOOK_CallHooks calling hook in thread 0113 WH_CALLWNDPROC code 0 wp 0 lp 7fbef984 err:hook:HOOK_CallHooks Unknown hook id 4 wine-pthread: hook.c:381: HOOK_CallHooks: Assertion `0' failed. -- Basically I

msvcrt: _getmaxstdio and _setmaxstdio

2006-07-25 Thread Phil Lodwick
Greetings, I have an application that requires these functions which are currently stubs in wine. These functions set/retrieve the number of files that can be simultaneously open at the stdio level. As of now the Win32 platform has a default of 512 and can be set as high as 2048. There is prob

todo_wine help

2006-02-13 Thread Phil Lodwick
I have a test in msvcrt/file.c that requires there be no TMP environment variable. I thought I would just do a _putenv("TMP="), but this seems to interfere with todo_wine. Basically, static void test_todo( void ) { todo_wine { ok((1 == 1), "This shows up correctly\n"); } _putenv("TMP=");

RE: select behavior different with wine

2006-02-07 Thread Phil Lodwick
I have attached a patch that fixes this problem for me. Does anybody want to comment on it before I submit it. Is there a better way? Thanks, Phil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Phil Lodwick Sent: Wednesday, February 01, 2006 4:14 PM

winsock/tests select conformance test improvements

2006-02-06 Thread Phil Lodwick
Some improvements to the test thanks to suggestions from Mike McCormack. Changelog: - Add OK tests around more function calls - Add two more todo_wine tests that fail patch.diff Description: patch.diff

select behavior different with wine

2006-02-01 Thread Phil Lodwick
Greetings, I ran across a problem that the following code demonstrates. I believe it is due to the different definition of select on Windows vs Linux. Before I start to think about how to fix this in Wine, I was wondering if anybody has already thought about the problem. #include "stdafx.h" #in

RE: Windows manager

2006-01-24 Thread Phil Lodwick
Ok, I think I solved my own problem. In x11drv/window.c we see that "full-screen popup windows are managed". If I don't rotate the screen we are no longer a "full-screen" pop-up. My bad. Phil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PRO

Windows manager

2006-01-24 Thread Phil Lodwick
I have an application that does not seem to appear to the Window Manager. I am using fvwm. To confirm I am running fbpanel which basically does a: XGetWindowProperty(GDK_DISPLAY(), GDK_ROOT_WINDOW, a_NET_CLIENT_LIST, 0, 0x7fff, 0, XA_WINDOW, ...); and the window never appears on its list.

Mozilla ActiveX Control -- Browser not in a valid state

2006-01-10 Thread Phil Lodwick
Hi, I have a Borland C++ Builder app that is a simple FORM with a TCppWebBrowser and a button. I have two callbacks, one when the form is created, and one when the user pushes the button. Both callbacks just navigate to google. __fastcall TForm1::TForm1(TCompone

Labels on rotated display not drawing in 0.9 release

2006-01-06 Thread Phil Lodwick
Hi, I have a display in the portrait position. I am using Option "Rotate" "90" in my XF86Config-4 file. When I rotate the screen like this, labels on Menus, Buttons, Dialog Boxes, etc do not display until after an expose event (eg. running a cursor over them). I have tried Wine 0.9, Wine 0.9.4

RpcServerListen and RpcMgmtWaitServerListen

2005-12-07 Thread Phil Lodwick
Hi, I have a program that basically does: RpcServerUseProtseqEp RpcServerRegisterIf RpcServerListen(DontWait=FALSE) On Windows this will block until another thread calls RpcMgmtStopServerListening. This does not appear to be the case with Wine's implementation. Before I

AVI resources in shell32

2005-11-16 Thread Phil Lodwick
When I started playing with Wine a few months ago, the first problem I ran into were missing AVI resources in shell32. Web searches indicated people asking about these resources over the past several years, but they are still missing. I have no artistic talents, so for my testing purposes I just

msvcrt _tempnam and tests

2005-11-09 Thread Phil Lodwick
I submitted a patch yesterday for the implementation of _tempnam in msvcrt. Today I started to write a conformance test which has led to several questions. 1) What action should we take if MS documentation and the implementation do not agree? a) leave out the test b) test to imple

hid.dll support

2005-11-01 Thread Phil Lodwick
Greetings, I was introduced to Wine a few months ago and ran into a problem with an application I wanted to use. This application makes use of setupapi.dll and hid.dll to communicate with a USB HID class device. I quickly determined that in this case using native dlls was not an option and creat