Skip to main content
Known Participant
July 11, 2007
Question

ExternalObject

  • July 11, 2007
  • 1 reply
  • 783 views
I built out the demo libs that came with the BridgeSDK, using VC++ Studio
Express. The build went fine. When I try to load the lib, I get an I/O Error and
a popup that sez:

Photoshop.exe - Bad Image
The application or DLL C:\.... is not a valid Windows image. Please
check this against your installation disk.

What gives? My guesses are:
1) The VCStudio Express stuff doesn't work. The build wasn't really good.
2) The Windows SDK that I have is not the right version. The build wasn't really
good.
3) Dynamically loading libs like this into PS is not really supported.
4) Operator error.
5) Something else.


-X
--
for photoshop scripting solutions of all sorts
contact: xbytor@gmail.com
This topic has been closed for replies.

1 reply

Participating Frequently
July 12, 2007
Hi,

I did a quick test with the sdk samplelib and Photoshop CS3 and everything went fine. The only thing I can think of is that one of the compiler settings is wrong for your project?

Not very helpful I know but at least you know that with VS 2005 and PS CS3 you can load the libs successfully.
_xbytor_Author
Known Participant
July 12, 2007
Chanandler_Bong@adobeforums.com wrote:
> Hi,
>
> The only thing I can think of is that one of the compiler settings is wrong for your project?

I didn't change any of the options.

> Not very helpful I know but at least you know that with VS 2005 and PS CS3 you can load the libs successfully.

I'll see if I can get my hands on VS2005 and not simply the express version;
there apparently is a difference.

-X