ImagePro>Re: Can a IPBasic macro call a Macro made with theSDK?


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ImagePro>Re: Can a IPBasic macro call a Macro made with theSDK?



Mike:

   AAAGGH!  At some point as I was writing my posting, I had it in my mind
to note that you have to add the function names to the .DEF file, but by the
time I finished, I had obviously forgotten to include this point.  Sorry!  I
have also tried "__declspec(dllexport)" and have not gotten it to work. 
Usually I'm time limited so I haven't been able to figure out why, so I just
fall back on the .def file.

   Glad you got it going - once you figure it all out you can do some pretty
good stuff.  I like being able to add my own functions that can work quickly
down to the bits & bytes level...

   Regards,

       - Stan -

-- 
------------------------------------------------------------------


Michael Plonski wrote:
> 
> Thanks,
> 
> this was a big help.  I was almost finished using the marshalling 
> technique in the VC++ wizard.  I could get it to work, but I somehow 
> screwed up the function names - Id matching so that when you called 
> one function, you got another.  It has to do with how they all come 
> through 1 interface where they define some reference value for each
> function and I think I screwed up the reference mapping in some 
> non-source (not in .cpp or .h) code that I couldn't figure out.
> 
> In any case, I got your approach to work.  This is great.  It still 
> took me a while to realize I had to add the function to the .def 
> file for it to be exported.  I had a __declspec(dllexport) of the 
> function defintion, but this didn't seem to work.
>
> Taking your example and adding the func to the .def and I was in 
> business.  Having to call those arrays with a (0) appended was 
> another hurdle that the manual cleared up.
> 
> Many Thanks.
> 
> Mike Plonski
>

***********************************************************
Need an Image-Pro macro or driver? Find it at http://www.Solutions-Zone.com
Got an Image-Pro macro or driver? Add it to http://www.Solutions-Zone.com
***********************************************************

This message is sent to you because you are subscribed to <imagepro-users@lists.mediacy.com>.
To unsubscribe, email to: <imagepro-users-off@lists.mediacy.com>
To switch to the DIGEST mode, email to <imagepro-users-digest@lists.mediacy.com>
To switch to the INDEX mode, email to <imagepro-users-index@lists.mediacy.com>
Send administrative queries to  <imagepro-users-request@lists.mediacy.com>
To subscribe or unsubscribe visit http://www.solutions-zone.com/ipednld/subscriber.asp



Search this Archive