Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > Visual C++
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 4th, 2006, 08:30 PM
Registered User
 
Join Date: Jun 2006
Location: , , .
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.

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 12:28 PM.


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