Search found 2706 matches

by marcov
Jul 22, 2019 9:24
Forum: General
Topic: Let us talk about memory layout of classes Microsost C++ vs gnu g++ vs FreeBASIC !
Replies: 4
Views: 164

Re: Let us talk about memory layout of classes Microsost C++ vs gnu g++ vs FreeBASIC !

I've no clue of C++ vtable layout, but if vtable[0] is not a method, it might also be a pointer to some other descriptor table (like for multiple inheritance or RTTI).
by marcov
Jul 21, 2019 20:42
Forum: General
Topic: Let us talk about memory layout of classes Microsost C++ vs gnu g++ vs FreeBASIC !
Replies: 4
Views: 164

Re: Let us talk about memory layout of classes Microsost C++ vs gnu g++ vs FreeBASIC !

I don't see the constructor declared as virtual, so why would it be in the vtable? Are constructors always virtual by default?
by marcov
Jul 12, 2019 8:18
Forum: General
Topic: NUL device in DOS and Windows
Replies: 6
Views: 192

Re: NUL device in DOS and Windows

MrSwiss wrote:Try this: If FileExists( blockdir & "\." ) Then


(minor detail: afaik that doesn't work for roots)
by marcov
Jun 20, 2019 15:54
Forum: Community Discussion
Topic: fb 1.07 tests
Replies: 12
Views: 753

Re: fb 1.07 tests

Debug info by default. strip can be always done afterwards on release.

Unstripping is hard :-)
by marcov
Jun 06, 2019 20:03
Forum: Community Discussion
Topic: FreeBASIC-1.06.0-Win gcc-9.1
Replies: 25
Views: 913

Re: FreeBASIC-1.06.0-Win gcc-9.1

And debuginfo, make sure they are properly stripped.
by marcov
Jun 01, 2019 21:12
Forum: Projects
Topic: Creating (scientific) plots via gnuplot
Replies: 68
Views: 2672

Re: Creating (scientific) plots via gnuplot

Carlos Herrera wrote:If an old and buggy fbgfx form is replaced by the gnuplot engine, we will have something
that matches TAChart from Lazarus. After all, Maxima, Octave, nextnano, ... use gnuplot engine,
so its not a shame.


TAChart doesn't use gnuplot or anything external.
by marcov
May 22, 2019 16:48
Forum: Community Discussion
Topic: Wiindows 10
Replies: 24
Views: 1444

Re: Wiindows 10

Low memory devices (e.g. 4GB AND integrated graphics) are no picnic ether. For 1709 update: Core2 6600 (2.4GHz) 6GB with SSD: about 2.5 hrs. (now has been junked) 1809 update i7-3770 12GB SSD : 50min-1hr. Ryzen 2600 24GB with (old) SSD: 35-40 minutes added later: these are rough magnitude only figur...
by marcov
May 21, 2019 12:25
Forum: Community Discussion
Topic: fawlty/idl programming language
Replies: 9
Views: 531

Re: fawlty/idl programming language

Octave ( the open source matlab compatible) is also quite usable. During a research period, I hooked up a bunch of batchfiles, .m scripts and some pascal code (*) to script together processing incoming data and make plots. I think I originally mostly started it, because I found a bunch of matlab ff...
by marcov
May 21, 2019 8:49
Forum: General
Topic: Programming fonts
Replies: 8
Views: 412

Re: Programming fonts

I also have some dos nostalgia, but I go for the classic colors rather than the fonts

Image.

Actually with current LED monitors, it is much better since they don't have to be overly bright to have good contrast.
by marcov
May 21, 2019 8:19
Forum: DOS
Topic: gpp 9.10 upgrade strange error compilation
Replies: 1
Views: 349

Re: gpp 9.10 upgrade strange error compilation

The errors is in .s files, so to me it looks like an assembler problem. So either also upgrade you binutils, or FB generates something that results in assembler that would not be generated by just C code.
by marcov
May 18, 2019 20:47
Forum: Documentation
Topic: Wiki improvements
Replies: 338
Views: 26422

Re: Wiki improvements

Oops, I missed a step. %% tags with the html escaping only work for chm. I think I'd like to get rid of the html escaping and look at improving the fbdoc (wiki-> chm converter). Even though fbdoc doesn't know unicode, the wiki's UTF8 should be preserved through most of the string manipulations. Pro...
by marcov
May 11, 2019 12:40
Forum: General
Topic: Problem writing 8GB array to disk
Replies: 25
Views: 906

Re: Problem writing 8GB array to disk

Afaik windows API has such limits, the common win32/64 write-block-to-file writefile also has "dword" as argument, iow 32-bit. Indeed. Interestingly enough, even WriteFileEx has that limit. There is an easy workaround, though: MapViewOfFile . Afaik the native WinNT I/O are completion port...
by marcov
May 11, 2019 12:06
Forum: General
Topic: Problem writing 8GB array to disk
Replies: 25
Views: 906

Re: Problem writing 8GB array to disk

Afaik windows API has such limits, the common win32/64 write-block-to-file writefile also has "dword" as argument, iow 32-bit. Under *nix, the core write routine is write(2) , and that has a size_t as argument, which is implementation defined, 64-bit on Linux/64. Of course the FreeBasic wr...
by marcov
May 08, 2019 9:07
Forum: Hardware Interfaces / Communication
Topic: A "new" vintage Oscilloscope on my workbench :-)
Replies: 2
Views: 1616

Re: A "new" vintage Oscilloscope on my workbench :-)

The value is partially how much memory they have. Some of the older scopes have very little memory, but some slightly later ones have quite some. A customer had a Yokogawa scope, which hadn't been replaced because it was very expensive, fairly high speed and modular (16 channels, upgradable to 32 ii...
by marcov
May 06, 2019 7:50
Forum: Beginners
Topic: Automatic conversion WSTRING to (Z)STRING
Replies: 10
Views: 491

Re: Automatic conversion WSTRING to (Z)STRING

As seen above len(String) contains 8 (UByte) while len(WString) contains 5 (UShort?), which indicates, that *..IX* systems use UTF-8 (as standard) which is a very different Note that it depends on distro, so it is not 100%. Be careful with embedded or old distros (like e.g. the linux on your NAS if...

Go to advanced search