Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » UppHub » My Simple U++ Application
Re: got error "PathAppend undefined" [message #18110 is a reply to message #6013] Wed, 10 September 2008 19:22 Go to previous message
amando1957 is currently offline  amando1957
Messages: 57
Registered: November 2007
Location: Wien/Vienna/Viden
Member
Hi to all,

Tried to run it at WIN2K with 2008.1, but got the following (excerpt):
C:/upp/out/MyUppApp/MINGW.Debug.Debug_full.Gui.Main\$blitz.o: In function `_ZN8MyUppApp11che
	ckConfigEv':
D:/upp/MyApps/MyUppApp/MyUppApp.cpp:313: undefined reference to `__imp__PathAppendA@8'
D:/upp/MyApps/MyUppApp/MyUppApp.cpp:315: undefined reference to `__imp__PathAppendA@8'
D:/upp/MyApps/MyUppApp/MyUppApp.cpp:339: undefined reference to `__imp__PathAppendA@8'
D:/upp/MyApps/MyUppApp/MyUppApp.cpp:340: undefined reference to `__imp__PathAppendA@8'
C:/upp/out/MyUppApp/MINGW.Debug.Debug_full.Gui.Main\$blitz.o: In function `_ZN7OptionsC1Ev':


The only files were "PathAppend" can be found in are "MyUppApp.cpp" and "Options.cpp". Interesting that following code:
#ifdef flagWIN32	
	TCHAR szPath[MAX_PATH];
	SHGetFolderPath(NULL, CSIDL_APPDATA, NULL, 0, szPath);
	PathAppend(szPath,"MyUppApp");
	PathAppend(szPath, cfgfile);
	fullpathtocfgfile = szPath;
#else
	fullpathtocfgfile = cfgfile;
#endif

can be found in both.
@Yeoh: that's intended? Seems to be redundant code.

Commenting one of them had the effect that the errors from before were gone, but got the missing "szPath", which is not a miracle.
Anyone has a hint for me please?

kind greets
Martin
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Shared object with auto locking strategy
Next Topic: Bazaar - Call of duty
Goto Forum:
  


Current Time: Fri Jul 18 07:24:45 CEST 2025

Total time taken to generate the page: 0.05155 seconds