wine->linux application named pipe interaction

Questions about Wine on Linux
Locked
lomaker
Level 1
Level 1
Posts: 5
Joined: Tue Apr 28, 2015 9:59 pm

wine->linux application named pipe interaction

Post by lomaker »

I apologize in advance for any errors of speech - I do not speak very well English.

I do not quite understand how it works. How are all of these technologies - smb, named pipes, and even more wine?
This is how I understand the interaction - in Windows has its own system named pipes. I create a named pipe by using the CreateNamedPipeW imported from the library kernel32.dll. Then I run the utility pipelist.exe and see the list creates a named pipe. When I try to do the same in Linux Wine named pipe is created, so how do I get its handle in a function call CreateNamedPipeW, but utility pipelist I run I can not - get the error message "Error querying pipe directory ...". Refer to the pipe I also fails.

In this article http://lkcl.net/namedpipes/namedpipes-emulation.txt you say that you need to somehow work through SMB, but how to do it I do not understand! Also in the article is a listing of Microsoft to create and work with a named pipe, but how to link them with smb? I have to use different from kernel32.dll library and other system calls?

In general, I have the following situation - there are MQL4 script that creates a named pipe by using the above function. This script is called in the Windows like program Metatrader4, run under wine. You must connect to establish channels of Java environment. Java runs in a Linux environment. In Java, for this purpose, as I understand it is used JCIFS. How do I make friends with these two applications to interact and get through a named pipe?
User avatar
dimesio
Moderator
Moderator
Posts: 13207
Joined: Tue Mar 25, 2008 10:30 pm

Re: wine->linux application named pipe interaction

Post by dimesio »

Regarding named pipes: https://bugs.winehq.org/show_bug.cgi?id=17195
This script is called in the Windows like program Metatrader4, run under wine. You must connect to establish channels of Java environment. Java runs in a Linux environment.
Have you tried installing Windows Java in the same wineprefix?
lomaker
Level 1
Level 1
Posts: 5
Joined: Tue Apr 28, 2015 9:59 pm

Re: wine->linux application named pipe interaction

Post by lomaker »

dimesio wrote:Regarding named pipes: https://bugs.winehq.org/show_bug.cgi?id=17195
This script is called in the Windows like program Metatrader4, run under wine. You must connect to establish channels of Java environment. Java runs in a Linux environment.
Have you tried installing Windows Java in the same wineprefix?
Thank you - read the article in the near future. No I don't install Windows Java on the Wine. Interested in cooperation with Linux. I need to use the Java DE. Will it work under Wine?
lomaker
Level 1
Level 1
Posts: 5
Joined: Tue Apr 28, 2015 9:59 pm

Re: wine->linux application named pipe interaction

Post by lomaker »

dimesio wrote:Regarding named pipes: https://bugs.winehq.org/show_bug.cgi?id=17195
This script is called in the Windows like program Metatrader4, run under wine. You must connect to establish channels of Java environment. Java runs in a Linux environment.
Have you tried installing Windows Java in the same wineprefix?
Hello!
Finally he found the time to test!

I install the latest version of wine 1.7 and tried to install jre. No 7u80 or 8u45 not install correctly.I got an error message:

Code: Select all

Installation Failed

The wizard was interrupted before java 7 update 80 could be completely installed. To complete installation at another time, please run setup again.
User avatar
dimesio
Moderator
Moderator
Posts: 13207
Joined: Tue Mar 25, 2008 10:30 pm

Re: wine->linux application named pipe interaction

Post by dimesio »

lomaker wrote: I install the latest version of wine 1.7 and tried to install jre. No 7u80 or 8u45 not install correctly.
Which installer did you try for 7u80? The Windows x86 Offline installer works fine here in a clean 32 bit wineprefix.

The 8u45 installer doesn't work. There are three AppDB test reports saying that, though no one seems to have filed a bug for it.
lomaker
Level 1
Level 1
Posts: 5
Joined: Tue Apr 28, 2015 9:59 pm

Re: wine->linux application named pipe interaction

Post by lomaker »

dimesio wrote:
lomaker wrote: I install the latest version of wine 1.7 and tried to install jre. No 7u80 or 8u45 not install correctly.
Which installer did you try for 7u80? The Windows x86 Offline installer works fine here in a clean 32 bit wineprefix.

The 8u45 installer doesn't work. There are three AppDB test reports saying that, though no one seems to have filed a bug for it.
Yes I download the x86 offline version and start with:

Code: Select all

wine jre-7u80-windows-i586.exe

How do I determine the differences between your wineprefix from my? How do I make it clean?
User avatar
dimesio
Moderator
Moderator
Posts: 13207
Joined: Tue Mar 25, 2008 10:30 pm

Re: wine->linux application named pipe interaction

Post by dimesio »

A clean wineprefix is one with nothing installed in it yet and no settings changed. If there's nothing in your current wineprefix that you want to save you can just delete it and start fresh; otherwise, try installing to a different wineprefix. http://wiki.winehq.org/FAQ#32_bit_wineprefix
lomaker
Level 1
Level 1
Posts: 5
Joined: Tue Apr 28, 2015 9:59 pm

Re: wine->linux application named pipe interaction

Post by lomaker »

dimesio wrote:A clean wineprefix is one with nothing installed in it yet and no settings changed. If there's nothing in your current wineprefix that you want to save you can just delete it and start fresh; otherwise, try installing to a different wineprefix. http://wiki.winehq.org/FAQ#32_bit_wineprefix
I dropped wineprefix and it worked! Now I have installed Jre7! But as I said I need a Java DE platform. Tomorrow will try to establish her. I hope it is established without any problems!
Locked