<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 6.00.2713.1100" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>Hi,<BR>&nbsp;I'm getting this error running a system under 
WINE:<BR><BR>0806faa8:Call 
kernel32.CreateFileA(405b63ec<BR>"C:\\WIN\\IY032097.DAT",80000000,00000003,00000000,00000003,08000001,0000000<BR>0) 
ret=6002912b<BR>0806faa8:trace:file:CreateFileA C:\WIN\IY032097.DAT 
GENERIC_READ<BR>FILE_SHARE_READ FILE_SHARE_WRITE 
OPEN_EXISTING<BR>0806faa8:trace:dosfs:DOSFS_GetFullName C:\WIN\IY032097.DAT 
(last=1)<BR>0806faa8:trace:string:lstrcpynA (0x405b5a4c, "/mnt/c", 
1024)<BR>0806faa8:trace:dosfs:DOSFS_FindUnixName 
/mnt/c,WIN\IY032097.DAT<BR>0806faa8:trace:heap:RtlAllocateHeap 
(40360000,00000002,00010bfc): 
returning<BR>403a9e6c<BR>0806faa8:trace:heap:RtlAllocateHeap 
(40360000,00000002,00000018): 
returning<BR>403a7d10<BR>0806faa8:trace:dosfs:DOSFS_FindUnixName 
(/mnt/c,WIN\IY032097.DAT) -&gt; win<BR>(WIN)<BR>0806faa8:trace:heap:RtlFreeHeap 
(40360000,00000002,403a7d10): returning TRUE<BR>0806faa8:trace:heap:RtlFreeHeap 
(40360000,00000002,403a9e6c): returning 
TRUE<BR>0806faa8:trace:dosfs:DOSFS_FindUnixName 
/mnt/c/win,IY032097.DAT<BR>0806faa8:trace:heap:RtlAllocateHeap 
(40360000,00000002,00010bfc): 
returning<BR>403a9e6c<BR>0806faa8:trace:heap:RtlAllocateHeap 
(40360000,00000002,00000018): 
returning<BR>403a7d10<BR>0806faa8:warn:dosfs:DOSFS_FindUnixName 'IY032097.DAT' 
not found in<BR>'/mnt/c/win'<BR>0806faa8:trace:heap:RtlFreeHeap 
(40360000,00000002,403a7d10): returning TRUE<BR>0806faa8:trace:heap:RtlFreeHeap 
(40360000,00000002,403a9e6c): returning TRUE<BR>0806faa8:warn:file:CreateFileA 
Unable to get full filename from<BR>'C:\WIN\IY032097.DAT' (GLE 
2)<BR>.........<BR>08079370:RET&nbsp; MFRTS32.1199: _mFfindp() retval = 409c5e90 
ret=0042b3b7<BR>08079370:CALL MFRTS32.1425: mF_fh_set_fe_stat(00000000) 
ret=0042b3c8<BR>08079370:RET&nbsp; MFRTS32.1425: mF_fh_set_fe_stat() retval = 
00000000<BR>ret=0042b3c8<BR>08079370:RET&nbsp; MFRTS32.1202: _mFg2star_fast() 
retval = 00000000 ret=0042889a<BR>08079370:RET&nbsp; MFRTS32.1400: ixfile() 
retval = 00000000 ret=60025e45<BR>08079370:RET&nbsp; MFRTS32.145: EXTFH() retval 
= 00000000 ret=0044095a<BR>08079370:Call user32.MessageBoxA(00000000,004472de 
"External Path string<BR>&lt;UPCW56-DEV-DATA-DIR&gt; not found. File 
IYF029.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
"...,004471c8<BR>"IYP139&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
",00002010) ret=00404c01<BR>08079370:warn:dialog:MessageBoxA 
Messagebox<BR>08079370:trace:resource:RES_FindResource2 (4067a000, 
00000005,<BR>40718554"MSGBOX", 0000, A, 
PE)<BR>08079370:trace:heap:RtlAllocateHeap (40360000,00000002,00000018): 
returning<BR>403af734<BR>08079370:trace:heap:RtlFreeHeap 
(40360000,00000002,403af734): returning 
TRUE<BR>08079370:trace:resource:RES_LoadResource (4067a000, 407234f8, 
PE)<BR>.........<BR><BR><BR>Seems like the file isn't being created. (Uwe Bonnes 
helped me with this).<BR>But we disagree what part of WINE (or outside WINE) is 
wrong.<BR>The first part of the log shows a CreateFileA that is unable to create 
a<BR>file.<BR>This API works fine when the file is in the same dir as the 
application (had<BR>tested it).<BR>The second part of the log shows the last 
screen I get after start the<BR>program (MessageBox API).<BR>MFRTS32 is a .dll 
the program calls. We thougth of there too.<BR>But this program works under 
Windows. Everything is in the path. Both<BR>wine.conf and Linux.<BR><BR>I could 
reproduce the error in Win2k this way:<BR><BR>Created a set of programs (L1, L2 
and L3) that will run one after one with<BR>conditions. If the field in L1 is 
fulfilled then we jump directly to L3.<BR>Else We fulfill the field in L2 and 
then jump to L3.<BR><BR>In details: L1 would creates a file with a name if the 
filed is fulfilled an<BR>L3<BR>NEEDS to know that name.<BR>If we had to run L2 
then the file will be with another name<BR>and L3 will get data from that 
file.<BR>But the file ins't created in neither of the cases. So a screen shows 
up:<BR>"External path string &lt;G-PATH&gt; not found. File 
FILE-LINUX."<BR><BR>That message is the same I get under WINE:<BR>"External path 
string &lt;UPCW56-DEV-DATA-DIR&gt; not found. File IYF029."<BR>Refers to a file 
(IYF029), that exists (located in the ./data dir)<BR>but was not filled with 
data it need to work, or incorretly filled.<BR>Both G-PATH and 
UPCW56-DEV-DATA-DIR are variables of a file that has a<BR>number<BR>of them 
inside.<BR><BR><BR>As here we use APIs I'll list 2 of them that are used within 
the function<BR>and<BR>their definiton, took from 
MSDN:<BR><BR>CreateProcess<BR><BR>CreateProcess(<BR>LPCWSTR 
lpszImageName,<BR>LPCWSTR lpszCmdLine,<BR>LPSECURITY_ATTRIBUTES 
lpsaProcess,<BR>LPSECURITY_ATTRIBUTES lpsaThread,<BR>BOOL 
fInheritHandles,<BR>DWORD fdwCreate,<BR>LPVOID lpvEnvironment,<BR>LPWSTR 
lpszCurDir,<BR>LPSTARTUPINFOW lpsiStartInfo,<BR>LPPROCESS_INFORMATION 
lppiProcInfo);<BR><BR>........<BR><BR>StartupInfo.dwFillAttribute<BR><BR>dwFillAttribute<BR>Ignored 
unless dwFlags specifies STARTF_USEFILLATTRIBUTE.<BR>Specifies the initial text 
and background colors if a new console window is<BR>created in a console 
application. These values are ignored in GUI<BR>applications.<BR>This value can 
be any combination of the following values:<BR>FOREGROUND_BLUE, 
FOREGROUND_GREEN, FOREGROUND_RED, FOREGROUND_INTENSITY,<BR>BACKGROUND_BLUE, 
BACKGROUND_GREEN, BACKGROUND_RED, and BACKGROUND_INTENSITY.<BR>For example, the 
following combination of values produces red text on 
a<BR>white<BR>background:<BR><BR>FOREGROUND_RED| BACKGROUND_RED| 
BACKGROUND_GREEN| BACKGROUND_BLUE<BR><BR>OBS.: We do NOT use this to send this 
kind of attributes.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; We DO send more data as we 
saw that it handles well.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; We also DO use this 
in gui applications.<BR><BR>typedef struct _STARTUPINFO {<BR>&nbsp;&nbsp;&nbsp; 
DWORD&nbsp;&nbsp; cb;<BR>&nbsp;&nbsp;&nbsp; LPTSTR&nbsp; 
lpReserved;<BR>&nbsp;&nbsp;&nbsp; LPTSTR&nbsp; lpDesktop;<BR>&nbsp;&nbsp;&nbsp; 
LPTSTR&nbsp; lpTitle;<BR>&nbsp;&nbsp;&nbsp; DWORD&nbsp;&nbsp; 
dwX;<BR>&nbsp;&nbsp;&nbsp; DWORD&nbsp;&nbsp; dwY;<BR>&nbsp;&nbsp;&nbsp; 
DWORD&nbsp;&nbsp; dwXSize;<BR>&nbsp;&nbsp;&nbsp; DWORD&nbsp;&nbsp; 
dwYSize;<BR>&nbsp;&nbsp;&nbsp; DWORD&nbsp;&nbsp; 
dwXCountChars;<BR>&nbsp;&nbsp;&nbsp; DWORD&nbsp;&nbsp; 
dwYCountChars;<BR>&nbsp;&nbsp;&nbsp; DWORD&nbsp;&nbsp; 
dwFillAttribute;<BR>&nbsp;&nbsp;&nbsp; DWORD&nbsp;&nbsp; 
dwFlags;<BR>&nbsp;&nbsp;&nbsp; WORD&nbsp;&nbsp;&nbsp; 
wShowWindow;<BR>&nbsp;&nbsp;&nbsp; WORD&nbsp;&nbsp;&nbsp; 
cbReserved2;<BR>&nbsp;&nbsp;&nbsp; LPBYTE&nbsp; 
lpReserved2;<BR>&nbsp;&nbsp;&nbsp; HANDLE&nbsp; hStdInput;<BR>&nbsp;&nbsp;&nbsp; 
HANDLE&nbsp; hStdOutput;<BR>&nbsp;&nbsp;&nbsp; HANDLE&nbsp; hStdError;<BR>} 
STARTUPINFO, *LPSTARTUPINFO;<BR>...............<BR>CreateFile<BR><BR><BR>HANDLE 
CreateFile(<BR>&nbsp; LPCTSTR 
lpFileName,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
// file name<BR>&nbsp; DWORD 
dwDesiredAccess,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
// access mode<BR>&nbsp; DWORD 
dwShareMode,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
// share mode<BR>&nbsp; LPSECURITY_ATTRIBUTES lpSecurityAttributes, // 
SD<BR>&nbsp; DWORD 
dwCreationDisposition,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
// how to create<BR>&nbsp; DWORD 
dwFlagsAndAttributes,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
// file attributes<BR>&nbsp; HANDLE 
hTemplateFile&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
// handle to template file<BR>);<BR><BR>..................<BR><BR>Any 
thoughs?<BR><BR>Thanks,<BR>Ricardo.</BODY></HTML>