• Welcome to Theos PowerBasic Museum 2017.

Recent posts

#1
WinLIFT / Listview have no ICON with win...
Last post by Peter Weis - October 29, 2017, 05:35:57 PM
Hello Patrice, the control ListView has no more icons with Winlift. Is it possible to make the icons visible again with Winlift?

greetings Peter
#2
Discussion / The Movie Database
Last post by Patrice Terrier - October 25, 2017, 12:34:33 PM
I wrote a new API to retieve informations about most movies from the Internet in real time.

It is based on
https://www.themoviedb.org/documentation/api

If interrested then let me know.

Here is how it looks within my MediaBox/MBox64 video player

#3
General Discussion / Re: Has anyone use Windev ?
Last post by Patrice Terrier - October 11, 2017, 07:25:50 PM
QuoteMy Only reservation about Windev would be its pcode, which would be insecure and slow execution.

Did you try one of my WinDev demo?
if not, you should give them a try before going to any conclusion.
Some of them are avaible in PB, in C++, and WinDev, i bet you that you won't see any difference between them, except for the binary size.
WinDev is not more bloated than DotNET, and its p-code is more secure than any C# IL code.
(And with a little experience it is possible to reduce the size of its framework drastically)

It is part of my toolbox, just like PB and C++
Hundred thousands of programmers world wild are using it, they couldn't be all wrong  8)

Some of the biggest European companies and government's agencies are also using it ...



#4
General Discussion / Re: Has anyone use Windev ?
Last post by Chris Chancellor - October 11, 2017, 05:04:47 PM
Thanxx Patrice

My Only reservation about Windev would be its pcode, which would be insecure and slow
execution. Further it requires a huge block of dlls  kind of like .Net framework make the
software lockdown.  I'm trying to move away from .Net and its IL
#5
General Discussion / Re: Has anyone use Windev ?
Last post by Patrice Terrier - October 11, 2017, 10:44:12 AM
Yes, i have used it since version 8, and keep using it with version 17 (currently version 22 in English, 23 in French).

WinDev itself is written in C++, however the WLanguage doesn't create native code, but p-code that requires a dedicated framework (a huge pool of dedicated C++ DLL), something similar to the .NET Framework, or the THINBASIC interpreter from Eros Olmi

I am able to use my PowerBASIC 32-bit DLL or my 64-bit C++ DLL with WinDev when i need to perform real time processing or if i want to boost the IL code.

The WLanguage syntax is very close to the one used in PB, making the translation rather easy as long as you are using the SDK syntax.
WinDev is years ahead of PB, and i wrote (for others) many complex applications with it that i couldn't have written without it.
It is perfect for everything related to buisiness work, however not meant for real time processing except if you mix it with native DLL code.

Along the years i wrote many examples showing how to use my own addons (GDImage/WinLIFT) with it.

As a matter of example see
http://www.jose.it-berater.org/smfforum/index.php?topic=4394.msg16379#msg16379
or
http://www.objreader.com/index.php?topic=52.0

and make sure to read this section
http://www.jose.it-berater.org/smfforum/index.php?board=357.0
#6
General Discussion / Has anyone use Windev ?
Last post by Chris Chancellor - October 10, 2017, 02:26:44 PM
Has anyone use Windev  ?

http://www.windev.com/windev/index.html

Does it produce C++ or other native codes for you?
Appreciate your comments on this product.
#7
General Discussion / Re: how to pass strings to c# ...
Last post by Patrice Terrier - September 05, 2017, 10:03:19 AM
Wanting to link PB with a .NET DLL, sounds weird for me.
What is the benefit of using Win32 if you have to mix it with bloated IL...
#8
General Discussion / Re: how to pass strings to c# ...
Last post by José Roca - September 05, 2017, 04:29:38 AM
Nine years ago I did a test out of curiosity, but as I don't do .Net programming I didn't do further research.

I remember that we have to host the .NET runtime, load the asembly and create an instance of the wanted .NET class with the CreateInstanceFrom method of the ICLRHost interface and use COM Automation to call the methods of the .NET class.

See: https://code.msdn.microsoft.com/CppHostCLR-e6581ee0/sourcecode?fileId=21953&pathId=641528413
#9
General Discussion / Re: How to force display/focus...
Last post by John Montenigro - September 05, 2017, 04:10:48 AM
Turns out that I've missed something...

I'm expecting that when my PerformAltTab function completes, the user will be immediately able to start typing into that other window.

Unfortunately, I can bring the other window to the forefront and give it focus, but it is not ready to accept user keystrokes.

Can anyone see what I'm doing wrong?

Thanks,
-John
#10
General Discussion / how to pass strings to c# dll ...
Last post by Chris Chancellor - September 04, 2017, 05:59:05 PM
Hello

I wish to write a PB program which can call up a C# dll and then able to pass some strings
to this C# dll.   All help such as an example code is much appreciated.