Search found 631 matches

by PaulSquires
Jul 10, 2018 1:36
Forum: Projects
Topic: FreeBasic IDE-poseidonFB(Update 2018.06.21)
Replies: 916
Views: 65324

Re: FreeBasic IDE-poseidonFB(Update 2018.06.21)

@Paul With the Quick Run option you're saving the contents to a temporary ansi file: ' Copy the contents of the active document to the temporary source file. f = freefile open gCompile.MainFilename for output as #f put #f, , pDocMain->GetText close #f This won't work with unicode. Thanks Jose, I wi...
by PaulSquires
Jul 09, 2018 22:57
Forum: Projects
Topic: FreeBasic IDE-poseidonFB(Update 2018.06.21)
Replies: 916
Views: 65324

Re: FreeBasic IDE-poseidonFB(Update 2018.06.21)

Thanks Kuan and Mr Swiss. The Poseidon ide is the only one (of the many) I see handling unicode text properly in a .bas file, and running my little snippet. The other ones I have tried fail in one way or another. (I cannot test fbedit, it doesn't run here in Win 10) I have downloaded a D compiler (...
by PaulSquires
Jul 08, 2018 10:28
Forum: Beginners
Topic: Another program icon via command line
Replies: 66
Views: 1071

Re: Another program icon via command line

A Windows GUI application loads the icon with LoadIcon( GetModuleHandle(0) , IDI_APPLICATION) The Hello World proggie in examples\GUI\win32\hello.bas does it with .hIcon = LoadIcon( NULL , IDI_APPLICATION ) - and consequently, the exe shows no icon (to be corrected...). ... Using IDI_APPLICATION is...
by PaulSquires
Jul 04, 2018 16:09
Forum: Beginners
Topic: Open a file with a unicode-encoded name
Replies: 51
Views: 916

Re: Open a file with a unicode-encoded name

Let's talk about it over on the planetsquires forum :)
by PaulSquires
Jul 04, 2018 15:16
Forum: Beginners
Topic: Open a file with a unicode-encoded name
Replies: 51
Views: 916

Re: Open a file with a unicode-encoded name

All that is needed is to put the files in a subfolder called Afx. However, for the compiler to found them, you need to indicate the path whe re it has to search it. In my computer, I have a folder called Programs, a subfolder called WinFBX and a subfolder of WinFBX called Afx, and in the WinFBE edi...
by PaulSquires
Jul 03, 2018 13:45
Forum: Beginners
Topic: Open a file with a unicode-encoded name
Replies: 51
Views: 916

Re: Open a file with a unicode-encoded name

As Jose Roca has pointed out - the easiest way to deal with UTF-16 on Windows is through the use of his WinFBX library. It is an incredible collection of routines that not only handle Unicode seamlessly but also thousands of other things. If you are programming on Windows then this library (which co...
by PaulSquires
Jul 03, 2018 13:36
Forum: Projects
Topic: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (Updated June 3, 2018)
Replies: 342
Views: 27045

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (Updated June 3, 2018)

thanks, didn't know that. Can you provide extended code scale management such as in any web browser or Libre Office - show current scale - restore scale to default - predefined scale values - slider on statusbar to scale code etc. I am not sure if I understand your request but are you referring to ...
by PaulSquires
Jun 27, 2018 1:17
Forum: General
Topic: Useful defines
Replies: 18
Views: 604

Re: Useful defines

I'll contribute a couple of thousand indispensable functions for every Windows FB programmer. If you are not using this library then you are certainly missing out on a lot.

From the master himself, José Roca: https://github.com/JoseRoca/WinFBX
by PaulSquires
Jun 22, 2018 8:41
Forum: Beginners
Topic: New here: Should I start with freebasic?
Replies: 22
Views: 571

Re: New here: Should I start with freebasic?

I allow myself three additional questions: - Can the black console window be prevented? - Is freebasic (or PaulSquires code) .NET independent or not? - This is a bit rude now, I know, but then I really would have the complete basis: What would the processing of the first parameter in the notation '...
by PaulSquires
Jun 22, 2018 0:41
Forum: Beginners
Topic: New here: Should I start with freebasic?
Replies: 22
Views: 571

Re: New here: Should I start with freebasic?

AFAIK "Run" does not support unicode. Better use ShellExecuteW. "Command" also does not support unicode. This one uses all Win32 api and weighs in at 24K. It is unicode aware. ' Launcher ' ' "Launcher.exe" "/run:My Exe.exe" "Par 1" "Par 2"...
by PaulSquires
Jun 21, 2018 23:03
Forum: Beginners
Topic: New here: Should I start with freebasic?
Replies: 22
Views: 571

Re: New here: Should I start with freebasic?

I am not sure if I am understanding your needs 100% but I quickly threw this code together. No error checking or fancy analysis of each incoming command line parameter but it should work. No optimization at all. FreeBasic 1.06 (32-bit).... 28K FreeBasic 1.06 (64-bit).... 29K ' Launcher ' ' "Lau...
by PaulSquires
Jun 21, 2018 0:50
Forum: Community Discussion
Topic: Next generation name is FB++ ?
Replies: 58
Views: 1673

Re: Next generation name is FB++ ?

Imortis wrote:
Since FB does not have the ++ operation, the closest FB equivalent is FB+=1 which just looks sloppy.

:-)


Lol, now that one made me smile! Good one, Imortis :-)
by PaulSquires
Jun 10, 2018 23:44
Forum: Projects
Topic: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (Updated June 3, 2018)
Replies: 342
Views: 27045

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (Updated June 3, 2018)

it is very annoying that every time I run WinFBE it sets to win32 console mode. And it is very impractical that both of win32 and win64 ver are using same settings You can set which Build Configuration that you always want to be the default when you startup the program or load a new or existing fil...
by PaulSquires
Jun 09, 2018 0:44
Forum: General
Topic: new complete FB version ?
Replies: 34
Views: 1150

Re: new complete FB version ?

Hopefully Kuan Hsu will also make a package for his Poseidon editor similar to my WinFBE Suite so then we'd also have an all-in-one solution for Linux users as well. WinFBE is Windows only whereas Poseidon works on Windows and Linux. The easier it is to get new users up to speed and writing code wit...
by PaulSquires
Jun 05, 2018 1:26
Forum: Community Discussion
Topic: Where can I get a Recent-Git-Build of FreeBASIC?
Replies: 400
Views: 50079

Re: Where can I get a Recent-Git-Build of FreeBASIC?

Earlier I got a Compiler Results message box indicating that all was well with a positive file size. The logs said otherwise. ------------------------------------------------------------------------ FreeBASIC Compiler - Version 1.06.0 (06-03-2018), built for win32 (32bit) Copyright (C) 2004-2016 Th...

Go to advanced search