Jump to content

MSComm object not created in a3x


 Share

Recommended Posts

Local $sAxName
Local $oMSComm

$sAxName = "MSCOMMLib.MSComm.1"
$oMSComm = ObjCreate($sAxName)
MsgBox(0, Default, StringFormat("Name: %s, Obj %d, Err %d", $sAxName, IsObj($oMSComm), @error))

I'm talking to serial ports (for Arduino) using the MSComm object.  It all runs fine from SciTE or .exe.  If I compile to .a3x the object is not created.  I could manage without .a3x but I like it because it compiles faster.
 

 

Link to comment
Share on other sites

  • Developers

Are you running the ax3 with the x86 or x64 AutoIt3.exe version? 
Might Want to play with that as that is the only reason I can think of that could case this.

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...