Search found 2269 matches

by jj2007
Feb 08, 2022 22:01
Forum: Windows
Topic: Splitter control
Replies: 8
Views: 1100

Re: Splitter control

Hi Aurel,
Firefox doesn't allow me to download the zip, it says the connection is not secure...
by jj2007
Feb 08, 2022 9:44
Forum: Windows
Topic: Splitter control
Replies: 8
Views: 1100

Re: Splitter control

You may find here something useful: https://stackoverflow.com/questions/5561236/win32-splitter-control The big example by the Chinese guy fails already in lines 1+2 (#include "Win32test2.h") with error messages, and it's a whopping 416 lines long. I've posted a working example here , but ...
by jj2007
Feb 07, 2022 21:22
Forum: General
Topic: Are line label pointers possible?
Replies: 44
Views: 3277

Re: Are line label pointers possible?

angros47 wrote: Feb 07, 2022 18:09Real Programmers write self-modifying code, especially if they can save 20 nanoseconds in the middle of a tight loop.
You obviously haven't tried that yet :lol:
by jj2007
Feb 07, 2022 13:02
Forum: Windows
Topic: Splitter control
Replies: 8
Views: 1100

Re: Splitter control

I assume you follow the parallel thread in Masm32?
by jj2007
Feb 06, 2022 21:35
Forum: General
Topic: Are line label pointers possible?
Replies: 44
Views: 3277

Re: Are line label pointers possible?

Actually labels and GOTO are used quite often (at least in C) to perform cleanup at the end of a function, and to do this is in a manner that is consistent and clean. If you have a function that has multiple exit points, GOTO cleanup is an indispensable tool if you've manually allocated objects tha...
by jj2007
Feb 06, 2022 17:17
Forum: Community Discussion
Topic: Revamping the forum?
Replies: 129
Views: 20939

Re: Revamping the forum?

coderJeff wrote: Feb 06, 2022 16:21 My notification email had a subject of:
"=?US-ASCII?Q?Reply in "Revamping the forum?"?="
Same for me.

Suggestion: "Unread posts" is hidden in the 3-lines menu. Could it become a separate button, like "New posts"?
by jj2007
Feb 05, 2022 1:05
Forum: General
Topic: Are line label pointers possible?
Replies: 44
Views: 3277

Re: Are line label pointers possible?

Code: Select all

print "Hello World"

if 0 then
	label1:
	print "this is label 1"
	asm ret
endif

asm call label1
print "that was cute"

Sleep
by jj2007
Feb 04, 2022 20:05
Forum: Linux
Topic: [SOLVED] Standard character Set for all OS
Replies: 13
Views: 4119

Re: Standard character Set for all OS

TJF wrote: Feb 04, 2022 15:22You can use each and every character form UTF-8 in your console app. But when your user sets up a different encoding to his terminal settings
With Windows, just use chcp 65001
by jj2007
Jan 31, 2022 11:39
Forum: Linux
Topic: [SOLVED] Standard character Set for all OS
Replies: 13
Views: 4119

Re: Standard character Set for all OS

Munair wrote: Jan 31, 2022 8:35Geany IDE on Unix systems natively supports UTF8, but I'm not sure on Windows
It works with RichMasm, but I have no idea about other editors.
by jj2007
Jan 31, 2022 8:29
Forum: Linux
Topic: [SOLVED] Standard character Set for all OS
Replies: 13
Views: 4119

Re: Standard character Set for all OS

On Linux you have to use unicode characters. Have a look at this table . Nice table, very useful! Re "unicode characters": In practice, this means you need either a UTF-16 or a UTF-8 encoding. The Internet uses UTF-8. Be prepared for a mess, and for some reading. I won't write it up for y...
by jj2007
Jan 30, 2022 0:52
Forum: General
Topic: Feature Request: Stack Trace Capability
Replies: 21
Views: 2495

Re: Feature Request: Stack Trace Capability

The other day I posted this here : Can somebody explain in a few words what a stack walker does, and what we can expect from it, in terms of simplifying the debugging of an application? It turned out that it was actually not a big deal to write a StackWalker macro in Assembly (sorry, I know this is ...
by jj2007
Jan 28, 2022 20:20
Forum: General
Topic: Windows 10 defender don't like this short program
Replies: 61
Views: 5084

Re: Windows 10 defender don't like this short program

false positives are not due to code generated, more due to system calls you do and DLLs you link against. Check this on VirusTotal . The source: #include once "windows.bi" function remotefile(url as string, filePath as string) as HRESULT '0 = success dim hLib as integer, ret as HRESULT di...
by jj2007
Jan 27, 2022 16:49
Forum: Projects
Topic: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V3.1.0 June 4, 2023)
Replies: 981
Views: 349722

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V2.2.0 March 26, 2021)

PaulSquires wrote: Jan 27, 2022 13:50Thanks for sharing your experience with the current version. As you've seen, there are a number of opportunities to make the editor experience better.
Congrats, Paul, for your attitude. I wish all software developers were so positive about feedback...!
by jj2007
Jan 27, 2022 8:48
Forum: Projects
Topic: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V3.1.0 June 4, 2023)
Replies: 981
Views: 349722

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V2.2.0 March 26, 2021)

I reinstalled WinFBE and tried to compile C:\FreeBasic\examples\win32\GDIPlus\circle.bas First, a message that the compiler paths were not set. So I found Options/Environment Options/Compiler Setup and inserted C:\WinFBE_Suite\WinFBE32.exe I press F5, and it hangs. After a while, being a little bit ...
by jj2007
Jan 26, 2022 17:13
Forum: Projects
Topic: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V3.1.0 June 4, 2023)
Replies: 981
Views: 349722

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V2.2.0 March 26, 2021)

5. I use bookmarks a lot. Me too. My first word processor, programmed around 1990 in GfaBasic plus Assembly, had bookmarks. Years after that, I wrote a VBA bookmark macro for M$ Word. Below is what I currently use (for inspiration, Paul - I'm not selling my editor): - select some text, e.g. #define...