- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Q = GETPROCADDRESS( PCGSDLLP, "pcglssViaFuncs"C) where PCGSDLLP is the DLL pointer. This does not work in IVF 9 EM64T and gives a compiler error...
C:Version91Pcgs.for(66) : Error: There is no matching specific function for this generic function reference. [GETPROCADDRESS]
Does anyone know how to get around this? Is the problem that I am using the USE DFWIN and this is simply not been added for EM64T?
Message Edited by david-weinberg on 02-06-2006 01:09 AM
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks. The issue was that the compiler error given was not consistent with the problem as was throwing me off. I plan to use
INTEGER (KIND=INT_PTR_KIND()) PCGSDLLP
where PCGSDLLP is a pointer. Do you think this would be the best approach since the code would then be platform independent?
ALso, for C/C++ I have a similar issue...
Below is a routine that is used to return a pointer to a function for a call back...
double zpivot( void );
double (*zpivotPtr)( void );
int ZPIVOTGP( void )
{
zpivotPtr = zpivot;
return(zpivotPtr);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In C, when you declare something as *foo, you automatically get the proper pointer size. Unlike Fortran, C has a pointer "type".

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page