Tks... The problem is solved when I changed the directory my program was
started from.
It was //DC-SRV/Logon$/prog.exe while changing to a public share
//SRV/Share/prog.exe the Access Violation stops to occur.
Don't know exaclty why... but it's now working...
Regards,
Marcio
"Olaf Engelke [MVP Windows Server]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
> Marcio Vinholes Ferreira wrote:
>> I wrote a small C program that colects machine inventory - it is
>> started from a public share (eg. //SRV/Share/prog.exe) at user Login
>> Script.... Now Windows9x are experiencing Access Violation errors when
>> the .EXE
>> is started from Logon$ directory (eg. //DC-SRV/Logon$/prog.exe).
>>
>> Do you have any idea why it is happening??
>>
> does the program try to write any output to a certain folder, which maybe
> not exist in Windows 9x?
> Does it use environment variables like %computername%, which also do not
> exist on Windows 9x?
> Does it use DLLs which are different in Windows XP?
> Without even to know, what the program does and how it is built, it's hard
> to figure out what goes wrong.
> Best greetings from Germany
> Olaf.
|