|
Question : Assertion failure in olelink.cpp line no. 82/85
|
|
Hi, I developed an application in VC++ 6.0 in windows98. I tested it successfully in that env. While porting the same appln to WindowsNT env. I am getting "Assertion Failure - on line 82 / 85 in olelink.cpp file" message. I am not using that file at all. I even renamed the same file and compiled my program successfully but as soon I port it on to WindowsNT I am getting the same error. Can any one help. Some one suggested that it might be the version problem? But since I can't go for a diff. version can you pl. suggest any alternative? Thanks.
|
|
Answer : Assertion failure in olelink.cpp line no. 82/85
|
|
I think you are not understanding how LIBRARIES work. This file is NOT compiled each time your app is built but is ALREADY COMPILED by MICROSOFT and included as a LIB file that is linked. The DEBUG version of the MFC libs, however, have ASSERTS in them and this is what you are seeing.
The LIB file that contains the CODE from OLELINK.CPP is being linked into your application and that is because you are using the function in your application.
|
|
|