FBIDE error file '' , line 10; "=" expected

General FreeBASIC programming questions.
Post Reply
integer
Posts: 408
Joined: Feb 01, 2007 16:54
Location: usa

FBIDE error file '' , line 10; "=" expected

Post by integer »

On Tuesday & Wednesday while studying the edge limits of available memboy [on a Win10, 16GB ram, 3.3MHz PC]
I could generate qword (ulongint), ulong, short, byte, and boolean arrays.

I created a boolean array of 2^30 elements ( 1 billion 73+million) and using prime sieve
filled the array with primes (true/false). The program took about 10 seconds to generate the boolean
values for the primes less than 2^30.

When I changed the array type from boolean to byte, the program crashed -- it went immediately to the windows desktop screen.
With 16GB of ram such a response is not clear.

The Question:
On Thursday morning, when FB was invoked with the fbide icon,
a pop-up window occurred:

FBIDE error
file '',line 10; "=" expected.

This was before any file was selected.
This occurred for the first time after invoking the fbide icon.

It is now Sunday and that pop-up now occurs at each invocation.
I believe that Windows did an update (not asserting that).
What caused this irregularity?
Did the excess memory request damage the editor (the fbide)?
Did a windows update create this?
I have not found a cause for this.

Has anyone else had something such as this occur?
fxm
Moderator
Posts: 12132
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: FBIDE error file '' , line 10; "=" expected

Post by fxm »

Already, for the FBIde crash, try to update the 'mingwm10.dll' file:
fxm wrote: Jun 25, 2021 9:28 I confirm (seen today with Win 10) that the execution attempt of FBIde can abort (rarely) due to the old mingwm10.dll file included in the FBIde download.
The fix is to replace this old file with a newer one, as described below by Sebastian:
Sebastian wrote:Hello,

I saw the issue on a Windows 7 x64 PC recently.

In that case the problem was related to the obviously very old "mingwm10.dll" included with the FBIDE download. I downloaded a newer version of the DLL from the MingW sourceforge site and replaced FBIDE's "mingwm10.dll" with the file of the same name contained in the download ("bin" subfolder):

https://sourceforge.net/projects/mingw/ ... z/download

In my case it looks like this:
Image

Moreover, make sure to have the MSVCRT runtime library installed. (Microsoft Visual C++ Redistributable)

Best regards,
Sebastian

PS: Usage of the approach at one's own risk! No warranty and liability!
fxm wrote:
fxm wrote:I am with Win7 on my professional PC.
Often, I get a similar error message (error 0xc0000005), at any FBIde execution attempt (versions 0.4, 0.4.3, 0.4.6) after a PC boot.
Generally, closing then opening a new Windows session is sufficient to solve the problem, but sometimes a full reboot is required.
Remark: by cons, the oldest version "FBIde v0.3.3a" is always working!
Now with Win 10, I very rarely have such an error message when launching FBIde with Win10.
The next time I get it, I will exchange the 2 mingwm10.dll files without restarting the computer, to test your solution.
Post Reply