On 6/14/05, David Kastrup <[EMAIL PROTECTED]> wrote: > So you can't judge the viability of taking core code (it sounds to me > like that is what you did) by the viability of following example code.
The code for the memory data source in image.c is already pretty similar. In any case, I found this bit from install.doc, which sums up the situation perfectly: 2. Microsoft C cannot pass file pointers between applications and DLLs. (See Microsoft Knowledge Base, PSS ID Number Q50336.) So jdatasrc.c and jdatadst.c don't work if you open a file in your application and then pass the pointer to the DLL. One workaround is to make jdatasrc.c/jdatadst.c part of your main application rather than part of the DLL. -- /L/e/k/t/u _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel