Hi!
I've now tried "libvlc" to play videos.
The example from collectordave works very well, but you have to adapt the "vlc_createplayer" procedure for Linux or MacOS.
 
CompilerSelect #PB_Compiler_OS
 CompilerCase #PB_OS_Windows
 libvlc_media_player_set_hwnd( \libvlc_media_player, hwnd ...
					Search found 19 matches
- Fri Nov 03, 2023 10:01 pm
 - Forum: Tricks 'n' Tips
 - Topic: libVLC in pb (Windows Only)
 - Replies: 29
 - Views: 17536
 
- Sun Mar 05, 2023 7:53 pm
 - Forum: Applications - Feedback and Discussion
 - Topic: [Module] raylib-purebasic (Windows/Linux/macOS)
 - Replies: 42
 - Views: 19704
 
Re: [Module] raylib-purebasic (Windows/Linux/macOS)
Hi!
A small update to "RayLib 4.2" follows.
There are still some errors in the PureBasic source code. (From me and from Mr. Krahn)
By implementing the RayLib examples (from the website) or by trying them out, you always get to know new errors.
[url=https://github.com/ccode-new/raylib-purebasic ...
					A small update to "RayLib 4.2" follows.
There are still some errors in the PureBasic source code. (From me and from Mr. Krahn)
By implementing the RayLib examples (from the website) or by trying them out, you always get to know new errors.
[url=https://github.com/ccode-new/raylib-purebasic ...
- Wed Mar 01, 2023 9:57 pm
 - Forum: Feature Requests and Wishlists
 - Topic: OffsetOf, SizeOf, TypeOf inconsistency and feature request
 - Replies: 3
 - Views: 758
 
Re: OffsetOf, SizeOf, TypeOf inconsistency and feature request
Are you sure?Splunk wrote: Wed Mar 01, 2023 8:03 pm With the parameter "OffsetOf()" PB itself can determine which type it is.
- Sat Feb 25, 2023 9:40 pm
 - Forum: The PureBasic Editor
 - Topic: Using Ligatures In the IDE (Scintilla.dll problem)
 - Replies: 1
 - Views: 1097
 
Re: Using Ligatures In the IDE (Scintilla.dll problem)
I think it's a matter of getting used to it.
Personally, I like the normal font display better.
For example, when I see this image, I personally don't want to use "ligatures".
https://github.com/tonsky/FiraCode/blob/master/extras/ligatures.png?raw=true
But I can't help you at the moment.
I ...
					Personally, I like the normal font display better.
For example, when I see this image, I personally don't want to use "ligatures".
https://github.com/tonsky/FiraCode/blob/master/extras/ligatures.png?raw=true
But I can't help you at the moment.
I ...
- Sat Feb 25, 2023 10:06 am
 - Forum: Bugs - Windows
 - Topic: EditorGadget vs ComboBoxGadget - Bug (Mouse pointer disappears)
 - Replies: 4
 - Views: 794
 
Re: EditorGadget vs ComboBoxGadget - Bug (Mouse pointer disappears)
I'm not sure if this is a bug.
It is a normal feature of the editor gadget that the mouse cursor disappears when you type text into it.
It is same in classic applications like MS Word.
When you send text with AddGadgetItem() this has the same effect.
But that is no explanation why it works in ...
- Sat Feb 25, 2023 8:19 am
 - Forum: Bugs - Windows
 - Topic: EditorGadget vs ComboBoxGadget - Bug (Mouse pointer disappears)
 - Replies: 4
 - Views: 794
 
EditorGadget vs ComboBoxGadget - Bug (Mouse pointer disappears)
When the ComboBoxGadget() is open, the mouse pointer over the gadget disappears. Error occurs with all ComboBoxGadget().
Example:
 
Procedure AlertThread(Parameter)
Repeat
If IsGadget(0)
AddGadgetItem(0, -1, "Zeile "+Str(Date())) :
Delay(300)
EndIf
ForEver
EndProcedure
If OpenWindow(0, 0 ...
					Example:
Procedure AlertThread(Parameter)
Repeat
If IsGadget(0)
AddGadgetItem(0, -1, "Zeile "+Str(Date())) :
Delay(300)
EndIf
ForEver
EndProcedure
If OpenWindow(0, 0 ...
- Sun Feb 19, 2023 10:32 am
 - Forum: Feature Requests and Wishlists
 - Topic: Please update PB's C runtime on Windows (e.g.: msvcrt.lib)
 - Replies: 4
 - Views: 1350
 
Re: Please update PB's C runtime on Windows (e.g.: msvcrt.lib)
But you can also ignore the new msvcrt.lib in the settings and link with an older version. 
(If the project does not need newer features.)
This then has a higher compatibility with older Windows versions.
					(If the project does not need newer features.)
This then has a higher compatibility with older Windows versions.
- Sun Feb 19, 2023 9:58 am
 - Forum: Feature Requests and Wishlists
 - Topic: Please update PB's C runtime on Windows (e.g.: msvcrt.lib)
 - Replies: 4
 - Views: 1350
 
Re: Please update PB's C runtime on Windows (e.g.: msvcrt.lib)
You can't just replace the msvcrt.lib like that.
An extended msvcrt.lib is required that includes all additional dependencies. This is then very large.
 
MSVCRT vs UCRT These are two variants of the C standard library on Microsoft Windows.
MSVCRT (Microsoft Visual C++ Runtime) is available by ...
					An extended msvcrt.lib is required that includes all additional dependencies. This is then very large.
MSVCRT vs UCRT These are two variants of the C standard library on Microsoft Windows.
MSVCRT (Microsoft Visual C++ Runtime) is available by ...
- Wed Feb 15, 2023 2:09 am
 - Forum: Applications - Feedback and Discussion
 - Topic: [Module] raylib-purebasic (Windows/Linux/macOS)
 - Replies: 42
 - Views: 19704
 
Re: [Module] raylib-purebasic (Windows/Linux/macOS)
@chi
Thanks very much!
The replacement of "msvcrt.lib" was successful.
I can now create a static library using "MS Visual Studio" and it works.
Can I tell PureBasic to use a different msvcrt.lib when linking?
So some kind of Makefile for PureBasic?
					Thanks very much!
The replacement of "msvcrt.lib" was successful.
I can now create a static library using "MS Visual Studio" and it works.
Can I tell PureBasic to use a different msvcrt.lib when linking?
So some kind of Makefile for PureBasic?
- Mon Feb 13, 2023 8:52 pm
 - Forum: Applications - Feedback and Discussion
 - Topic: [Module] raylib-purebasic (Windows/Linux/macOS)
 - Replies: 42
 - Views: 19704
 
Re: [Module] raylib-purebasic (Windows/Linux/macOS)
How to statically build the "raylib" library on Windows with PureBasic compatibility? (.lib / .a)
(Using Microsoft Visual Studio C compiler or msys2)
Does anyone have experience with this?
- Thu Feb 02, 2023 8:37 pm
 - Forum: Applications - Feedback and Discussion
 - Topic: [Module] raylib-purebasic (Windows/Linux/macOS)
 - Replies: 42
 - Views: 19704
 
- Fri Jan 13, 2023 9:25 pm
 - Forum: Applications - Feedback and Discussion
 - Topic: [Module] raylib-purebasic (Windows/Linux/macOS)
 - Replies: 42
 - Views: 19704
 
Re: [Module] raylib-purebasic (Windows/Linux/macOS)
Hello mk-soft,
did you test this?
That's why I've renamed the structures since I first used the RayLib.
This function also only needs Vector2.
This doesn't work!
 
#include "raylib_pb_helper.h"
#include "rlgl.h"
void pbhelper_DrawTextPro(Font* font, const char *text, Vector2 *position, Vector2 ...
					did you test this?
That's why I've renamed the structures since I first used the RayLib.
This function also only needs Vector2.
This doesn't work!
#include "raylib_pb_helper.h"
#include "rlgl.h"
void pbhelper_DrawTextPro(Font* font, const char *text, Vector2 *position, Vector2 ...
- Fri Jan 13, 2023 5:28 pm
 - Forum: Applications - Feedback and Discussion
 - Topic: [Module] raylib-purebasic (Windows/Linux/macOS)
 - Replies: 42
 - Views: 19704
 
Re: [Module] raylib-purebasic (Windows/Linux/macOS)
Is there a way to use the "DrawTextPro" function without the detour:
ImageText -> LoadTextureFromImage -> DrawTextureEx
It is about the possibility of rotation of this function.
"DrawTextPro" doesn't work!
Enclosed:
I recompiled the "pbhelper" C files with this command:
"RLAPI void ...
					ImageText -> LoadTextureFromImage -> DrawTextureEx
It is about the possibility of rotation of this function.
"DrawTextPro" doesn't work!
Enclosed:
I recompiled the "pbhelper" C files with this command:
"RLAPI void ...
- Fri Jan 13, 2023 12:11 pm
 - Forum: Applications - Feedback and Discussion
 - Topic: [Module] raylib-purebasic (Windows/Linux/macOS)
 - Replies: 42
 - Views: 19704
 
Re: [Module] raylib-purebasic (Windows/Linux/macOS)
@idle:
But that's not particularly nice.
					But that's not particularly nice.
- Thu Jan 12, 2023 9:23 pm
 - Forum: Applications - Feedback and Discussion
 - Topic: [Module] raylib-purebasic (Windows/Linux/macOS)
 - Replies: 42
 - Views: 19704
 
Re: [Module] raylib-purebasic (Windows/Linux/macOS)
Hi!
I like the RayLib.
Can you update your source code to the current RayLib version 4.2?
					I like the RayLib.
Can you update your source code to the current RayLib version 4.2?