hi, I have a program that use the CreateProcess API with dwFileAttribute as a parameter. But not to use in the command line. It's used to write some data into a file and then another program read that file. But this isn't working. I'm not a programmer, I'm just testing the program. Does anybody know how can the program be changed, or wine patched, to solve this? thanks, Ricardo
"Ricardo" == Ricardo [email protected] writes:
Ricardo> hi, I have a program that use the CreateProcess API with Ricardo> dwFileAttribute as a parameter. But not to use in the command Ricardo> line. It's used to write some data into a file and then another Ricardo> program read that file. But this isn't working. I'm not a Ricardo> programmer, I'm just testing the program. Does anybody know how Ricardo> can the program be changed, or wine patched, to solve this? Ricardo> thanks, Ricardo
Run with debugmsg and show us what you think is going on.
Bye
Run with debugmsg and show us what you think is going on.
Bye
Uwe Bonnes [email protected]
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt --------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
Sorry, I've attached it now. There's 2 fies - wine.log and wine2.log. The 1th one is the main program, the one that calls the other. As wine close and start over to run the other program, i've run the second program alone.
The point is that: 1. when wine closes it loose the configuration; or 2. the use of that API is not well documented and was not ported
The main program is a logon screen. it gets the password, compare with an MS-SQL database and writes a file that have the parameters needed to the other program start - as the evaluation period. The second program is just an interface to call other programs.
Thanks Ricardo
ps.: I don't matter if I have to read the fonts, but I'm not a programer so if anyone have a clue...
begin 666 w.tgz M'XL(`!$I63P``^U]:V_;N-)P/Y]?P6>Q0%J@#219DF4?] '27-K@R29%DFZW M0(% UB75J6,9LM.F[Z]_25THRJ(DWBPY/39PSB:I.3,DAW/C<.9GM @.Y_'] MBRU^-%W3;--\H66?ZG-:VSJ.>Q:=B&,3(U`WY?AS^`-HVB2H^CZNUFP#P M(HGC==OWNO[]F7[6B>L%TS":!].S\XO3NY/X:ADLSN#O( GN#WUW#:[.[JY/ MCT[0?V^'%V?WAU?_?7QZ!;\BV$LVN'>P^Q_PB_^3Y8_Y7^A+YWZ3X$1^!? M/]UD08=SD ,Z`(MX#<+X<>&#. &K;VX2+>[!CRB>N^LH7K2 >)F#>#6%5*T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?`#)BG+S5GG)#R&ABH?,O9YIE'YX<W?:0`98C MB_RG+2&C1Q3TS(IECV*@`5#PF[YN:,#2C<+)=\8::Q1C8O.AA-_'&%'<@Q\C M,4M=,TS^B::C"KPV<[Q&,5[GOPROUQHVVK&DY-_T6V'T]!!,_<B=Q_?3OV[> MO[OZY^YJ@6Q L'97WY&X=>?@874_BY_ _T"]L,[_]"M8'VY;_E38Q7)H[,)P M?9;K3+7]U40_%<=<J14$B)$2*%FO771LFEZ>QNN*;I/6LWO=N2743F1,U) M%%Q?,B=1A!9:GJ@@*62>J!@I]=1;05+(U%L14NJ)T(*$D(G0(H10\LH%*2'S MRD4HH3ZD$*2%S/07% KUAUA=M.R0YMI_:Q<>8HEP'J4^DJ".)A\RBE!"*=L@ M1$GUG;H()?5*:X)+0M:]$B&$6KQ.D):@'CKDHH5:W%V0%K(DH @M]6+Y@H20 MQ?(;"'FQ_^P_^_^L__L/_O/_K/_[#_[S_ZS_^P_^_^L__L/_O/_K/_[#_[ AS_ZS_^P_^_^L__L/_O/_K/_[#_/YO/_`=0TH_$`, (` ` end
Hi !
On Wed, Jan 30, 2002 at 04:35:56PM -0200, Ricardo wrote:
hi, I have a program that use the CreateProcess API with dwFileAttribute as a parameter. But not to use in the command line. It's used to write some data into a file and then another program read that file. But this isn't working. I'm not a programmer, I'm just testing the program. Does anybody know how can the program be changed, or wine patched, to solve this? thanks, Ricardo
There is no such thing as a dwFileAttribute of CreateProcess. Which parameter are you talking of ?
If this is a problem (and it probably is), then *of course* Wine has to be fixed, not the program.
There is no such thing as a dwFileAttribute of CreateProcess. Which parameter are you talking of ?
CreateProcessA has a parameter called dwFillAtribute, not dwFileAttribute, sorry, and I saw at the Wine docs (http://www.winehq.com/WineAPI/CreateProcessA.html) that it's not implemented yet. Thanks, Ricardo
ps.: Is WineAPI updated? if not where can i get it updated? Thanks
On Thu, Jan 31, 2002 at 02:55:28PM -0200, Ricardo wrote:
There is no such thing as a dwFileAttribute of CreateProcess. Which parameter are you talking of ?
CreateProcessA has a parameter called dwFillAtribute, not dwFileAttribute, sorry, and I saw at the Wine docs (http://www.winehq.com/WineAPI/CreateProcessA.html) that it's not implemented yet.
Well, your info is confusing. dwFillAttribute is not a CreateProcess parameter. Instead it's a variable inside the lpStartupInfo struct, which is a CreateProcess parameter.
Wine readily says: if (lpStartupInfo->dwFlags & STARTF_USEFILLATTRIBUTE) FIXME("(%s,...): STARTF_USEFILLATTRIBUTE %lx ignored\n", name, lpStartupInfo->dwFillAttribute);
ps.: Is WineAPI updated? if not where can i get it updated? Thanks
I don't think it's updated.
Hmm, so you mean some program launches another program, passing a value in STARTUPINFO.dwFillAttribute, right ? If so, how does the launched process retrieve the STARTUPINFO content in your case ?
Wine certainly doesn't pass the STARTUPINFO strut content to program space yet; it's simply being used for initializing certain aspects of the new program.
Hmm, so you mean some program launches another program, passing a value in STARTUPINFO.dwFillAttribute, right ? If so, how does the launched process retrieve the STARTUPINFO content in your case ?
It's writen a file with a random name that's read by the second program.
Wine certainly doesn't pass the STARTUPINFO strut content to program space yet; it's simply being used for initializing certain aspects of the new program.
What I saw was that I run the first program, it write the file and wine closes, then it restart with the other program, but it can't read the file because it lost the file name, isn't it? It's the same error I get when I run the second program alone.
thanks for the help Ricardo
On Thu, Jan 31, 2002 at 04:54:55PM -0200, Ricardo wrote:
Hmm, so you mean some program launches another program, passing a value in STARTUPINFO.dwFillAttribute, right ? If so, how does the launched process retrieve the STARTUPINFO content in your case ?
It's writen a file with a random name that's read by the second program.
Wine certainly doesn't pass the STARTUPINFO strut content to program space yet; it's simply being used for initializing certain aspects of the new program.
What I saw was that I run the first program, it write the file and wine closes, then it restart with the other program, but it can't read the file because it lost the file name, isn't it? It's the same error I get when I run the second program alone.
Well, show us how the second program is supposed to get at that data, and we'll show you what doesn't work at the moment. I'm still a bit ignorant about how exactly your programs do that data transfer (especially on the "client" side), thus please show us how this is supposed to be done.
Thanks !
Well, show us how the second program is supposed to get at that data, and we'll show you what doesn't work at the moment. I'm still a bit ignorant about how exactly your programs do that data transfer (especially on the "client" side), thus please show us how this is supposed to be done.
Thanks for helping me! I'll show how the program work:
I have 2 programs, let's call them pgm1 and pgm2. These programs have common data that pgm1 have to set on pgm2. To set pgm2 data we write a file with a random name (actually we start with a name, but if already exists we add 1 until we can create a new file) using pgm1, let's cal this file file1.dat. So, graphically it'll be:
data ---------------->data | | | | pgm1--> file1.dat--> pgm2
The file1.dat is passed as a parameter using the dwFillAttribute of the pgm2.
Hope it was what you were expecting. Thanks Ricardo.
Well, show us how the second program is supposed to get at that data, and we'll show you what doesn't work at the moment. I'm still a bit ignorant about how exactly your programs do that data transfer (especially on the "client" side), thus please show us how this is supposed to be done.
Sorry, the post was sent wrong. Here's it right.
I have 2 programs, let's call them pgm1 and pgm2. These programs have common data that pgm1 have to set on pgm2. To set pgm2 data we write a file with a random name (actually we start with a name, but if already exists we add 1 until we can create a new file) using pgm1, let's cal this file file1.dat. So, graphically it'll be:
data ---------------->data | | | | pgm1--> file1.dat--> pgm2
The file1.dat is passed as a parameter using the CreateProcessA.dwFillAttribute of the pgm1. Pgm2 get file1.dat with the GetStartupInfoA API.
Hope it was what you were expecting. Thank you Ricardo.
On Fri, Feb 01, 2002 at 08:26:52AM -0200, Ricardo wrote:
Well, show us how the second program is supposed to get at that data, and we'll show you what doesn't work at the moment. I'm still a bit ignorant about how exactly your programs do that data transfer (especially on the "client" side), thus please show us how this is supposed to be done.
Thanks for helping me! I'll show how the program work:
I have 2 programs, let's call them pgm1 and pgm2. These programs have common data that pgm1 have to set on pgm2. To set pgm2 data we write a file with a random name (actually we start with a name, but if already exists we add 1 until we can create a new file) using pgm1, let's cal this file file1.dat. So, graphically it'll be:
data ---------------->data | | | | pgm1--> file1.dat--> pgm2
The file1.dat is passed as a parameter using the dwFillAttribute of the pgm2.
Hope it was what you were expecting.
Hmm, no, sorry, it's not.
I was asking to get more details on the client side, i.e. how the program *actually* gets hold of the STARTUPINFO.dwFillAttribute content that the parent passes via CreateProcess.
AFAICS you haven't mentioned that in any of your mails.
CreateProcess stuff can be found in loader/module.c, scheduler/process.c and server/process.c, in case you want to investigate that path.
Ah, damn, forgot about GetStartupInfo(). That's probably how it's done. You should really have mentioned it by now, though. (been asking about three times now)
In this case memory/environ.c would also be relevant.
Oh, now I see.
The only problem right now is that dwFillAttribute simply doesn't get passed at all to the wineserver and back. It simply gets omitted. scheduler/process.c/PROCESS_Create() would have to pass dwFillAttribute to the new_process request, and scheduler/process.c/PROCESS_Init() would have to get dwFillAttribute added at the init_process request in order to retrieve its value for the client program. And the stuff in server/ (structs mainly) would have to get enhanced to support this additional field. Could you take care of this ? And, even better, could you make sure all other relevant additional fields in STARTUPINFO are being copied from parent to server to client, too ?