Contact Info

Crumbtrail

ActiveXperts.com » Support » Serial Port Component » KB Article

Knowledge Base FAQ Items

 

Browse "PHP" Questions:
Q3650020: I'm using XAMPP to run your ActiveX component. I get the error: "Uncaught Error: Class "COM" not found in C:\Xampp\htdocs\serialport\index.php". What's wrong?
By default, COM is disabled in Xampp. You must enable COM in your PHP.INI file: extension=php_com_dotnet.dll Besides that, make sure you register both 32-bit and 64-bit DLL's to avoid error "Uncaught com_exception: Failed to create COM object 'AxSerial.ComPort': Invalid syntax in C:\Xampp\htdocs\serialport\index.php". To do so, please register both 32-bit and 64-bit DLL's from the command line in Admin mode: REGSVR32 AxSerial32.dll REGSVR32 AxSerial64.dll
Serial Port Component > PHP

Q3650030: I'm using XAMPP to run your ActiveX component. I get the error: "Uncaught com_exception: Failed to create COM object 'AxSerial.ComPort': Invalid syntax in C:\Xampp\htdocs\serialport\index.php". What's wrong?
First of all, COM is enabled on Xampp, so there's no need to modify PHP.INI. The problem is that the ActiveXperts COM component is not registered. Best is to register both 32-bit and 64-bit DLL's, so you're not dependent on the type of web-application or Xampp version (32/64 bit). The 32-bit and 64-bit ActiveX controls can both be registered at the same time without a conflict. So, make sure you register both 32-bit and 64-bit DLL's from the command line in Admin mode: REGSVR32 AxSerial32.dll REGS...
Serial Port Component > PHP

Q3650010: How do I use the ActiveXperts Serial Port Component objects with PHP?
Please read the following document: Using Serial Port Component with PHP. This document describes how to refer to the ActiveXperts Serial Port Component library, and how to declare, create and use the objects.
Serial Port Component > PHP

ActiveXperts Error Codes

Click here to view the full list of ActiveXperts error codes

Contact Support

To contact the ActiveXperts Help Desk, click here.