Cannot use COM on VB on Vista64-Error with COM Class Factory

ImageMagickObject is a Windows COM+ interface to ImageMagick. COM+, Visual Basic, and Delphi users should post to this discussion group.
Post Reply
NeilF

Cannot use COM on VB on Vista64-Error with COM Class Factory

Post by NeilF »

If I try my application (in debug) on a Windows XP system all seems OK...

Try it on my main machine running Vista 64 bit, and the moment I get to:-
Dim ImageMagick As New ImageMagickObject.MagickImage

I get an error:-
Retrieving the COM class factory for component with CLSID {5630BE5A-3F5F-4BCA-A511-AD6A6386CAC1} failed due to the following error: 80040154.


Any idea what's up please?
NeilF

Re: Cannot use COM on VB on Vista64-Error with COM Class Fac

Post by NeilF »

Managed to sort it...

Edited the .vproj file and added "<platformtarget>x86</platformtarget>" to every "<ProjectGroup>"

http://code.ladasoukup.cz/2009/02/visua ... -with.html
Post Reply