The MASM Forum

General => The Workshop => Topic started by: pgw001 on February 15, 2017, 10:21:53 PM

Title: Error A2070 - invalid instruction operands
Post by: pgw001 on February 15, 2017, 10:21:53 PM
Having had to completely re-install MASM with Visual Studio 2015, I can no longer assemble
my 'systems verification' program - WORDEDIT from the Iczelion sample library.

I am getting two A2070 errors, each referring to  '   INVOKE  CreateToolbarEx  ', the
problem is equally true if I substitute '   INVOKE     CreateWindowEx  '

Given these instructions assembled without error only days ago, I guess I have introduced
some library incompatibilities. Any pointers to resolving the problem(s) would be much
appreciated.

Thanks in advance,
pgw001
Title: Re: Error A2070 - invalid instruction operands
Post by: hutch-- on February 16, 2017, 01:31:19 PM
Rough guess is that the include files are different. Not an easy one to answer as it will depend very much on what is set up on your machine.