imported DLL functions in MFC
For my program I made a dll which has (for the moment) a few functions which perform certain filtering operations. I linked this DLL to my MFC application and created a class which contains and manages objects that each have a pointer to a function as a member.
I then try to assign an imported function from the dll to one of these members so that I can call it later (I do this through one of the manager classes functions). Everything compiles but when I run the program I just get an error window saying vidFilter MFC application encountered an error and needs to close. The debug error message says the instruction at <memory address> referenced memory at <other address>. This memory could not be read.
Any help is very appreciated.