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.

Topics - Doug Clark

Pages: [1] 2 3
Programming / Wdsibyl crash
« on: March 07, 2024, 10:14:30 pm »
Anyone know the solution to this crash when opening a previously saved project?

I also get error messages that major components are not available when trying to build a new application, such as TMain1 can't be found.

Hardware / Netbios network speed pci-pcie adapter
« on: February 24, 2024, 05:39:43 pm »
I have an ECS machine acting as a file server and database server using both WSeB and SAMBA 3.6.12.  I have ECS, AOS, WinXP, Win7, and various Macs as clients - some of those are dictated by the driver requirements of various hardware I use.

The OS/2 machines use Netbios, the others use SAMBA to talk to the client.

When I installed AOS 5.1 on a new MSI Pro B550-VS/Ryzen 5600X I ran into a netbios speed issue with the RealTek 8111H gigabit LAN controller.  The netbios speeds are about 200 times slower than FTP or Samba speeds.  I have run into this speed issue with this chip set on other motherboards so I assume it is a driver issue.  This means, for example, the transfer time for a 1.5GB file goes from 50 seconds to more than 2.5 hours.  It also means that VLC cannot play a movie located on the server because the transfer speed is so slow.

I could not connect with the new ArcaMapper to Samba 3.6.12 on my server.  I have connected other OS/2 machines using Samba 3.6 to the server but I could not connect on AOS 5.1 with ArcaMapper.

So I tried FTPIFS on the AOS 5.1 machine and installed Peter Molyan's FTP server on the server.  That works pretty well, but some applications, like VLC, will not work with FPTIFS.

I know from past experience that Intel network drivers work very will with OS/2.  But it appears that the newer Intel chipsets - like the ones used on their PCIe adapters -  will not work with the older OS/2 drivers.  And my motherboard does not have any PCI slots.

So the solution was to use an older PCI Intel Pro 1000 NIC in a PCI to PCIe adapter. 

This PCI to PCIe adapter does NOT work:

But this one does:

It plugs into a PCIe x 1 slot.

You just plug the adapter into the slot on the motherboard, and the PCI card into the adapter.  The only downside is I have to modify the bracket to fit the case since the combination adapter/NIC is taller than a standard full height card.

All the slots on my motherboard are PCIe x16 slots, two of those will support mode x1.  I have the adapter plugged into one of the x1 mode supported slots.  I do not know if the adapter will with in slots that do not support mode x1.

This required no changes in BIOS settings - just plug and play.

I have attached the speed of Win7 to ECS via Samba just for comparison.

Setup & Installation / Install - screen goes blank when pmshell starts
« on: January 26, 2024, 07:08:12 am »
Trying to install on a MSI Pro B550-VC motherboard with a Ryzen 5 5600X and Radeon X600 video card.  The Ryzen 5600x processor has no graphics built into the CPU.   CSM is turned on in the bios.

I created a USB stick for the install.  I get the AOS boot menu where it asks if I want to boot from the hard drive or Install/Maintain AOS.  I pick install/maintain.  The AOS logo shows up for a while and then the screen goes blank.

Tried setting AOS install/boot option to turn on showing the loading of drivers (e.g. Alt-F2)  The screen goes blank right after it says PMSHELL.

As a note:  when I turned on the computer for the very first time the screen was blank for a long time (a couple of minutes) and then I got a message to the effect that video was not UEFI compatible and was switching to CSM.

Anyone got any ideas?

Setup & Installation / Are there any 8GB Nvme compatiable motherboard
« on: January 20, 2024, 05:54:57 pm »
Anyone aware of a motherboard that handles nvme and provides os/2 access to the full 8gb of main memory?

I don't see one on the wiki and was hoping someone has experience with building such a system.

Applications / Drive drop-down empty in Win-OS/2 apps
« on: January 15, 2024, 12:02:11 am »
When I pick Save-as from the file menu in Win-OS/2 apps the "standard" file dialog box has a drop down list for drive letters in the lower right part of the dialog.  That drop down is always empty for all the apps that I have tried.

I can manually specify a drive in the path name of the file I am saving as, but I cannot use the drive drop down list to select a drive letter and see the directories in that drive.

This happens in AOS as well as ECS.

Anyone else have this issue, and/or know how to fix it?

I have a laptop (thinkpad 530) which had AOS 5.0x and Windows 7 installed with Air Boot for switching between the two.  They are both installed on a MBR drive and using legacy bios.  The problem was Win-OS/2 programs did not run in AOS on this machine.

