Search found 185 matches
- Feb 19, 2022 18:31
- Forum: General
- Topic: How to use C/C++'s main function on FreeBASIC?
- Replies: 21
- Views: 1708
Re: How to use C/C++'s main function on FreeBASIC?
As miilvyxg I declared I will not use this language. But I don't want to end my adventure with this language this way. So I created operator+. Finally I realize I have to admit defeated and give up. FreeBasic is definitely not for everyone and every purpose. There are so many languages out there, I...
- Feb 19, 2022 18:30
- Forum: Windows
- Topic: How to use WinMain with FreeBASIC?
- Replies: 9
- Views: 1413
Re: How to use WinMain with FreeBASIC?
No. The only thing I see is stupid languages trying to wrap around C/C++ concept of the main function as the program's entry point via hackish and absurb syntax. Return like C/C++ is enough. Why have to invent neither Exit nor End?
- Feb 19, 2022 13:50
- Forum: General
- Topic: Using a static library: linker problems
- Replies: 48
- Views: 3910
Re: Using a static library: linker problems
A DLL could be loaded by Java's JNA and C#'s P/Invoke. A static library can't. This is the different. I want my stuffs to be able to be used from Java and C#. So I prefer DLL. This is about interpreted language. Yes, I know Java and C# are not interpreted language the same sense as Python. But just ...
- Feb 19, 2022 13:47
- Forum: General
- Topic: How to use C/C++'s main function on FreeBASIC?
- Replies: 21
- Views: 1708
Re: How to use C/C++'s main function on FreeBASIC?
- Feb 19, 2022 13:46
- Forum: General
- Topic: How to use C/C++'s main function on FreeBASIC?
- Replies: 21
- Views: 1708
- Feb 19, 2022 13:45
- Forum: General
- Topic: How to use C/C++'s main function on FreeBASIC?
- Replies: 21
- Views: 1708
- Feb 19, 2022 13:42
- Forum: Windows
- Topic: How to use WinMain with FreeBASIC?
- Replies: 9
- Views: 1413
Re: How to use WinMain with FreeBASIC?
Well, the End used here is a function:
https://www.freebasic.net/wiki/KeyPgEnd
The End used to end a block of code is another End:
https://www.freebasic.net/wiki/KeyPgEndblock
The former End is just like Free Pascal's Exit:
https://www.freepascal.org/docs-html/rt ... /exit.html
https://www.freebasic.net/wiki/KeyPgEnd
The End used to end a block of code is another End:
https://www.freebasic.net/wiki/KeyPgEndblock
The former End is just like Free Pascal's Exit:
https://www.freepascal.org/docs-html/rt ... /exit.html
- Feb 19, 2022 9:51
- Forum: General
- Topic: How to use C/C++'s main function on FreeBASIC?
- Replies: 21
- Views: 1708
Re: How to use C/C++'s main function on FreeBASIC?
@operator+, why don't you start using the forum's search engine and the documentation for a change? Want to be spoonfed? On Java world if you searched for a problem on Google most of the time you will just have to copy code from someone's site or stackoverflow, paste into your IDE and et Voila! p/s...
- Feb 19, 2022 9:41
- Forum: Windows
- Topic: How to use WinMain with FreeBASIC?
- Replies: 9
- Views: 1413
Re: How to use WinMain with FreeBASIC?
Try searching the forum for "hinstance" and you get over a thousand results! What kind of syntax is this? declare function WinMain ( byval hInstance as HINSTANCE, _ byval hPrevInstance as HINSTANCE, _ byval szCmdLine as zstring ptr, _ byval iCmdShow as integer ) as integer end WinMain( Ge...
- Jan 14, 2022 17:23
- Forum: Community Discussion
- Topic: Is it OK to have both msvcrt.dll and ucrtbase.dll in the same binary?
- Replies: 7
- Views: 1647
Re: Is it OK to have both msvcrt.dll and ucrtbase.dll in the same binary?
msys2 wanted to go ucrt only but not yet archived this. I checked the evince binary from the ucrt64 package of it and found it's still link to both of ucrt and msvcrt.
https://github.com/msys2/MINGW-packages/issues/6901
https://github.com/msys2/MINGW-packages/issues/6901
- Jan 14, 2022 17:20
- Forum: Community Discussion
- Topic: What are you using FB for and what features do you use most?
- Replies: 62
- Views: 8047
Re: What are you using FB for and what features do you use most?
Any usage I find for FB is fail for me. The language is simply not suitable for me which being a Java guy from the beginning.
- Jan 14, 2022 17:18
- Forum: Community Discussion
- Topic: FreeBASIC 1.09.0 Release
- Replies: 256
- Views: 52652
Re: FreeBASIC 1.09.0 Release
Congratulation to coderJeff and the community. Even though I'm no longer use FreeBASIC.
- Jan 14, 2022 17:17
- Forum: Windows
- Topic: Lutz Ifers WinAPI Tutorial
- Replies: 10
- Views: 2778
Re: Lutz Ifers WinAPI Tutorial
MBAM is too strict. If your browser doesn't said it's dangerous then most of the time it's just OK.RNBW wrote:Also, MalwareBytes also blocked it because of a Trojan.
- Jan 14, 2022 17:16
- Forum: General
- Topic: HTTPS Requests in FreeBasic
- Replies: 9
- Views: 2679
Re: HTTPS Requests in FreeBasic
There's also a library-version of curl, libcurl, which provides an API that you can use directly in your application instead of running external applications. Dealing with SSL yourself can get quite complicated, so I strongly advice to use some library that handles this for you (like the one I ment...
- Jan 14, 2022 17:13
- Forum: Linux
- Topic: StrechDog,XenialDog,DebianDog,TrinityDog...
- Replies: 20
- Views: 4219
Re: StrechDog,XenialDog,DebianDog,TrinityDog...
yeah i forget but i download fb and install it using sudo install.sh that part work, then when i click on .bas example ...then jump "freakin" Geany... omg ...i hate that editor even is not bad and try to compile this example and then i get nothing ...that really freaks me out and sucks i ...