开发者

VC command line compilation strange problem

I searched the net and I cannot find an answer for the problem that I am facing. Im not sure if the title of the question itself describes my issue. the problem is, I have a file which I am for storing certain formattable strings. For example string could be "Version is %s". And later on during compilation a header file will be created in which the version to be printed will be present. While using the application when the function is called, the string will be formatted (using vsprintf) with the macro and the version will be displayed (eg: "Version is 4.4"). This is working perfectly when Im compiling u开发者_StackOverflowsing the IDE (vc 6 and above). But as soon as I use the command-line options to compile and link the same project the application outputs "version is %s". The formatting is not done. I tried all the way I know but the problem is persisting. Can anyone help me about this? Please let me know if my question is not clear.

Thanks, Sreehari

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