Oxygen Basic

Programming => Problems & Solutions => Topic started by: helloworld on May 01, 2017, 07:18:04 AM

Title: Problem with editors (Oxide etc)
Post by: helloworld on May 01, 2017, 07:18:04 AM
Hello!

Here's my problem:
Oxide hangs itself up at start. Latest build.
I did not know why until I tried O2HEdit:
O2HEdit hangs itself up as soon as I try to create a new file or open an existing file.
So, Oxide hangs itself up because it tries to load a file at start ("t.o2bas").
I use Win 10 pro 64 bit build 1703.

I have tried several other editors, scite too, non make problems.
Does someone else have the same problem?
Title: Re: Problem with editors (Oxide etc)
Post by: Arnold on May 01, 2017, 08:15:21 AM
Hi helloworld,

OxIde and and the latest O2HEdit should work with Win64 too. They work at least with my Win 10 system (Windows Home, Version 1607). Do you use the 32-bit scilexer.dll which is provided with Oxygenbasic? The version is 2.2.0. You can find out if another scilexer.dll is in the path with a command in a Dos box (cmd.exe):

where scilexer.dll

But if you started OxIde or O2HEdit in the directory of Oxygenbasic you should have called the correct scilexer.dll. Perhaps there is a difference with Win home and Win pro? Some features which block OxIde or O2HEdit? I am surprised that you cannot create or load a file with O2HEdit. Did you check the MenuItem Options / Environment Settings?

Roland
Title: Re: Problem with editors (Oxide etc)
Post by: helloworld on May 01, 2017, 08:32:31 AM
AFAIK the editor (oxide) worked in W10 pro 64 1607.
However, there the in-memory execution crashed the compiler. Although compilation to exe worked. That, too, was the case in win7 32 (possible due to running EMET?).
Now, in 1703, the comiler works, but the editor does not..
Yes, paths in O2HEdit are correct. As I wrote above, even creating a new file crashes the editor. It becomes unresponsive and hogs a core entirely.

Another quirk in oxide it that it always compiles to "_.exe", irrespective of the name of the file or any in-file hint.
Title: Re: Problem with editors (Oxide etc)
Post by: Aurel on May 01, 2017, 11:33:53 AM
I  dont have such a problems on my win7 32 bit.
did you tried AurelEdit?
Title: Re: Problem with editors (Oxide etc)
Post by: Arnold on May 02, 2017, 12:50:09 AM
I must admit I cannot reproduce this freezing with my Win10 64-bit system. I assume you use O2HEdit.exe of 20/04/17 and the latest build of OxygenBasic (see Wizard above)? Then it must work or it will crash at the start if it cannot load a Scilexer.dll or use default values. And O2HEdit.exe cannot load a 64bit Scilexer.dll.

Searching in Internet for version 1703 of Win10 64bit it seems that there are some compatibility problems and there are already offered some KB40xxx updates. But I do not know if this is really a problem for using O2HEdit.exe. If the program can start I do not understand why it is not possible to use at least the MenuItem File/New or Ctrl-N or the New File Toolbutton?

.
Title: Re: Problem with editors (Oxide etc)
Post by: helloworld on May 06, 2017, 02:24:53 AM
I have re-installed windows, and now it all works.
Sorry for the trouble.. :D