Search found 2060 matches

by deltarho[1859]
Jan 23, 2020 1:40
Forum: Community Discussion
Topic: Random Number Generator
Replies: 2
Views: 172

Re: Random Number Generator

CryptGenRandom was introduced in Windows NT 4.0 and is well outdated. Nowadays it is better to use BCryptGenRandom which was introduced in Windows Vista 12 years ago and was last updated with Windows 8 complying with the latest NIST specifications. FB's generator #5 uses CryptGenRandom in Windows.
by deltarho[1859]
Jan 17, 2020 2:54
Forum: Windows
Topic: Wiindows 10
Replies: 38
Views: 8921

Re: Wiindows 10

Microsoft Windows 10 hit by ‘severe’ vulnerability that could affect up to one billion users From what I have read it looks like a patch is in KB4528760 ( OS build 18362.592 for Windows 10, version 1903, Windows Server version 1903 and OS build 18363.592 for Windows 10, version 1909 ) @dodicat: KB4...
by deltarho[1859]
Jan 16, 2020 19:00
Forum: Windows
Topic: Wiindows 10
Replies: 38
Views: 8921

Re: Wiindows 10

by deltarho[1859]
Dec 26, 2019 10:40
Forum: Community Discussion
Topic: Dry Christmas.
Replies: 14
Views: 542

Re: Dry Christmas.

dodicat wrote:No liquor for me this Christmas

No doubt that will not be the case during Hogmanay. Image

Happy New Year to all.
by deltarho[1859]
Dec 24, 2019 1:44
Forum: Community Discussion
Topic: [offtopic]my girls
Replies: 5
Views: 340

Re: [offtopic]my girls

Thanks Joshy. I reckon that some of the best shredders in the world are women.

Check this lady out:
Lights of Manos
How Do You Sleep

Image
by deltarho[1859]
Dec 21, 2019 20:26
Forum: General
Topic: C++ to FB
Replies: 12
Views: 318

Re: C++ to FB

There was one issue I had to resolve in that foo[5], for example, in C++ has indices 0 to 4 whereas foo(5) in FB has indices 0 to 5. I have a feeling that I haven't fully corrected all instances and that is my issue. The website I got the C++ from had code for C++, Java, Python3 and C#. I have not d...
by deltarho[1859]
Dec 21, 2019 19:14
Forum: General
Topic: C++ to FB
Replies: 12
Views: 318

Re: C++ to FB

Thanks, guys. My try is producing the same results as the caseih/D.J.Peters approach. ' Joshy's code 'for (int left = 0; left < n; left += 2*size) ' int is long (32/64 bit) dim as long lSize = 10 dim as long lN = 100 dim as long lLeft=0 while lLeft<lN print lLeft lLeft+=2*lSize wend print For lLeft ...
by deltarho[1859]
Dec 20, 2019 23:06
Forum: General
Topic: C++ to FB
Replies: 12
Views: 318

Re: C++ to FB

Thanks caseih. With the first Code 'step' is incrementing by '2*size' but we are incrementing by 'left + 2*size'. In the second Code nothing is being done with 'n'. One of my tries was For left = 0 to n - 1 Step (left + 2*size) If that is correct then my issue is elsewhere but maybe it is not correc...
by deltarho[1859]
Dec 20, 2019 21:39
Forum: General
Topic: C++ to FB
Replies: 12
Views: 318

C++ to FB

I am trying to port

Code: Select all

for (int left = 0; left < n; left += 2*size)

to FreeBASIC but the STEP has got me well beaten. I have tried every which way except the one that works. No doubt some of you will take one look at it and write the FB version and I will kick myself, or maybe not.
by deltarho[1859]
Dec 12, 2019 18:02
Forum: Community Discussion
Topic: Suddenly FB executables are detected as Trojans or the philosophy about using Window / Linux ;-)
Replies: 40
Views: 1359

Re: Suddenly FB executables are detected as Trojans

After one of the Windows 10 bi-annual updates my Start menu became dysfunctional, it closed almost immediately after opening. I couldn't find a solution so installed Stardok's Start10 as a temporary measure to get a working system back. It took a further couple of Windows 10 bi-annual updates before...
by deltarho[1859]
Dec 10, 2019 22:45
Forum: Community Discussion
Topic: Suddenly FB executables are detected as Trojans or the philosophy about using Window / Linux ;-)
Replies: 40
Views: 1359

Re: Suddenly FB executables are detected as Trojans

@UEZ

I got four detections out of 70.

McAfee, Rising, McAfee-GW-Edition and VBA32.

I got the same four with -gen gas.

However, with -gen gcc I also got four but, interestingly, no McAfee this time.
by deltarho[1859]
Dec 10, 2019 16:14
Forum: Community Discussion
Topic: Suddenly FB executables are detected as Trojans or the philosophy about using Window / Linux ;-)
Replies: 40
Views: 1359

Re: Suddenly FB executables are detected as Trojans

@UEZ
If I compile

Code: Select all
? "Hello world"
Sleep

then it will be detected as a Trojan just after the compilation has finished.

Just out of interest with FBC 1.07.1 (2019-09-27), built for win32 (32bit) I get a binary of 28672 bytes using -gen gcc -Wc -O3.

What do you get?
by deltarho[1859]
Dec 09, 2019 17:17
Forum: Community Discussion
Topic: Suddenly FB executables are detected as Trojans or the philosophy about using Window / Linux ;-)
Replies: 40
Views: 1359

Re: Suddenly FB executables are detected as Trojans

@UEZ
With regard

Code: Select all

? "Hello world"
Sleep

add a simple manifest and see if that gets detected as a Trojan.
by deltarho[1859]
Nov 30, 2019 20:35
Forum: Tips and Tricks
Topic: Brownian motion.
Replies: 36
Views: 1572

Re: Brownian motion.

dodicat wrote:What people need is fair and responsible policing. (IMHO)

That is what we got.
codeJeff wrote:Anyway, I could see something like the golden rule added in a noticeable way to help remind posters what we are all about.

This thread should now be locked.
by deltarho[1859]
Nov 29, 2019 8:38
Forum: Tips and Tricks
Topic: CPU burn test
Replies: 8
Views: 599

Re: CPU burn test

That is a bit warm considering it is December in a few days but then that is a heck of a workload. I hit 60°C with turbo disabled but I have a liquid cooler on board.

Go to advanced search