Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29390 Discussions

pointer/target - dll/module question

John4
Valued Contributor I
593 Views
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.
0 Kudos
1 Reply
Steven_L_Intel1
Employee
593 Views
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.
0 Kudos
Reply