Quantcast
Channel: Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1616

Linking old C 32bit (from 2000) program

$
0
0

Hello,

you helped me allready to install my new C++ 15 compiler, thanks for that.

Now I compiled and linked an old c program 15 years old.

After 42 linking errors and adding some pragmas I have some DWORD warnings and 2 linking errors now.

guitp.c(1620): warning #810: conversion from "LPSTR={CHAR={char} *}" to "DWORD={unsigned long}" may lose significant bits
                  SendDlgItemMessage(win_handle,101,CB_ADDSTRING,  0 ,(DWORD)(LPSTR)szBuffer);
 gflist.c
gfframe.c
gfmain.c
guitp.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp_CommDlgExtendedError" in Funktion "WindowProc".
guitp.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp_GetOpenFileNameA" in Funktion "WindowProc".
ut:tpwin.exe : fatal error LNK1120: 2 nicht aufgelöste Externe

I think I need an additional pragma?

Many thanks for your help.

Peter

 


Viewing all articles
Browse latest Browse all 1616

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>