I am currently working on a mid-scale project and compiling and linking worked perfect until now. I played around with my resource files and the linker won't eat my object files anymore:
LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
I already deleted the resource file, the resource header and made them new about 5 times, I removed all possibly deprecated object and pch files and restartet Visual Studio countless times, but it still won't work.
Never seen that before, I can only assume there is some corruption elsewhere on your system. Looking at some of the Google finds for that Link error I noticed a number that suggested either a system restore, or the use of a special recovery tool or both. you may wish to research some of those suggestions yourself. As a last resort you can always try the Microsoft Development Q&A - I don't have the address but I have used it in the past and got some useful feedback.
i try to open a *.chm File with a HtmlHelp() API this part works if i want to go to specific topic this all works fine.
I have a problem if i want to open my *.chm file with a HH_DISPLAY_SEARCH option.
I open my file and the "search" tab is selected, but search routine is not started?
On MSDN site http://support.microsoft.com/kb/241381[^] says that this don't work yet.
Does any one know a alternative for this?
Or is there any way to do this with hh.exe and "mk:@MSITStore:"??
Be very careful about using this sort of thing - as others have mentioned it's probable that your design isn't quite what you think it is (for example setting things of multiple types through an interface).
Good luck though and nice to see someone actually using <algorithm> in their work!
Of course you can do it at run-time, just create the CComboBox by hand. Then you can set it when you call CComboBox::Create(). If on the other hand, you mean can you change it after you've created the CComboBox, not sure, but do you really need that capability?
Last Visit: 31-Dec-99 19:00 Last Update: 18-Dec-14 10:47