Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > Visual C++
|
Visual C++ Questions specific to Microsoft's Visual C++. For questions not specific to this Microsoft version, use the C++ Programming forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual C++ section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 4th, 2006, 08:30 PM
Registered User
 
Join Date: Jun 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default imported DLL functions in MFC

Hi

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.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Edit an imported template, where & how? ismailc XSLT 2 January 18th, 2008 03:50 AM
acessing DLL functions in VB Scripting seeekvb VBScript 5 January 15th, 2007 06:58 PM
How to access functions of Dll created in VC in VB seeekvb BOOK: Beginning ASP.NET 1.0 4 January 15th, 2007 06:58 PM
call functions of dll Digon Classic ASP Basics 1 December 13th, 2005 06:12 AM
CH3- java class imported, but still undefined resolutions BOOK: Beginning JavaServer Pages 2 May 20th, 2005 12:02 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.