Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Martin Iturbide

Pages: [1] 2 3 ... 326
1
Applications / Re: AVxCAT 2.1.1.2
« on: January 16, 2025, 11:00:21 pm »
Hello Remy

Do you plan to update our website?
- https://remydodin.levillage.org/en/realisations.php?item=6900&id=realisations

I was going to post the 2.2 update as a OS2world news, but I don't know if it is formally released yet, or you want to wait?

Regards

2
General Discussion / Re: Podcast: Cheers to Myself !!!
« on: January 10, 2025, 03:16:02 pm »
And I also uploaded:
-  005 - Control Program Interface (CPI).

Visit: https://www.youtube.com/playlist?list=PLyQN6iS6JSxXkbLBzqspcR56dVdYaHQvB



3
General Discussion / Re: Podcast: Cheers to Myself !!!
« on: January 10, 2025, 01:29:40 pm »
Hello Again.

Since it was so easy to generate these Podcast I also posted three more about:
1) General OS/2 architecture
2) Presentation Manager
3) System Object Model (SOM)

You can configure the podcast to focus on some specific topics of the content you uploaded.

- https://www.youtube.com/playlist?list=PLyQN6iS6JSxXkbLBzqspcR56dVdYaHQvB

Let me know what do you think. Is it just crazy talk? or does it provides some value for the people learning OS/2?

4
General Discussion / Podcast: Cheers to Myself !!!
« on: January 09, 2025, 07:19:35 pm »
Yes, this is so wrong.

I found out that you can create a Podcast with AI, so after some little testing, why don't create a 20 minutes episode about myself. So normal, right?

I took my wiki profile page and put it as input on NotebookLM (free)

This is the podcast it generated:
https://www.youtube.com/watch?v=2658I6bezuY

I liked the podcast, and even if it feels self indulgent, the AI said nice words about me.  ;D ;D ;D ;D
But it feels that this podcast is really the story of all of us, not just me.

Just a little mistake there, I didn't graduate from college at 19, I graduated at 1999, maybe there is something wrong on my wiki page.

Regards

5
Actually, looking at the source, it is old MS Programming library v1.3, 16 bit API?

Maybe I uploaded the wrong book  :D

6
With the same tool, I asked "Give me a C source code sample of creating a window in PM"

Quote
The sources offer several examples of creating windows in OS/2 Presentation Manager using the WinCreateWindow and WinCreateStdWindow functions. Here's a C source code sample based on these examples, along with explanations:

#define INCL_WIN // Include header file for PM window functions
#include <os2.h>

// Client window procedure - handles messages for the window
MRESULT EXPENTRY ClientWndProc(HWND hwnd, USHORT msg, MPARAM mp1, MPARAM mp2) {
    switch (msg) {
        case WM_PAINT:
            // Handle window painting - draw content here
            break;

        case WM_DESTROY:
            // Handle window destruction
            break;

        default:
            return WinDefWindowProc(hwnd, msg, mp1, mp2); // Default message processing
    }
    return NULL;
}

int main() {
    HAB hab;          // Anchor block handle
    HMQ hmq;          // Message queue handle
    HWND hwndFrame;   // Frame window handle
    HWND hwndClient;  // Client window handle
    QMSG qmsg;         // Message queue element

    ULONG flCreateFlags = FCF_TITLEBAR | FCF_SYSMENU | FCF_SIZEBORDER |
                        FCF_MINMAX | FCF_SHELLPOSITION | FCF_TASKLIST;

    static CHAR szClientClass[] = "Client Window"; // Client window class name

    hab = WinInitialize(NULL);   // Initialize PM
    hmq = WinCreateMsgQueue(hab, 0); // Create message queue

    // Register client window class
    WinRegisterClass(hab, szClientClass, ClientWndProc, CS_SIZEREDRAW, 0);

    // Create standard window
    hwndFrame = WinCreateStdWindow(HWND_DESKTOP, WS_VISIBLE, &flCreateFlags,
                                    szClientClass, "My Window", 0L, NULL, 0, &hwndClient);

    // Message dispatch loop
    while (WinGetMsg(hab, &qmsg, NULL, 0, 0)) {
        WinDispatchMsg(hab, &qmsg);
    }

    WinDestroyWindow(hwndFrame); // Destroy window
    WinDestroyMsgQueue(hmq);    // Destroy message queue
    WinTerminate(hab);          // Terminate PM
    return 0;
}

Explanation:

Headers: INCL_WIN is defined to include the necessary header file (pmwin.h) for PM window functions. os2.h is included for general OS/2 API definitions.

Client Window Procedure: ClientWndProc is responsible for handling messages sent to the window. It's crucial for responding to events like painting and window destruction. The WinDefWindowProc function is used to process default messages.

Main Function:

Initialization:  WinInitialize and WinCreateMsgQueue initialize the Presentation Manager and create a message queue.

