Search found 1687 matches

by deltarho[1859]
May 20, 2019 3:41
Forum: General
Topic: Programming fonts
Replies: 5
Views: 123

Re: Programming fonts

very nice spacing (especially vertical) My eyes are not as good as they were and a decent vertical spacing is a must for me. On comparing Fira Mono and Inconsolata the latter's vertical spacing is the greater. I suffer from severe eye strain What do you do when programming of an evening? I have bee...
by deltarho[1859]
May 20, 2019 1:08
Forum: General
Topic: Programming fonts
Replies: 5
Views: 123

Programming fonts

I have been using Consolas for some years now but came across another which I prefer. It can be got in google/fonts at GitHub: Inconsolata-Regular.ttf If you have not installed fonts before open the Control Panel at Fonts and drag & drop the ttf file - job done. Give it a whirl - you may like it.
by deltarho[1859]
May 13, 2019 21:24
Forum: General
Topic: SSE & floating point
Replies: 7
Views: 170

Re: SSE & floating point [Solved]

Thanks frisian, you have solved my problem. <smile>
by deltarho[1859]
May 13, 2019 20:32
Forum: General
Topic: SSE & floating point
Replies: 7
Views: 170

Re: SSE & floating point

Thanks frisian.

If 'movd xmm1, [a2]' is OK why didn't you use 'movd xmm0, [a1]'?
by deltarho[1859]
May 13, 2019 17:45
Forum: General
Topic: SSE & floating point
Replies: 7
Views: 170

Re: SSE & floating point

That was my first failure of many. <smile> Thanks srvaldez.
by deltarho[1859]
May 13, 2019 16:54
Forum: General
Topic: SSE & floating point
Replies: 7
Views: 170

SSE & floating point

Does anyone know how to load a xmm register with a single precision variable?
by deltarho[1859]
May 06, 2019 10:55
Forum: Projects
Topic: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (Updated March 25, 2019)
Replies: 512
Views: 55351

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (Updated March 25, 2019)

Hi Paul. I don't want to be a nuisance but I cannot help it. <smile> gcc 8.3 (regression fixes & docs only) hit the streets on 22 Feb 2019 and the 8.2 stable came out 26 July 2018. With 8.1 I have code which compiles but does not work, so I am having to fall back on 5.2 used in FB's 1.06 release...
by deltarho[1859]
May 04, 2019 16:17
Forum: General
Topic: Constructor in dll
Replies: 18
Views: 382

Re: Constructor in dll

let them initialise things themselves. It is not the end of the world. <smile> Anyway, what I have learned from this is that dropping some executable code into a dll will see it get executed, and we don't need to mess about with Constructors. Seasoned FB users, or even seasoned dll writers for that...
by deltarho[1859]
May 04, 2019 7:55
Forum: General
Topic: Constructor in dll
Replies: 18
Views: 382

Re: Constructor in dll

I did some further work on this. Case 1: dll was originally a bas to be included with some main code. The included code called InitializeCryptoBuffers and that worked OK. Case 2: On conversion to a dll I reckoned that calling InitializeCryptoBuffers from within a dll would not work, assuming that a ...
by deltarho[1859]
May 03, 2019 22:46
Forum: General
Topic: Constructor in dll
Replies: 18
Views: 382

Re: Constructor in dll

There is some pretty heavy-duty stuff going on in InitializeCryptoBuffers, using a subset of the available threadpool APIs. I am nothing like as well-read on this subject as I would like to be but I suspect that WaitForThreadpoolWorkCallbacks(Work0,FALSE) WaitForThreadpoolWorkCallbacks(Work0plus,FAL...
by deltarho[1859]
May 03, 2019 21:46
Forum: General
Topic: Constructor in dll
Replies: 18
Views: 382

Re: Constructor in dll

@dodicat

"it fails because InitializeCryptoBuffers has yet to be created."

You mentioned that earlier but what do you mean by "has yet to be created"?
by deltarho[1859]
May 03, 2019 20:48
Forum: General
Topic: Constructor in dll
Replies: 18
Views: 382

Re: Constructor in dll

Thanks José.

I have now given up. Executing InitializeCryptoBuffers at the beginning of PB code is no big deal but I can see some folk forgetting to do that and then asking me why their PB app just closes. I have forgotten myself and I wrote it. <laugh>
by deltarho[1859]
May 03, 2019 20:17
Forum: General
Topic: Constructor in dll
Replies: 18
Views: 382

Re: Constructor in dll

If another sub is called from the constructor sub, then that other sub won't yet have actually been created, it needs to wait for the constructor sub to have run it's course. I am using this in my PCG32II: Constructor pcg32 This.MyRandomize This.GetSnapshot End Constructor without issue.
by deltarho[1859]
May 03, 2019 20:06
Forum: General
Topic: Constructor in dll
Replies: 18
Views: 382

Re: Constructor in dll

Thanks srvaldez The post following your link questions the need for Dllmain and gives examples pretty much like fxm. Wow, that was an old thread. <smile> I have just realized that a couple of statements at the beginning of the dll code are being executed but are not within a Constructor Sub so it se...
by deltarho[1859]
May 03, 2019 19:40
Forum: General
Topic: Constructor in dll
Replies: 18
Views: 382

Re: Constructor in dll

Thanks fxm. I have tried: Sub on_entry() Constructor Print "I'm open for business" InitializeCryptoBuffers End Sub InitializeCryptoBuffers used to be an exported Sub and is now a Private Sub. On executing the PowerBASIC code I am getting "I'm open for business" but the console ju...

Go to advanced search