Hi all, i'm a new user of wine and i have some doubts. First i'm using wine with gentoo. I read in the wine web some info about the config file that wine uses, but in the gentoo ebuild no sample file is installed, or i haven't found it. Even more it seems that the winecfg application is used to configure wine, but it seems to not be finished and uses the registry files in ~/.wine to store the configuration settings, it's a pain to touch any registry file, is there any way to use the config file that is described in the docs? Where can i get a sample file ? I need wine to run a windows application that use tcp/ip, is the network layer implemented in wine, so this emulated application can connect with for example another linu native application that use tcp/ip too? Another doubt, if my windows application uses their own dll, appart from the standar windows dll, there is a way to ensure that the application can found this dlls? Thanks -- Un saludo Best Regards Pablo Gim?nez -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.winehq.org/pipermail/wine-users/attachments/20050927/2e30557e/attachment.htm
Pablo Gim?nez wrote:> Hi all, i'm a new user of wine and i have some doubts. > First i'm using wine with gentoo. > I read in the wine web some info about the config file that wine uses, > but in the gentoo ebuild no sample file is installed, or i haven't > found it. > Even more it seems that the winecfg application is used to configure > wine, but it seems to not be finished and uses the registry files in > ~/.wine to store the configuration settings, it's a pain to touch any > registry file, is there any way to use the config file that is > described in the docs? > Where can i get a sample file ? > I need wine to run a windows application that use tcp/ip, is the > network layer implemented in wine, so this emulated application can > connect with for example another linu native application that use > tcp/ip too? > Another doubt, if my windows application uses their own dll, appart > from the standar windows dll, there is a way to ensure that the > application can found this dlls? > > Thanks > > -- > > Un saludo > Best Regards > Pablo Gim?nez > >------------------------------------------------------------------------ > >_______________________________________________ >wine-users mailing list >wine-users@winehq.org >http://www.winehq.org/mailman/listinfo/wine-users > >Paolo, Recent versions (since 20050725?) of wine do not use a configuration file. There is $ winecfg which will launch a general configuration interface. There is also $ wine regedit.exe if you need it. Ti saluto, Sean
On 9/27/05, Pablo Gim?nez <pablogipi@gmail.com> wrote:> Hi all, i'm a new user of wine and i have some doubts. > First i'm using wine with gentoo.Welcome.> I read in the wine web some info about the config file that wine uses, but > in the gentoo ebuild no sample file is installed, or i haven't found it. > Even more it seems that the winecfg application is used to configure wine, > but it seems to not be finished and uses the registry files in ~/.wine to > store the configuration settings, it's a pain to touch any registry file, is > there any way to use the config file that is described in the docs? > Where can i get a sample file ?OK, there is confusion about all of this. The config file existed, pretty much as a requirement, up through maybe the middle of last year. (I think.) Then the developers did away with the config file and told us we could run without it. However it seemed that there were many things that still needed the config file even though it didn't technically exist anymore. There used to be a sample config file in the source tree if you compiled from source. There might still be but I think that portage doesn't install that anymore. (If it ever did.) I cannot find it on this machine.> I need wine to run a windows application that use tcp/ip, is the network > layer implemented in wine, so this emulated application can connect with for > example another linu native application that use tcp/ip too?Wine will talk to the network. Whether that's good enough for your app I wouldn't know.> Another doubt, if my windows application uses their own dll, appart from > the standar windows dll, there is a way to ensure that the application can > found this dlls?There is. It would be placed in the config file we cannot fine. Just recently the winecfg app started doing more. There is a page (Libraries) where I beleive you are supposed to be able to specifiy dlls. I've not tried it. Good luck, Mark> > Thanks > > -- > > Un saludo > Best Regards > Pablo Gim?nez > _______________________________________________ > wine-users mailing list > wine-users@winehq.org > http://www.winehq.org/mailman/listinfo/wine-users > > >
Just to expand on what others have wrote. The wine config file, unless I am mistaken, is now totally defunct. Even if you create one I don't believe that wine is even reading from it anymore. Yes, the winecfg utility does edit the sudo windows registry that wine creates, but this is no more dangerous than any of the native windows configuration utilities. Almost all config info in a true windows install is stored in the reg anyway. Manually editing the registry is still not suggested, although regedit.exe can run under wine and will allow you to edit the wine registry. As for network support, wine fully supports the TCP/IP protocol, and most apps that need it can use it under wine, provided wine supports the app in question. As for apps that include their own dlls, yes, wine can use these, for the most part. The application most likely installs the dll(s) into c:/windows/system. Welcome to the wine community. Randall Walls Pablo Gim?nez wrote:> Hi all, i'm a new user of wine and i have some doubts. > First i'm using wine with gentoo. > I read in the wine web some info about the config file that wine uses, > but in the gentoo ebuild no sample file is installed, or i haven't > found it. > Even more it seems that the winecfg application is used to configure > wine, but it seems to not be finished and uses the registry files in > ~/.wine to store the configuration settings, it's a pain to touch any > registry file, is there any way to use the config file that is > described in the docs? > Where can i get a sample file ? > I need wine to run a windows application that use tcp/ip, is the > network layer implemented in wine, so this emulated application can > connect with for example another linu native application that use > tcp/ip too? > Another doubt, if my windows application uses their own dll, appart > from the standar windows dll, there is a way to ensure that the > application can found this dlls? > > Thanks > > -- > > Un saludo > Best Regards > Pablo Gim?nez > >------------------------------------------------------------------------ > >_______________________________________________ >wine-users mailing list >wine-users@winehq.org >http://www.winehq.org/mailman/listinfo/wine-users > >
Yes sorry i forget the cc to the mail list. Well i have upgraded to 20050725, that is the actual stable version for gentoo. And the app seems to work, at least no error message is reported in the console. Now the problem is that the application seems to no listen to the net, so no other application can connect to it. I have two versions of the application one is the windows app and the other is the same but for linux. The linux app obviously works fine. But the windows version can't connect via tcp/ip. I think i have to check, using nmap or something else, if the emulated app has opened the correspending port to ensure that other applications can connect to. Any advices about this? Thanks. On 9/30/05, Jonathan Ernst <Jonathan@ernstfamily.ch> wrote:> > Please don't forget to cc de list when replying to messages posted on > the list so that everyone can benefit form your experience. > > Le mercredi 28 septembre 2005 ? 19:08 +0000, Pablo Gim?nez a ?crit : > > After some confusing, winecfg popup a window that says that the > > application is not yet complete and advice to use the ~/.wine/config > > You are using a "very" old version of Wine, please upgrade: > http://www.winehq.org/site/download > > > file for full setup, and yes wine uses some sections of the config > > file, but claims that section lioke DRIVES or Serial Ports are not > > used in the config file. > > Well at the and i have delete the config file and use the stander *reg > > files created by winecfg, i have configured the drives folder in this > > way: > > > > casiopea dosdevices # ls -l > > total 0 > > lrwxrwxrwx 1 root root 11 Sep 28 20:35 a: -> /mnt/floppy > > lrwxrwxrwx 1 root root 13 Sep 28 20:36 a:: -> /dev/floppy/0 > > lrwxrwxrwx 1 root root 8 Sep 28 20:35 c: -> /mnt/win > > lrwxrwxrwx 1 root root 10 Sep 28 20:35 d: -> /mnt/cdrom > > lrwxrwxrwx 1 root root 19 Sep 28 20:36 d:: -> /dev/cdroms/cdrom0 > > lrwxrwxrwx 1 root root 1 Sep 28 20:35 e: -> / > > lrwxrwxrwx 1 root root 9 Sep 28 20:35 f: -> /mnt/data > > Looks fine to me. > > > > > I have the window partition mounted in the /mnt/win directory. > > When i go to /mnt/win/windows/system32, to run an application called > > hserver.exe i get these error messages: > > > > casiopea system32 # wine hserver.exe > > err:ntdll:NtQueryInformationToken Unhandled Token Information class > > 10! > > err:ntdll:RtlpWaitForCriticalSection section 0x77e46180 "?" wait timed > > out in thread 0009, blocked by 0000, retrying (60 sec) > > err:ntdll:RtlpWaitForCriticalSection section 0x77e46180 "?" wait timed > > out in thread 0009, blocked by 0000, retrying (60 sec) > > err:ntdll:RtlpWaitForCriticalSection section 0x77e46180 "?" wait timed > > out in thread 0009, blocked by 0000, retrying (60 sec) > > > > Anybody knows what is going on these errors. > > I have used the visual studio utility dumpbin to know the application > > dependencies, and this app have this dependencies: > > ADVAPI32.dll > > WSOCK32.dll > > USER32.dll > > KERNEL32.dll > > > > Any clue? > > Thanks > > Fill a bug for this one after trying with a current version of Wine. > Not all applications work. > > > > > > > On 9/28/05, Jonathan Ernst <Jonathan@ernstfamily.ch> wrote: > > Le mercredi 28 septembre 2005 ? 12:16 +0200, Pablo Gim?nez a > > ?crit : > > > Hi Randall and all the people that have answered. > > > Well definitely i have to configure wine through the > > register. > > > Now my problem is what values i have to use to configure the > > different > > > keys, there isn't help about it. > > > What i'm looking for is a doc that explains the same things > > that one > > > could do with the old config file but now using register > > keys. > > > How can i configure the drives in wine, i have seen thtat > > create a > > > drives directory, i only need to mount, or to point a > > location that > > > mounts, my windows drives? > > > > Use winecfg, the drive tab will do everything for you. > > > > > It is recommended to use the windows redistry instead of the > > wine > > > registry, how can i do it? > > > > Windows registry is not spported anymore > > > > > the dlls i refered before aren't in c:\windows\system, they > > are in the > > > application directory so i have to say to wine to looks in > > it too i > > > think. > > > > Wine will look into it without any modification (dlls are > > looked in the > > current directory, the executable directory and > > windows/system). > > > > > And the last, how i can configure the "emulated system > > enviroment > > > variables", i use some environment variables in windows, so > > i want to > > > get them in my emulated wine session too. > > > > I'm not sure for this one, but I think you can use normal > > linux > > variables and your program will be able to get the values (use > > setenv or > > export). > > > > > > > > > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.4.1 (GNU/Linux) > > > > iD8DBQBDOnRH5uNwURKeRvURAql7AJ9N1bRFy5KEIa5Ilnrhp6FglNF1 > > +ACgoNKv > > bgGiEHpqf72FQ5v/GS4TZZ0> > =3yLh > > -----END PGP SIGNATURE----- > > > > > > > > > > > > -- > > > > Un saludo > > Best Regards > > Pablo Gim?nez > -- > Jonathan Ernst <Jonathan@ErnstFamily.ch> > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.1 (GNU/Linux) > > iD8DBQBDPNAX5uNwURKeRvURAk61AJ9P1GNAgT7+JDGFvzyFPa1nfUE5ZACfZvvY > t5kMQar5ihWXD3Svv2p5Xbs> =fVFT > -----END PGP SIGNATURE----- > > >-- Un saludo Best Regards Pablo Gim?nez -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.winehq.org/pipermail/wine-users/attachments/20050930/7f61aba1/attachment.htm
Please don't forget to cc de list when replying to messages posted on the list so that everyone can benefit form your experience. Le mercredi 28 septembre 2005 ? 19:08 +0000, Pablo Gim?nez a ?crit :> After some confusing, winecfg popup a window that says that the > application is not yet complete and advice to use the ~/.wine/configYou are using a "very" old version of Wine, please upgrade: http://www.winehq.org/site/download> file for full setup, and yes wine uses some sections of the config > file, but claims that section lioke DRIVES or Serial Ports are not > used in the config file. > Well at the and i have delete the config file and use the stander *reg > files created by winecfg, i have configured the drives folder in this > way: > > casiopea dosdevices # ls -l > total 0 > lrwxrwxrwx 1 root root 11 Sep 28 20:35 a: -> /mnt/floppy > lrwxrwxrwx 1 root root 13 Sep 28 20:36 a:: -> /dev/floppy/0 > lrwxrwxrwx 1 root root 8 Sep 28 20:35 c: -> /mnt/win > lrwxrwxrwx 1 root root 10 Sep 28 20:35 d: -> /mnt/cdrom > lrwxrwxrwx 1 root root 19 Sep 28 20:36 d:: -> /dev/cdroms/cdrom0 > lrwxrwxrwx 1 root root 1 Sep 28 20:35 e: -> / > lrwxrwxrwx 1 root root 9 Sep 28 20:35 f: -> /mnt/dataLooks fine to me.> > I have the window partition mounted in the /mnt/win directory. > When i go to /mnt/win/windows/system32, to run an application called > hserver.exe i get these error messages: > > casiopea system32 # wine hserver.exe > err:ntdll:NtQueryInformationToken Unhandled Token Information class > 10! > err:ntdll:RtlpWaitForCriticalSection section 0x77e46180 "?" wait timed > out in thread 0009, blocked by 0000, retrying (60 sec) > err:ntdll:RtlpWaitForCriticalSection section 0x77e46180 "?" wait timed > out in thread 0009, blocked by 0000, retrying (60 sec) > err:ntdll:RtlpWaitForCriticalSection section 0x77e46180 "?" wait timed > out in thread 0009, blocked by 0000, retrying (60 sec) > > Anybody knows what is going on these errors. > I have used the visual studio utility dumpbin to know the application > dependencies, and this app have this dependencies: > ADVAPI32.dll > WSOCK32.dll > USER32.dll > KERNEL32.dll > > Any clue? > ThanksFill a bug for this one after trying with a current version of Wine. Not all applications work.> > > On 9/28/05, Jonathan Ernst <Jonathan@ernstfamily.ch> wrote: > Le mercredi 28 septembre 2005 ? 12:16 +0200, Pablo Gim?nez a > ?crit : > > Hi Randall and all the people that have answered. > > Well definitely i have to configure wine through the > register. > > Now my problem is what values i have to use to configure the > different > > keys, there isn't help about it. > > What i'm looking for is a doc that explains the same things > that one > > could do with the old config file but now using register > keys. > > How can i configure the drives in wine, i have seen thtat > create a > > drives directory, i only need to mount, or to point a > location that > > mounts, my windows drives? > > Use winecfg, the drive tab will do everything for you. > > > It is recommended to use the windows redistry instead of the > wine > > registry, how can i do it? > > Windows registry is not spported anymore > > > the dlls i refered before aren't in c:\windows\system, they > are in the > > application directory so i have to say to wine to looks in > it too i > > think. > > Wine will look into it without any modification (dlls are > looked in the > current directory, the executable directory and > windows/system). > > > And the last, how i can configure the "emulated system > enviroment > > variables", i use some environment variables in windows, so > i want to > > get them in my emulated wine session too. > > I'm not sure for this one, but I think you can use normal > linux > variables and your program will be able to get the values (use > setenv or > export). > > > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.1 (GNU/Linux) > > iD8DBQBDOnRH5uNwURKeRvURAql7AJ9N1bRFy5KEIa5Ilnrhp6FglNF1 > +ACgoNKv > bgGiEHpqf72FQ5v/GS4TZZ0> =3yLh > -----END PGP SIGNATURE----- > > > > > > -- > > Un saludo > Best Regards > Pablo Gim?nez-- Jonathan Ernst <Jonathan@ErnstFamily.ch> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://www.winehq.org/pipermail/wine-users/attachments/20050930/3fafc94b/attachment-0001.pgp