- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
After upgrading to 6.6 and now attempting to BUILD an existing project we receive this error:
Error: There is no matching specific function for this generic function reference. [GETPROCADDRESS]
This error occurs when we "USE" DFWIN or DFWINTY. Why should we receive this error (and especially with no changes other than the upgrade)?
Error: There is no matching specific function for this generic function reference. [GETPROCADDRESS]
This error occurs when we "USE" DFWIN or DFWINTY. Why should we receive this error (and especially with no changes other than the upgrade)?
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
6.6 includes a complete retranslation of the Win32 API declarations. Without seeing your code, I can't say what is wrong - please send a short but complete example demonstrating the problem to vf-support@compaq.com and we'll take a look.
Steve
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In creating a small sample project to reproduce the error, I discovered the behavior that we experienced was due to some sloppy coding that was "allowed" in the past. Consider the following call to GetProcAddress:
lpget_xyz=GetProcAddress(hlib,'GET_XYZ'C)
If hlib is not explicitly declared as INTEGER, the error will occur.
Bill
lpget_xyz=GetProcAddress(hlib,'GET_XYZ'C)
If hlib is not explicitly declared as INTEGER, the error will occur.
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
BTW, this is a debugging technique that I use a lot. After a certain amount of examination of the code, I conclude that it's a compiler error and try to reproduce it with a small test program. I do find a certain amount of compiler errors this way but also it puts me in a mindset that absolutely anything could be happening in my code instead of retaining my prejudices about what the code should do. Often this is just the attitude I need to run errors in my code to ground.
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