Winefile change - Where do I request one

2005-10-12 Thread Craig macLeod



Hi,
    I would like a change to the 
Winefile application to add the ability to parse the commandline for it. Mainly 
so you can pass in a startup folder.
 
eg
winefile c:/temp
 
will open the selected path under /.wine/ 
folder.
 
This feature would be useful so an application can 
open a browse folder option.
 
This is not a bug as such and I am not sure is 
bugzilla is the appropriate place to request this. 
 
Could someone let me know where I should request 
the small change.
 
Thanks in advance.



How Do I launch a Native Linux application from Within Wine

2005-10-12 Thread Craig macLeod



As the subject says,
    I have a Windows application and 
I wish to run a native linux application from withing it. The main Win32 API 
calls for running another apllication are
 
ShellExecute
WinExec
CreateProcess
 
I have tried calling a native linux program with 
these (nautilus) and it consistently fails. Do I need a fully specified path 
(nautilus is in the search path mind you)?
 
It either does nothing or hangs Wine when I try 
calling these applications. I assume Wine is running the application as if it is 
a Windows app and failing.
 
Thanks for any help in 
advance.



Test If Running Under Wine

2005-10-10 Thread Craig macLeod



I am a developer of Win32 applications. We have 
recently found the command ShellExecute when 
trying to browse folders functions differently between Wine and Windows. This is 
mainly because there is no implementation of Windows Explorer unider Wine so the 
command does nothing.
 
How in our code do we differentiate between Wine 
runs and Windows runs?
 
The documentation discourages such tests saying we 
should fix Wine.
 
My boss wants to do minimal changes to our code so 
how do we do a simple test if we are using Wine or not? I have some code to test 
for the existance of explore.exe and if not present then assume we are under 
Linux. Is this sufficiently generic? (foreign languages 
etc)