Need for tiny program shows command line agrs with GUI

Questions about Wine on Linux
Locked
jpka
Level 1
Level 1
Posts: 8
Joined: Wed Mar 31, 2010 3:33 am

Need for tiny program shows command line agrs with GUI

Post by jpka »

Hi! I need to debug some software under Wine. I need just a tiny program like

Code: Select all

for i:=0 to paramcount do write(paramstr(i));
but with GUI.
I found exactly i need, here (in attachment) http://bugs.winehq.org/show_bug.cgi?id=12380
But unfortunately it do not work under c:\windows\system32 Wine's folder:

Code: Select all

~$ wine c:\\windows\\system32\\param.exe qqq www
wine: cannot find L"C:\\windows\\system32\\param.exe"
~$ wine c:\\param.exe qqq www
 (works normally)
~$ wine c:\\param1.exe qqq www
 (works normally when renamed, it is also required for me)
~$ wine --version
wine-1.4
But i need to run it exactly from system32. It work under c:\ folder, but i can't use this behaviour. How i can debug why it is not work under system32? All my settings are default (newly installed Wine), i try windows XP and windows 2000 modes via winecfg.
P.S. I also search any other similar simple programs anywhere, but found nothing (really).
Thank you so much! :)
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Need for tiny program shows command line agrs with GUI

Post by dimesio »

Upgrade Wine. It works for me from system32 in 1.7.3.
jpka
Level 1
Level 1
Posts: 8
Joined: Wed Mar 31, 2010 3:33 am

[Solved] Re: Need for tiny program shows command line agrs w

Post by jpka »

Hi! I upgrade to latest Wine available from Xubuntu 12.10's repos, it's Wine-1.6. It was not helpful (while upgrading is always a good idea).
But i suddenly notice that even Notepad not open text files from system32 folder. When i save newly created file by Notepad to system32 folder, it then later not exist in this folder, but found in syswow64 folder! But opens again in Notepad as it is in system32 folder... :shock:
...So i found finally that if i run 'wine param.exe' (without path), Wine takes one from system32 folder; but when i excliptly state system32 folder, Wine use syswow64 folder. What's a magic... :-)

Code: Select all

~$ uname -a
Linux test-ssd 3.5.0-41-generic #64~precise1-Ubuntu SMP Thu Sep 12 16:50:04 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
Thanks!
Locked