Window Class Registration: WinRegisterClass associates the client window procedure (ClientWndProc) with a window class name (szClientClass).

Window Creation: WinCreateStdWindow creates a standard window with a title bar, system menu, and other standard elements. The flCreateFlags variable controls the window's style and appearance.

Message Loop: The while loop retrieves messages from the message queue using WinGetMsg and dispatches them to the appropriate window procedure using WinDispatchMsg. This is the core of the event-driven model in PM.

Cleanup: WinDestroyWindow, WinDestroyMsgQueue, and WinTerminate clean up resources and exit the PM environment.
Key Points:

The code creates a standard window, which provides the basic framework for most PM applications.

You can customize the window's appearance using the flCreateFlags variable and its style constants.

The client window procedure is where you'll handle window-specific logic, including drawing content and responding to user interactions.

Understanding the message loop and how PM handles events is crucial for developing OS/2 applications.
Remember that this is a basic example, and building more complex applications would involve using additional PM API functions to create and manage other UI elements like menus, dialog boxes, and controls.

7
OK. It is now time to get crazy.

I used NotebookLM from Google - https://notebooklm.google.com
I uploaded the PDF of "1988 - Inside OS2 - Gordon Letwin" and it has an option at the right to create some kind of a podcast about that content. (Deep Dive conversation)

It created a 50MB, 20 minutes wav file. Crazy.

- https://drive.google.com/file/d/1CvGsp03V6MLTn64B2xdJzSwH83OFbatM/view?usp=sharing

8
Applications / Re: AVxCAT 2.1.1.2
« on: January 08, 2025, 01:38:25 am »
Hello Remy.

I' now on version 2.2.0.0 with your indications of downloading the file and unzipping it on the 2.1.1.0 installation.
It seems to be working.


Checking the AVXCAT 2.2.pdf file, it says it works with - http://silk.apana.org.au/vorbis/oggvorbis-1.2.0-os2.zip
Will it work fine with https://hobbesarchive.com/Home/Download?path=/Hobbes/pub/os2/apps/mmedia/sound/convert/OggVorbis_1-3-3.wpi
Do you think it will be fine to update to it?

Regards

9
Comments, Suggestions & Questions / Re: OS/2 Licensing
« on: January 05, 2025, 05:24:12 pm »
Changing the subject from Copyright to Trademark

Can we do something evil since IBM let the OS/2 trademark expire ?  ;D ;D
- https://tsdr.uspto.gov/#caseNumber=74515112&caseSearchType=US_APPLICATION&caseType=DEFAULT&searchType=statusSearch
Maybe something like register the logo again and create own our legal T-Shirts.

Any Trademark lawyers friends around?

10
Marketplace / Re: ebay Stuff
« on: January 05, 2025, 02:33:08 pm »
Came on german guys... I know you want it  ;D ;D ;D

- https://www.ebay.com/itm/186866975857


11
Graphics and Window Design / Re: Mouse Pointers
« on: January 05, 2025, 02:15:37 am »
Hello GG

I have consolidated several pointers in the PointerPack.
Check it out at: https://hobbesarchive.com/Home/Download?path=/Hobbes/pub/multimedia/pointer/PointerPak_1-4.zip

The rest of the pointers are here:
https://hobbesarchive.com/?path=%2fpub%2fmultimedia%2fpointer

Let me know if you find some pointers missing.

Regards

12
Web applications / Re: Dooble releases, Qt5 builds
« on: January 03, 2025, 07:08:09 pm »
Hello

In my case, in spanish I have this characters that I need, but I seem to be able to put it on the navigation bar on the google search box without problems.

Regards

13
Comments, Suggestions & Questions / Re: OS/2 Licensing
« on: January 03, 2025, 03:40:53 pm »
IBM does not offer support for it.


Are you sure IBM no more providing support as special exclusive contract for customer customer requesting it ?
I remember IBM having provided OS/2 support in year 2015 for a client having a special support contract (not catalog referenced)
Hi Remy

If you have information on which customer and which special support let me know. I haven't seen any leaked file, document, comment or evidence that IBM has patched or released new binaries since 2006 or in the latest years. Sometimes I think that we like to dream and have the hope that IBM is still working on it.

Regards

14
Graphics and Window Design / Re: [MOVED] Martin, a suggestion
« on: January 02, 2025, 09:32:48 pm »
Hello David

I think it is good idea, I created the new category and moved some forum threads here.
Let me know (with the link) if I'm missing to move something else.

Regards

15
Applications / Re: AVxCAT 2.1.1.2
« on: January 02, 2025, 02:30:26 pm »
Hello Remy

Happy New Year.

I installed 2.1.1.0 version, went to "Help - Get update" and I get that this is the latest level version.

Regards

Pages: [1] 2 3 ... 326