|
From: Toby T. <tob...@te...> - 2002-11-10 10:24:08
|
On Sunday, November 10, 2002, at 02:22 PM, Toby Thain wrote: > Hi list, > > I've spent quite a few dozen hours trying to track down a problem with > Photoshop plugins built for Windows. > ... On invoking the plugin in Photoshop for Windows (this has been > tested on 2 different PCs), the plugin is entered and exited several > times as expected, after which an invalid page fault invariably occurs > in Photoshop. ... > > The main entry point is documented to need stdcall conventions and > this has been set in the source This was my mistake; the entry point must use default calling conventions (NOT stdcall). After removing the stdcall modifier from the main function, the plugin runs fine. I'm not sure where I got the stdcall idea from! Toby |