Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

ExternalObject

Explorer ,
Jul 11, 2007 Jul 11, 2007
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
TOPICS
Scripting
711
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 12, 2007 Jul 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.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 12, 2007 Jul 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
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 13, 2007 Jul 13, 2007
LATEST
Chanandler_Bong@adobeforums.com wrote:
>
> Not very helpful I know but at least you know that with VS 2005 and PS CS3 you can load the libs successfully.

I got the trial version of VC2005. Still the same problem, until I switched from
the .lib file to the .dll.

Operator error :)

-X
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines