Search found 2750 matches

by Tourist Trap
May 04, 2019 17:35
Forum: Documentation
Topic: SWAP keyword
Replies: 35
Views: 626

Re: SWAP keyword

Proposed note improvement: Note: For var-len strings, Swap is more efficient than a rustic exchange by circular assignments (using a third temporary string), because only the strings descriptors are exchanged rather than all strings data characters. Hi fxm. Not sure than rustic is neutral enough. A...
by Tourist Trap
May 04, 2019 14:43
Forum: Windows
Topic: Is there an winapi function for that
Replies: 2
Views: 134

Re: Is there an winapi function for that

dodicat wrote:This dims the desktop and puts a shield over it (can't click through it).
A keyboard press clears it.
Better compile to .exe with -s gui

Thanks dodi! It brings me a starting point to dig up deeper.
by Tourist Trap
May 04, 2019 14:23
Forum: Documentation
Topic: SWAP keyword
Replies: 35
Views: 626

Re: SWAP keyword

I would be interested to hear what differences others see, or if someone could even suggest why integer SWAP is so touchy. Hi speedfixer, here my results on Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz, 1992 MHz, 4 cœur(s), 8 processeur(s) logique(s) swap time proxy time int: 0.003723900013142156 ........
by Tourist Trap
May 04, 2019 13:53
Forum: Windows
Topic: Is there an winapi function for that
Replies: 2
Views: 134

Is there an winapi function for that

Hi,

I want to be able to filter the colours of the display on one monitor. By filter I mean, change the contrast, some value on one the RGB channels, etc... Does someone know if the windows API has some funtion for that?

Thanks!
by Tourist Trap
May 03, 2019 18:31
Forum: General
Topic: Passing datatype ? (Solved)
Replies: 16
Views: 345

Re: Passing datatype ?

Even the best do typos ;)
by Tourist Trap
May 03, 2019 18:29
Forum: Community Discussion
Topic: Challenge : Sfx encrypted file, to verify it's security level
Replies: 9
Views: 344

Re: Challenge : Sfx encrypted file, to verify it's security level

Just in case, and because it can help the author to watch at its own executable from an interesting perspective, I put this link to a decompiler suggested by srvaldez a few week ago. And tbis one is free. https://www.freebasic.net/forum/viewtopic.php?f=3&t=27495 (seems developed by the nsa? didn...
by Tourist Trap
May 03, 2019 18:09
Forum: General
Topic: Passing datatype ? (Solved)
Replies: 16
Views: 345

Re: Passing datatype ?

fxm wrote:
Sub UDTtest (Byref p As UDT Ptr)

Not sure you meant Byref here. As far as I know, if we pass the address (ptr), then it will be more suitable to do it Byval. And if we pass the object, then Byref. Correct me if wrong of course.
by Tourist Trap
May 02, 2019 18:10
Forum: Community Discussion
Topic: Challenge : Sfx encrypted file, to verify it's security level
Replies: 9
Views: 344

Re: Challenge : Sfx encrypted file, to verify it's security level

Do not expect it will work for the challenge file, my objective is not to spray the info but to restrict it. Of course. After all we have full access to the exe, so it's more a job for a decompiler. I had one very good in the past with which I was looking at how to win the videogames :) But right n...
by Tourist Trap
May 02, 2019 17:40
Forum: Community Discussion
Topic: Challenge : Sfx encrypted file, to verify it's security level
Replies: 9
Views: 344

Re: Challenge : Sfx encrypted file, to verify it's security level

yes sfx is the designation you can see on rar or other archivers SFX for self extraction file, it has to be an executable, with embedded data. What I would try then is something like Uni-install (I may have forgotten the name /edit see below). You know the stuff that tries to decrypt self-installer...
by Tourist Trap
May 02, 2019 17:38
Forum: Projects
Topic: gentext chung text generation based on SORT algorythm
Replies: 12
Views: 595

Re: gentext chung text generation based on SORT algorythm

chung wrote:(02/05/2019) many bugs corrections + new look

Looking at your video virtual_carpenter, I can't figure out what all of this does. It looks like a hex file, then it picks randomly some data from it?
by Tourist Trap
May 02, 2019 17:34
Forum: Community Discussion
Topic: Challenge : Sfx encrypted file, to verify it's security level
Replies: 9
Views: 344

Re: Challenge : Sfx encrypted file, to verify it's security level

Hi Marpon,

could you tell the peasant what is a "sfx". Does it have to be an EXE?

Thank you
by Tourist Trap
May 02, 2019 3:27
Forum: Community Discussion
Topic: "A Love Letter To FreeBASIC" Game Dev Competition (Feb 2019 –Mar 2019) - Round 2
Replies: 99
Views: 4863

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Feb 2019 –Mar 2019) - Round 2

@Tourist Trap, I downloaded your game and was able to compile it however it terminates with the message: dodicat's fonts inside... running Landeel's DPI awareness system... DPI : Error loading shcore.dll This is probably because Windows 7 doesn't have a shcore.dll to use for DPI awareness. Oh thank...
by Tourist Trap
May 02, 2019 3:17
Forum: General
Topic: Remove items from array without changing the order
Replies: 7
Views: 299

Re: Remove items from array without changing the order

Sometimes the old looping ways just as good. Then so, I think we can elaborate on my 1st proposal. We would just need the chunk of data of the good size made available as soon as we declare the array. As far as we can be happy with chunks of fixed sizes, brought to the user in advance, and just in ...
by Tourist Trap
May 01, 2019 19:33
Forum: General
Topic: Remove items from array without changing the order
Replies: 7
Views: 299

Re: Remove items from array without changing the order

dodicat wrote:using memcpy

Thanks dodicat. For this issue, it seems that there will be no other workaround than memcopy really available to deal with this in a straightforward manner. Or we still miss it but right now I doubt.
by Tourist Trap
May 01, 2019 18:23
Forum: General
Topic: Remove items from array without changing the order
Replies: 7
Views: 299

Re: Remove items from array without changing the order

_BUFFERTYPESIZE(_BTS, integer, (8 - 5)) *cptr(_BTS ptr, @arrayOfInteger(5)) = *cptr(_BTS ptr, @arrayOfInteger(6)) redim preserve arrayOfInteger (7) #undef _BTS Hi, and thank you fxm for your quick help. - Memory allocation is useless. - In your above code, there is memory leak because your memory d...

Go to advanced search