> Pl guide me to build the ActiveX without linker errors. Looks like you need to link to MSVCRT which includes the Posix compatibility methods. > I am using ImageMagick-5.4.6 version. That may be the problem. Get the latest ImageMagick version, 5.5.3.