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

Dialogboxparam in x64

michaelgreen1
Beginner
688 Views

Hi All,

I'm converting a large 32 bit program to 64 bits. The following works fine in 32 bits:

iret = DialogBoxParam(ghInstance,IDD_metaquery,hListViewDlg,LOC(MetaqueryDlgProc),0)

but in 64 bits it won't compile. I get:

Error error #6284: There is no matching specific function for this generic function reference.

 

I can't find anything on the forum relating to this. What do I need to do to make it work?

 

Many thanks

Mike

0 Kudos
2 Replies
andrew_4619
Honored Contributor III
667 Views
Intel will have more than one form of the interface and the type declarations you have match none of them. It is likely one of the arg is integer(4) when it should be integer(handle) which is 4 or 8 bytes in x64 8.
0 Kudos
Steve_Lionel
Honored Contributor III
654 Views

I checked the interface in module USER32 - it is correct. As Andrew suggests, one or more of the arguments you are passing are incorrectly declared. 

0 Kudos
Reply