So I "upgraded" to v AOS 5.1. My BIOS has a setting for: UEFI, Legacy, or Both.  I first tried switching the BIOS to both, and installing AOS v 5.1 as an upgrade to my existing system.  That did not fix the Win-OS/2 issue.  So I switched the bios to UEFI only, and performed a new install of AOS 5.1 on top of my existing C: partition - which contained the old AOS 5.0x.  The install program wants a EFI partition and complained about not enough primary partitions - I already had 3: one for the AOS v 5.0x, one I assume for Win 7, and a third for who knows what.  So I deleted the smallest partition (300mb), created an EFI partition and the installation was able to continue.  I did not change the drive from MBR.

And Win-OS/2 now works.  Yeah.

I would like to now be able to boot into my already existing Win7 partition/system.  I am assuming it is the 93MB primary partition that shows up in Simple LVM.

Anybody have any ideas?

Programming / WPS dragged object handle
« on: September 29, 2023, 12:18:52 am »
When you drag a WPS object (or anything actually) a _DRAGITEM is created to store data about the item being dragged, the structure of DRAGITEM shown below
typedef struct _DRAGITEM {
  HWND       hwndItem;           /*  Window handle of the source of the drag operation. */
  ULONG      ulItemID;           /*  Information used by the source to identify the object being dragged. */
  HSTR       hstrType;           /*  String handle of the object type. */
  HSTR       hstrRMF;            /*  String handle of the rendering mechanism and format. */
  HSTR       hstrContainerName;  /*  String handle of the name of the container holding the source object. */
  HSTR       hstrSourceName;     /*  String handle of the name of the source object. */
  HSTR       hstrTargetName;     /*  String handle of the suggested name of the object at the target. */
  SHORT      cxOffset;           /*  X-offset from the pointer hot spot to the origin of the image that represents this object. */
  SHORT      cyOffset;           /*  Y-offset from the pointer hot spot to the origin of the image that represents this object. */
  USHORT     fsControl;          /*  Source-object control flags. */
  USHORT     fsSupportedOps;     /*  Direct manipulation operations supported by the source object. */

I am trying to identify the object that is being dragged over my window - either the class of the object or the specific object itself.  Is there someway of translating the hwndItem  or ulItemID  value into a WPS object handle?  I am hoping to avoid searching the source container for the source name in order to find the object being dragged.

There is a value in ulItemID, put there either by the WPS or xWorkplaceShell when a WPProgram type object is being dragged.  Anyone know what that value is?

I only want to accept dragged WPObjects of a certain type being dropped, and disallow everything else.

Thanks in advance

Setup & Installation / USB to Serial adapter setup
« on: July 18, 2023, 10:46:22 pm »
I have a serial device that I have working when connected to a real serial port.

I would now like to get it working through a USB to Serial adapter.  The one that I am using is a Belkin fsu116 hub thingy - which plugs into usb and provides 2 serial, 1 parallel and 2 usb ports.  It is shown as working with os/2 in the wiki.

Do I need to add something to my CONFIG.SYS to get the ports working?  Can I assign a comm port number to a specific port on the belkin?

Is there documentation somewhere that describes how you setup usb-serial adapters?


Applications / VLC3018 IDN11.DLL
« on: January 04, 2023, 05:53:08 pm »
I am trying to run the new vlc v 3.0.18 and it is complaining about a missing file IDN11

Anyone know where that file is located, or which package  it is part of?

Another interesting thing:  If I search IDN11.DLL OS2WORD  from google front page I get nothing.

If I enter IDN11.DLL in the search on the front page of OS2WORLD is comes back with nothing. (I am guessing it just passes searches off to google.)

If I enter IDN11.DLL in the search for the forums page I get a hit - a topic about PDF issues.

Lastly: shout out to KO Myung-Hun for his port of VLC.   It is a VERY nice player.  Thanks KO

Off Topic discussions / Dacal CD Library
« on: February 25, 2022, 09:43:55 pm »
Dacal made a machine for storing CD/DVDs which was marketed under the names of Dacal CD Library, CAF Tek Digital Disc Organizer, and ZIO TEK, among others.  The machines store 150 disks on a rotating carousel and have a number pad on front for keying in the slot holding a disk as well a USB port for interfacing to a cataloging software application.

The machines use one or two rubber belts: one for rotating the carousel and the other for ejecting the disk - later machines use a set of gears
instead of a belt for the ejecting machanism.  The link below is a video of one of the machines in action.

The weakness in the machines are the belts - they stretch and/or become hard.  When that happens the carousel will not rotate or the disk will not eject and the machine will display the message SOS above the keypad.

The solution is to install a new belt.  However Dacal no longer makes the machines and I have not been able to find a part number or specifications for the belt.  So I contacted a local rubber company and had them manufacture some new belts for me.  I have attached a drawing of the belt so that anyone else seeking replacement belts can either contact Denver Rubber Company or take the drawing to their local rubber company and have some made.

I have also attached some pics of the machine disassembled.  To remove the top cover you have to remove 6 screws from the bottom of the machine (three in front and three in the back) one screw on each side towards the front.  Lift up the top cover from the back, and carefully snap the front of the top cover off of the front panel.

To remove the carousel you have to remove three screws from the cover in the center of the carousel and then lift off the cover.  You CAN lift off the center cover while the carousel is loaded if you are careful.  The carousel then just lifts off - the belts are under the carousel.

Applications / xWorplace - xCenter issue(s)
« on: October 06, 2021, 07:00:44 pm »
New installation of AOS 5.0.6

Installed xWorkPlace 1.0.13 which I got from Netlabs. The Add Widget option on the xCenter popup menu is missing.  Which I was using to add the Removable Media Widget.

So a couple of questions:

1) Where are the removable widget files on the AOS installation media located and/or how do you install? 

 I asked this question on a different topic previously and the suggestion (thank you Andreas Schnellbacher) was to take RemMedia.dll, etc. from another AOS machine.  Which I did at that time, but I don't remember how they originally got on the source machine.  (For this installation I copied them from the other machine to c:\sys\apps\xwps\plugins\xcenter and used the xCenter Create Widget option - then tried to use the Add Widget menu option)

