Search found 972 matches
- Mar 27, 2024 22:01
- Forum: Sources, Examples, Tips and Tricks
- Topic: Cairo animated spiral
- Replies: 11
- Views: 466
Re: Cairo animated spiral
hello Makoto WATANABE :) you are missing the cairo library, you can find an all-in-one cairo dll here https://github.com/preshing/cairo-windows/releases just place the dll in the same location where your program resides What is the difference between 1.17.2 and 1.17.2-with-tee? Is 1.17.2-with-tea t...
- Mar 27, 2024 21:59
- Forum: Windows
- Topic: Cairo under Windows
- Replies: 4
- Views: 191
Re: Cairo under Windows
Thanks @dodicat.
Should be fixed now with passing different pointer.
I'm still porting the Cairo stuff to Autoit.
With the technique above you can use Cairo and GDI / GDI+ gfx functions together to display it in the GUI.
Should be fixed now with passing different pointer.
I'm still porting the Cairo stuff to Autoit.
With the technique above you can use Cairo and GDI / GDI+ gfx functions together to display it in the GUI.
- Mar 25, 2024 22:02
- Forum: Windows
- Topic: Cairo under Windows
- Replies: 4
- Views: 191
Re: Cairo under Windows
Merci Roland, I will check your Pascal examples. Here, what I find out and which seems to work: 'Coded by UEZ #include "Cairo.bi" #include "windows.bi" Declare Function WndProc(hWnd As HWND,uMsg As UINT,wParam As WPARAM,lParam As LPARAM) As Integer Dim wc As WNDCLASSEX Dim msg As...
- Mar 25, 2024 19:40
- Forum: Windows
- Topic: Cairo under Windows
- Replies: 4
- Views: 191
Cairo under Windows
I'm searching for a way to use Cairo lib under Windows but using winapi GUI window. #include "Cairo.bi" #include "windows.bi" Declare Function WndProc(hWnd As HWND,uMsg As UINT,wParam As WPARAM,lParam As LPARAM) As Integer Dim wc As WNDCLASSEX Dim msg As MSG Dim hHWND As HWND Dim...
- Mar 19, 2024 21:14
- Forum: Sources, Examples, Tips and Tricks
- Topic: Read line x from a text file
- Replies: 2
- Views: 151
Re: Read line x from a text file
@dodicat: thanks for you feedback. I had updated the code to cover also last line without LF. I tested only on x64 bit.
Let me check your version and my x86 version...
Edit: updated the code above - should work now.
Let me check your version and my x86 version...
Edit: updated the code above - should work now.
- Mar 19, 2024 16:05
- Forum: Sources, Examples, Tips and Tricks
- Topic: Read line x from a text file
- Replies: 2
- Views: 151
Read line x from a text file
I don't know if something similar exists but here my version: 'Coded by UEZ build 2024-03-20 beta #include "file.bi" #include "windows.bi" Type tFile As WString * 4096 name End Type Function FileReadLine(sFile As tFile, iLine As ULong) As String '...' Dim As LongInt iFileSize = F...
- Mar 18, 2024 12:05
- Forum: General
- Topic: -gen clang
- Replies: 56
- Views: 2210
Re: -gen clang
I'm getting always warnings when compiling with clang. Is it normal?
And yes, the code seems to be running faster than using the built-in compiler.
And yes, the code seems to be running faster than using the built-in compiler.
- Mar 15, 2024 18:41
- Forum: Windows
- Topic: How to color text created by CreateWindowExa
- Replies: 18
- Views: 649
Re: How to color text created by CreateWindowExa
You can try this: #include once "windows.bi" Dim As MSG msg ' Message variable (stores massages) Dim Shared As HWND hWndx, stc1, stc2 ' Window variable and object variables Dim As HFONT xFont1, xFont2 Function WNDPROC(ByVal hWnd As HWND, ByVal uMsg As UINT, ByVal wParam As WPARAM, ByVal lP...
- Mar 11, 2024 12:44
- Forum: Projects
- Topic: VisualFBEditor - IDE for FreeBasic
- Replies: 886
- Views: 128347
Re: VisualFBEditor - IDE for FreeBasic
Thank you very much for your quick support.
- Mar 10, 2024 21:11
- Forum: Projects
- Topic: VisualFBEditor - IDE for FreeBasic
- Replies: 886
- Views: 128347
Re: VisualFBEditor - IDE for FreeBasic
I see that "Build Configuration" was added - nice. I added already some settings.
But when I have selected it in "Options" and click OK / Cancel / Apply the focus of the IDE gets lost.
An autosave session option would be nice, too.
But when I have selected it in "Options" and click OK / Cancel / Apply the focus of the IDE gets lost.
An autosave session option would be nice, too.
- Mar 09, 2024 11:44
- Forum: Sources, Examples, Tips and Tricks
- Topic: The Travelling Salesman Problem
- Replies: 21
- Views: 1109
Re: The Travelling Salesman Problem
The first time I heard about the traveling salesman problem was in computer science class at university in the early 90s. The problem is NP-complete, as far as I can remember, and not solvable in polynomial time. It is good to hear that the solution to the problem has actually found practical appli...
- Mar 09, 2024 11:34
- Forum: Projects
- Topic: VisualFBEditor - IDE for FreeBasic
- Replies: 886
- Views: 128347
Re: VisualFBEditor - IDE for FreeBasic
Silly me, I didn't use the resource from https://github.com/XusinboyBekchanov/MyFbFramework.Xusinboy Bekchanov wrote: ↑Mar 09, 2024 1:17Hi, maybe you updated VisualFBEditor and didn't update MyFbFramework.
- Mar 08, 2024 20:52
- Forum: Sources, Examples, Tips and Tricks
- Topic: The Travelling Salesman Problem
- Replies: 21
- Views: 1109
Re: The Travelling Salesman Problem
The first time I heard about the traveling salesman problem was in computer science class at university in the early 90s. The problem is NP-complete, as far as I can remember, and not solvable in polynomial time. It is good to hear that the solution to the problem has actually found practical applic...
- Mar 08, 2024 20:11
- Forum: Projects
- Topic: VisualFBEditor - IDE for FreeBasic
- Replies: 886
- Views: 128347
Re: VisualFBEditor - IDE for FreeBasic
Hi Xusinboy Bekchanov, I changed the main.bas file and works now but after downloading the latest repository I get errors when compiling: compiling: VisualFBEditor.bas -o VisualFBEditor.c (main module) d:\Temp\VisualFBEditor\src\frmSplash.frm(80) error 42: Variable not declared, ML in '.Text = ML(&q...
- Mar 06, 2024 11:02
- Forum: Windows
- Topic: Interpretation
- Replies: 9
- Views: 613
Re: Interpretation
You can use Autoit with a similar Basic syntax, which is an interpreter and can execute the code immediately without compiling it first, which is also possible.
However, intepreter languages are significantly slower, as the code is evaluated and executed in real time.
However, intepreter languages are significantly slower, as the code is evaluated and executed in real time.