Unless you have a separate, 64-bit compatible version of mscomm32.ocx, you're going to be restricted to using the version you have in a 32-bit application, because that's the architecture the ocx was created for.
Look at sysmon.ocx, for example. On my Win10 machine, the 32-bit version of this ocx resides in the C:/Windows/SysWOW64 folder and it's size is 337,408 bytes. The 64-bit version resides in the C:/Windows/System32 folder and its size is 423,936 bytes. Two versions for the two architectures.
I suspect there might not be a 64-bit version of this particular ocx, so you'll probably have to find a different means of accessing COM ports in a 64-bit application.
@Jean-Charles - https://stackoverflow.com/questions/836368/is-there-a-64-bit-version-of-microsoft-common-controls-mscomctl-ocx
Alternative ....
A serial port or USB device can be read or written to using the FileOpen ( ) method. For example ...
integer li_FileNum
li_FileNum = FileOpen ( "COM1:", LineMode!, Write!, LockWrite!, Replace!)
FileRead / FileWrite ...
Note: Just replace COM1: with the device name / port that you need to access
HTH
Regards ... Chris