2)  The Netlabs page for xWorplace says "Rich [Walsh] compiles special versions for ArcaOS and the current official version"   Are those "special versions" just  eWorkplace, or is there an AOS specific version of xWorkplace?


Networking / Universal Naming Convention (UNC) on Samba?
« on: June 19, 2021, 05:51:01 am »
Does universal naming convention (UNC) work on Samba for OS/2?  Or is it limited to Netbios (file/print services) on OS/2?

Setup & Installation / Win-OS/2 installed on non-boot drive
« on: May 29, 2021, 05:40:52 pm »
If I remember correctly you can install Win-OS/2 on a drive other than the boot drive.   I also seem to remember that when you do this some environment variable is set to indicate which drive holds the Win-OS/2 system.

So my questions are:

1) does this environment variable, or some other means, exist to determine which drive Win-OS/2 is installed on?

2) What is the directory structure when installed on a different drive?   (Normally it is C:\OS2\MDOS\WINOS2)

Has anyone successfully used the EPM Etoolkit  to create an EPM based MLE in a VisualAge C++ v 3.0 IOC application?

Sample 2 from the etoolkit shows an E-MLE inside of an EFrame inside of an application window.  The E-MLE is the actual editor guts; the EFrame adds scroll bars, message line, title bar etc.  I lightly modified sample 2 from the etoolkit SDK, compiled with VAC 3.0 and it works - attached as

But when I convert that into a "custom control" as a C++ class, to integrate with the user interface part of the IOC library, part of the E-MLE stops working.  It appears to be the part that sends messages, or receives messages related to editor commands.  What I THINK is happening is the dispatcher that the IOC uses to intercept and route window messages is somehow not sending the messages to the E-MLE window procedure.  Or rather some of the messages, because other messages clearly are getting through.

So has anyone converted a customized PM window/control into a IOC user interface object that can be inserted into various other IOC UI objects? is the lightly modified Sample 2 from the eToolkit sdk. contains my class EpmMle (descended from IControl) which is my attempt to integrate an EFrame/E-MLE into a custom control that can be used in IOC.  Run testmain.exe from and try issuing a command from the menu;  Command - Command Dlg and then type some EPM command, such as SAYERROR 'Hello'   You will need the VAC 3.0 runtime libraries to run testmain.exe

Applications / SAMBA Network access denied
« on: September 30, 2020, 11:21:30 pm »
I am trying to set up samba 3.3.16 and when attempting to execute Samba Users and Groups I get the message

Sys0065: Network access is denied.

For some reason I also have KLIBC User Management - I think it was for the Drop Box plugin
Any thoughts on how to fix this.

Pages: [1] 2 3