- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have a pointer/target question... I have a pointer in a dll module, and a target in anothermodule outside the dll. Every time I try to associate the pointer with the target, from the main program (which has access to both modules), I get the access-violation runtime error (#157). It seemsto me that, outside the dll,the pointer is being taken as an ordinary integer. Am I missing someadditional attributewhen I declare the variables?
I included a copy of the solution with this post. Thanks.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think there's a compiler bug here - it is not properly dealing with the indirection needed when addressing a variable from a DLL. We may have missed the pointer assignment case.
Please submit this test to Intel Premier Support and ask that it be assigned to Steve Lionel.
Please submit this test to Intel Premier Support and ask that it be assigned to Steve Lionel.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page