1. Code Fix for MEditor

These lines are in the onClick_RUN() procedure, starting with line 2157...

-- PL 18/11/02    nicked from rundemos.exw
        command_ptr = allocate_string("Open")
        if length(exe) then
            Fnm_ptr = allocate_string(exe)
--            Prm_ptr = allocate_string(path&name) -- bad version
            Prm_ptr = allocate_string("\"" & path&name & "\"") -- fixed 
version
        else
--            Fnm_ptr = allocate_string(path&name) -- bad version
            Fnm_ptr = allocate_string("\"" & path&name & "\"") -- fixed 
version
            Prm_ptr = allocate_string("")
        end if

I had to make the change because my path&name had spaces in them... the 
quotes are required to parse it properly.

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu