- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am compiling a large program that I did not write. An earlier
version compiles and links fine. I just got a new version of the
source with few changes. It includes the same libraries. It
compiles fine, but the linker gives the error:
myNEC4da.obj : error LNK2019: unresolved external symbol _f_setmessageqq referen
ced in function CATEXP
myNEC4da.exe : fatal error LNK1120: 1 unresolved externals
The error refers to a function that hasn't changed a bit between versions. Any idea what might be going on or what library _f_setmessageqq is in? If I enable/disable compiler optimizations, it gives the same error but refers to a different function. Any help would be much appreciated.
thanks,
Dillon
myNEC4da.obj : error LNK2019: unresolved external symbol _f_setmessageqq referen
ced in function CATEXP
myNEC4da.exe : fatal error LNK1120: 1 unresolved externals
The error refers to a function that hasn't changed a bit between versions. Any idea what might be going on or what library _f_setmessageqq is in? If I enable/disable compiler optimizations, it gives the same error but refers to a different function. Any help would be much appreciated.
thanks,
Dillon
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It's in ifqwin.lib. Is this a QuickWin project type? It needs to be if that routine is to be used.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Steve, thanks for your timely assistance. I couldn't get it to work by using IQWIN or by setting it to be a windows app., but I just removed the offending statements and it links.
I have a new issue. This may not be the place to ask about it, but I want to check to make sure. My application runs in 64-bit Windows and dynamically allocates a very large array (~8GB). When I run the program, the 8GB is allocated but mostly to virtual memory; only 2GB of physical memory is allocated (I have 7.5GB installed). Is this a Windows/hardware issue, or could it have anything to do with the compiler/code?
-Dillon
I have a new issue. This may not be the place to ask about it, but I want to check to make sure. My application runs in 64-bit Windows and dynamically allocates a very large array (~8GB). When I run the program, the 8GB is allocated but mostly to virtual memory; only 2GB of physical memory is allocated (I have 7.5GB installed). Is this a Windows/hardware issue, or could it have anything to do with the compiler/code?
-Dillon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It is not sufficient to add USE IFQWIN or making it be a Windows app. There is a specific QuickWin project type that also causes the QuickWin libraries to be linked it.
The choice of how Windows allocates memory is up to Windows, it isn't a compiler or code issue. Offhand, I don't know what settings in Windows controls this.
The choice of how Windows allocates memory is up to Windows, it isn't a compiler or code issue. Offhand, I don't know what settings in Windows controls this.

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