Hi all,
I run some tests about mixed using WritePrivateProfileString and stand file
operations
Codes look like this:
GetPrivateProfileString(keyname, value);
fopen();
fprintf("# comments");
fclose();
WritePrivateProfileString(keyname, newvalue);
What I found in the file is that either WritePriv
After I add an environment avriable in the system.reg file, e.g.
[System\\CurrentControlSet\\Control\\Session Manager\\Environment]
1185851455
"MY_VARIABLE"="VALUE"
I tried to read this variable thru the API GetEnvironmentVariable(), but it
failed.
Other variables, such as PATH, OS, are OK.
Any i
Yes, the mingw-gcc case works.
But I use the Visual C++ 7.0 to compile. It still fails.
On 6/26/07, Kirill K. Smirnov <[EMAIL PROTECTED]> wrote:
Hi,
I've tried to reproduce, but failed:
a.c:
#include
#include
int main(void)
{
system("qqq.exe");
return 0;
}
$ mingw-gcc -mconsole -
gv[0]=L"./System.exe"
trace:process:set_entry_point setting FT_Thunk at 0x602ae084 to
i: -1
ENOENT
Any idea? Thanks in advance.
Milo Xu
On 6/26/07, Zhongli Xu <[EMAIL PROTECTED]> wrote:
Hi all,
I tried to call another .exe file in my own exe file by using the system()
API.
But the return
Hi all,
I tried to call another .exe file in my own exe file by using the system()
API.
But the return value of system() is -1 and errno is set to ENOENT. It
indicates that the another exe file is not found.
So I copy the another exe to the fake directory: C:\windoes\system32, since
wine always
Hi all,
I have a .sys driver for parallel port communication.
But it seems wine didn't support loading the driver.
My windows program has to be configured as XP version.
And directly accessing to parallel port is not allowed on the XP host,
therefore _outp() and _inp() are useless. Is there any s