Reply To: Access violations when opening files from the command line.

Product Compare Forums Multi-Edit Support Access violations when opening files from the command line. Reply To: Access violations when opening files from the command line.

#5493
Graeme
Participant

Sorry for the confusion – i just re read my previous posts again!

The order of events is as the following –

– An existing copy of multi-edit is running run by the command mew32.exe -SR

– After a user determined amount of time (i.e. not immediatly after starting the main mew32 instance) the application will use the CreateProcess command with the command line <path>mew32.exe -SR /L 300

This fires off another process of Mew32 which should realise that another one exists and then use that instance to load the file – but it sometimes seems to fail to so this and gives access violations.

Attached is a simple program written in c++ builder 6 that still produces the error when the steps above are followed.

It took about 4 attempts loading different files to get it to happen.

You can then stop it happening by using task manage to set the processor affinity of both of the processes to the same CPU (we always use the first one)

Thanks,

Graeme
mew32 issue.zip