wine->linux application named pipe interaction
wine->linux application named pipe interaction
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?
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?
Re: wine->linux application named pipe interaction
Regarding named pipes: https://bugs.winehq.org/show_bug.cgi?id=17195
Have you tried installing Windows Java in the same wineprefix?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.
Re: wine->linux application named pipe interaction
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?dimesio wrote:Regarding named pipes: https://bugs.winehq.org/show_bug.cgi?id=17195
Have you tried installing Windows Java in the same wineprefix?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.
Re: wine->linux application named pipe interaction
Hello!dimesio wrote:Regarding named pipes: https://bugs.winehq.org/show_bug.cgi?id=17195
Have you tried installing Windows Java in the same wineprefix?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.
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.
Re: wine->linux application named pipe interaction
Which installer did you try for 7u80? The Windows x86 Offline installer works fine here in a clean 32 bit wineprefix.lomaker wrote: I install the latest version of wine 1.7 and tried to install jre. No 7u80 or 8u45 not install correctly.
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.
Re: wine->linux application named pipe interaction
Yes I download the x86 offline version and start with:dimesio wrote:Which installer did you try for 7u80? The Windows x86 Offline installer works fine here in a clean 32 bit wineprefix.lomaker wrote: I install the latest version of wine 1.7 and tried to install jre. No 7u80 or 8u45 not install correctly.
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.
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?
Re: wine->linux application named pipe interaction
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
Re: wine->linux application named pipe interaction
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!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