Re: Debugging Wine with Lightroom 3.5

2011-12-21 Thread roland65
OK, thanks for your help.
I'll try this when I'll be back to home.
RB


- Mail original -
De: Frédéric Delanoy frederic.dela...@gmail.com
À: rolan...@free.fr
Cc: Juan Lang juan.l...@gmail.com, wine-devel@winehq.org
Envoyé: Mardi 20 Décembre 2011 12:28:57
Objet: Re: Debugging Wine with Lightroom 3.5

On Tue, Dec 20, 2011 at 10:04,  rolan...@free.fr wrote:

 Yes, I'm that kind of person (I'm the developer of Xfe and TexMaths) but I've 
 seen the +relay logs logs and they are indeed very huge, even for me!
 RB

What you can do to reduce/manage the log size:
1. Launch any application (without logging), e.g. notepad, so the wine
startup doesn't produce (much) output
2. Run your app with the wine debugger to help with debug output control
http://www.winehq.org/docs/winedev-guide/dbg-commands#WINEDBG-DBG-CHAN
http://www.winehq.org/docs/winedev-guide/dbg-control

I think those links might help.

Frédéric




Re: Debugging Wine with Lightroom 3.5

2011-12-20 Thread roland65

Yes, I'm that kind of person (I'm the developer of Xfe and TexMaths) but I've 
seen the +relay logs logs and they are indeed very huge, even for me!
RB 


- Mail original -
De: Juan Lang juan.l...@gmail.com
À: Roland Baudin rolan...@free.fr
Cc: Wine Devel wine-devel@winehq.org
Envoyé: Dimanche 18 Décembre 2011 16:15:49
Objet: Re: Debugging Wine with Lightroom 3.5

Hi Roland,

On Sun, Dec 18, 2011 at 6:46 AM, Roland Baudin rolan...@free.fr wrote:
 Yes, I suspected such a mechanism. Now if I understand well I have to find
 which one is the builtin mechanism and which one is the fallback
 mechanism.
 Is there some documentation around about the differences between Vista and
 XP?

That list would be large, too large to be conveniently listed in one
place.  What one could do, which is unfortunately often equally
tedious, is to compare +relay logs from running the app in Wine under
both modes.  If looking through multi-GB log files is your idea of
fun, you have the makings of a Wine developer ;)
--Juan




Re: Debugging Wine with Lightroom 3.5

2011-12-20 Thread Frédéric Delanoy
On Tue, Dec 20, 2011 at 10:04,  rolan...@free.fr wrote:

 Yes, I'm that kind of person (I'm the developer of Xfe and TexMaths) but I've 
 seen the +relay logs logs and they are indeed very huge, even for me!
 RB

What you can do to reduce/manage the log size:
1. Launch any application (without logging), e.g. notepad, so the wine
startup doesn't produce (much) output
2. Run your app with the wine debugger to help with debug output control
http://www.winehq.org/docs/winedev-guide/dbg-commands#WINEDBG-DBG-CHAN
http://www.winehq.org/docs/winedev-guide/dbg-control

I think those links might help.

Frédéric




Re: Debugging Wine with Lightroom 3.5

2011-12-18 Thread Joris Huizer

Replying, also including the wine-devel list,

On 12/17/2011 05:15 PM, Roland Baudin wrote:

Hi,

thanks for the answer.
What do you mean by a different execution path?
RB


The application might decide to execute different code given the Vista 
settings.
It may have a preferred execution path using certain functionality only 
available for Vista/Windows 7, and a fallback path for XP.


Pseudocode:
if (system is Vista+) use_builtin_functionality();
else /* XP */ use_fallback_mechanism();

HTH,
Joris




Re: Debugging Wine with Lightroom 3.5

2011-12-18 Thread Roland Baudin
Yes, I suspected such a mechanism. Now if I understand well I have to 
find which one is the builtin mechanism and which one is the fallback 
mechanism.
Is there some documentation around about the differences between Vista 
and XP?

Anyway, thanks for your help...
RB



Le 18/12/2011 13:40, Joris Huizer a écrit :

Replying, also including the wine-devel list,

On 12/17/2011 05:15 PM, Roland Baudin wrote:

Hi,

thanks for the answer.
What do you mean by a different execution path?
RB


The application might decide to execute different code given the Vista
settings.
It may have a preferred execution path using certain functionality only
available for Vista/Windows 7, and a fallback path for XP.

Pseudocode:
if (system is Vista+) use_builtin_functionality();
else /* XP */ use_fallback_mechanism();

HTH,
Joris






--
X File Explorer http://roland65.free.fr/xfe
Toutes Choses http://roland65.free.fr/ttc




Re: Debugging Wine with Lightroom 3.5

2011-12-18 Thread Juan Lang
Hi Roland,

On Sun, Dec 18, 2011 at 6:46 AM, Roland Baudin rolan...@free.fr wrote:
 Yes, I suspected such a mechanism. Now if I understand well I have to find
 which one is the builtin mechanism and which one is the fallback
 mechanism.
 Is there some documentation around about the differences between Vista and
 XP?

That list would be large, too large to be conveniently listed in one
place.  What one could do, which is unfortunately often equally
tedious, is to compare +relay logs from running the app in Wine under
both modes.  If looking through multi-GB log files is your idea of
fun, you have the makings of a Wine developer ;)
--Juan




Re: Debugging Wine with Lightroom 3.5

2011-12-17 Thread Joris Huizer
It's possible the application is choosing a different execution path, 
using Vista-specific features.

This could be an explanation for the differences you are seeing.

HTH,
Joris