Search found 4 matches

by Rattenhirn
Wed Oct 15, 2008 7:01 am
Forum: Customization
Topic: Plug In Development
Replies: 6
Views: 5616

* The exported function need to be pure C. C++ functions with 'extern "C"' seem to crash XnView. (At least when using VC 2003) Strange I've tried it again and it didn't crash XnView this time. So most likely something else caused the crash. I'll drop you a line when it happens again and I can isola...
by Rattenhirn
Tue Oct 14, 2008 2:30 pm
Forum: Customization
Topic: Plug In Development
Replies: 6
Views: 5616

I've got it to work now. Some info that may be interesting to some: * .usr PlugIns don't show up in the "Plug-Ins Information..." dialog. * If they are not registered in XnView.ini, they'll get loaded the first time you try to view an unknown picture. * The exported function need to be pure C. C++ f...
by Rattenhirn
Fri Oct 10, 2008 9:26 am
Forum: Customization
Topic: Plug In Development
Replies: 6
Views: 5616

I tried that. Now not even DllMain gets called.

I'm using XnView 1.94.2 btw.
by Rattenhirn
Fri Oct 10, 2008 8:31 am
Forum: Customization
Topic: Plug In Development
Replies: 6
Views: 5616

Plug In Development

Hi, I have tried and failed to create a plug in for XnView, maybe one of you can help me out. I've downloaded the XnView Plug In SDK from this site and compiled it. Then I've put the result ("Xuser.dll") into the "PlugIns" directory of my XnView installation. However, it doesn't show up in the "Plug...