Search found 1039 matches

by jj2007
Feb 15, 2019 9:13
Forum: General
Topic: Checking if a computer is ON on the network
Replies: 11
Views: 263

Re: Checking if a computer is ON on the network

Not sure how to do this in FB, but it works:

Code: Select all

  Print Launch$("cmd.exe /C ping -n 1 MyOtherNotebook")
If the "other" notebook is present, it takes milliseconds, otherwise about 3 seconds. There is a thread here, but it doesn't seem to apply to Windows.
by jj2007
Feb 14, 2019 2:33
Forum: Tips and Tricks
Topic: GDIPlus ASCII GIF Anim Player [Windows only]
Replies: 8
Views: 280

Re: GDIPlus ASCII GIF Anim Player [Windows only]

Works like a charm, compliments!
I also gave it a try (Animated GIF). but it seems I have to check what my FileRead$() does, it takes over 10 seconds to download the image. You are using the INTERNET_FLAG_PRAGMA_NOCACHE flag, and yet it is there almost immediately. Mysteries...
by jj2007
Feb 13, 2019 5:32
Forum: Community Discussion
Topic: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize
Replies: 360
Views: 15075

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize

Thanks, Zamaster. The previous version crashed here at the db C4: 0042AC07 . 893424 mov [esp], esi 0042AC0A . E8 D1DAFFFF call 004286E0 0042AC0F . 8B5E 20 mov ebx, [esi+20] 0042AC12 C4 db C4 ; <<<<<<<<<<<<< normally start of a 3-byte VEX sequence 0042AC13 E2 db E2 ; char 'â' 0042AC14 Ú. 61 popad 004...
by jj2007
Feb 12, 2019 22:59
Forum: Community Discussion
Topic: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize
Replies: 360
Views: 15075

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize

It crashes here at the db C4: 0042AC07 . 893424 mov [esp], esi 0042AC0A . E8 D1DAFFFF call 004286E0 0042AC0F . 8B5E 20 mov ebx, [esi+20] 0042AC12 C4 db C4 ; <<<<<<<<<<<<< normally start of a 3-byte VEX sequence 0042AC13 E2 db E2 ; char 'â' 0042AC14 Ú. 61 popad 0042AC15 ³. F7D8 neg eax 0042AC17 ³. 03...
by jj2007
Feb 12, 2019 22:01
Forum: Windows
Topic: Size Of Control?
Replies: 5
Views: 128

Re: Size Of Control?

You are welcome, Albert.
by jj2007
Feb 12, 2019 21:10
Forum: Community Discussion
Topic: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize
Replies: 360
Views: 15075

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize

Lachie Dazdarian wrote:I have problem running Zamaster's The Secret Garden, and I'm still not sure how to go about it.


Illegal instruction C4. It seems he uses the latest set of instructions, I see lots of AVX stuff, and not every CPU can handle that.
by jj2007
Feb 12, 2019 18:30
Forum: Windows
Topic: Size Of Control?
Replies: 5
Views: 128

Re: Size Of Control?

Under Windows, it's either GetWindowRect or GetClientRect, depending on your needs.
by jj2007
Feb 11, 2019 23:02
Forum: Tips and Tricks
Topic: Image Painting Demos [Windows only]
Replies: 22
Views: 651

Re: Image Painting Demos [Windows only]

UEZ wrote:
jj2007 wrote:Cute! Downloads work fine, #3 remains black, though.

Did you pressed the lmb and moved your mouse cursor around?

I moved the mouse around, and when I pressed the l, m or b keys, the window closed immediately.
Now I tried again, and I clicked also the mouse: nice lady ;-)
by jj2007
Feb 11, 2019 21:44
Forum: Tips and Tricks
Topic: Image Painting Demos [Windows only]
Replies: 22
Views: 651

Re: Image Painting Demos [Windows only]

Cute! Downloads work fine, #3 remains black, though.
by jj2007
Feb 11, 2019 5:17
Forum: General
Topic: How to "customize" the random generator?
Replies: 18
Views: 484

Re: How to "customize" the random generator?

See Plotting random data using a probability table for a visualisation of a deliberately skewed distribution.
by jj2007
Feb 09, 2019 16:13
Forum: General
Topic: How to "customize" the random generator?
Replies: 18
Views: 484

Re: How to "customize" the random generator?

It is supposed to set the probability to get a number from 0 to 63 for each of these numbers. Thanks. Yes, that sounds useful. I've implemented that some time ago (below an excerpt from the help file), using a "probability table", i.e. an array whose values determine how likely a random v...
by jj2007
Feb 09, 2019 15:55
Forum: General
Topic: How to "customize" the random generator?
Replies: 18
Views: 484

Re: How to "customize" the random generator?

Perhaps you could explain in three, four words what your program is doing?
by jj2007
Feb 08, 2019 14:20
Forum: Windows
Topic: [some OT] questions on DLL(Dynamic library)
Replies: 7
Views: 290

Re: [some OT] questions on DLL(Dynamic library)

@jj2007 I guess you are the author of MasmBasic. The latest one I download is reported that there is a virus in setup.exe by Avira Thanks for the feedback. It's a false positive, of course, and guess what, we even have a dedicated sub-forum AV Software sh*t list for Avira & friends ;-) The prob...
by jj2007
Feb 08, 2019 14:05
Forum: Beginners
Topic: Matrix to string
Replies: 15
Views: 215

Re: Matrix to string

marpon wrote:made a test to check speed
...
result from my pc arround 0.26 ... secondes win 10 compiled 32bits
result from my pc arround 0.23 ... secondes win 10 compiled 64bits
Good job - 0.34/0.27 on my machine. Only Assembly can beat that.

Go to advanced search