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: My Simple U++ Application [message #7226 is a reply to message #6013] Tue, 19 December 2006 01:03 Go to previous messageGo to next message
Balage is currently offline  Balage
Messages: 17
Registered: December 2006
Promising Member
I cannot download. Zero bytes come down.
Why's that?
Re: My Simple U++ Application [message #7233 is a reply to message #7226] Tue, 19 December 2006 09:25 Go to previous messageGo to next message
forlano is currently offline  forlano
Messages: 1185
Registered: March 2006
Location: Italy
Senior Contributor
Balage wrote on Tue, 19 December 2006 01:03

I cannot download. Zero bytes come down.
Why's that?


Hello,

do not try to open directly, but at the download prompt use save option instead. Then it should appear.
Luigi
Re: My Simple U++ Application [message #7234 is a reply to message #6013] Tue, 19 December 2006 10:10 Go to previous messageGo to next message
Balage is currently offline  Balage
Messages: 17
Registered: December 2006
Promising Member
That's not the problem. It's after I save the file (with Firefox), the resulting file is 0 bytes in size.

If I try with konqueror, I can also select the dl dir, but as soon as the dl begins, I get this:
"Connection to host www.ultimatepp.org is broken."
Re: My Simple U++ Application [message #7238 is a reply to message #7234] Tue, 19 December 2006 11:02 Go to previous messageGo to next message
zsolt is currently offline  zsolt
Messages: 696
Registered: December 2005
Location: Budapest, Hungary
Contributor
I think, uploaded files disappeared after forum migration.
Re: My Simple U++ Application [message #7250 is a reply to message #6013] Tue, 19 December 2006 15:12 Go to previous messageGo to next message
yeohhs
Messages: 75
Registered: November 2005
Location: Malaysia
Member
Hi,

I've uploaded the latest version.
It now uses some Windows specific code for storing the config file.

Also, wrote the initial draft Table of Contents in the Topic++ file and will be planning and writing the tutorial in the Topic++ files. Wink

Best Regards,
Yeoh
--
Obsolete attachment deleted.

[Updated on: Fri, 22 December 2006 14:06]

Report message to a moderator

Re: My Simple U++ Application [message #7328 is a reply to message #6013] Fri, 22 December 2006 14:05 Go to previous messageGo to next message
yeohhs
Messages: 75
Registered: November 2005
Location: Malaysia
Member
Hi,

This version uses Upp namespace.

Merry Christmas and a Happy 2007 to all. Smile

Best Regards,
Yeoh
--

Re: My Simple U++ Application [message #7415 is a reply to message #7250] Thu, 28 December 2006 10:44 Go to previous messageGo to next message
AngelPortal is currently offline  AngelPortal
Messages: 13
Registered: December 2006
Promising Member
could tell me how to compile the program?
I new on U++ and would like to have some tips in how to use it.

Angel Portal
angelp@correios.net.br
Re: My Simple U++ Application [message #7416 is a reply to message #7415] Thu, 28 December 2006 10:49 Go to previous messageGo to next message
AngelPortal is currently offline  AngelPortal
Messages: 13
Registered: December 2006
Promising Member
all the iml file are empty!!!
Re: My Simple U++ Application [message #7428 is a reply to message #7415] Fri, 29 December 2006 06:11 Go to previous messageGo to next message
yeohhs
Messages: 75
Registered: November 2005
Location: Malaysia
Member
AngelPortal wrote on Thu, 28 December 2006 17:44

could tell me how to compile the program?
I new on U++ and would like to have some tips in how to use it.

Angel Portal
angelp@correios.net.br


Hi,

Use 7-Zip to unpack the 7z file into your MyApps folder. Then run TheIDE and you should see MyUppApp package in the MyApps assembly.

You can then open the MyUppApp package and compile the package.

Best Regards,
Yeoh
Re: My Simple U++ Application [message #7429 is a reply to message #7416] Fri, 29 December 2006 06:27 Go to previous messageGo to next message
yeohhs
Messages: 75
Registered: November 2005
Location: Malaysia
Member
AngelPortal wrote on Thu, 28 December 2006 17:49

all the iml file are empty!!!


Hi,

This is strange!

This version was built using Ultimate++ 612-dev2, compiled with MSC8 Optimal build and tested on Windows 2000.

Best Regards,
Yeoh
Re: My Simple U++ Application [message #8048 is a reply to message #7429] Mon, 05 February 2007 21:00 Go to previous messageGo to next message
DuncanShortland is currently offline  DuncanShortland
Messages: 45
Registered: January 2006
Member
Downloaded the myuppapp example successfully.

Compiling using 612-dev3 with MSC8 compiler.

Comes up with the following errors all in shlobj.h

The ID's before in first 4 cases are COORD and the last NETRESOURCE.


Any suggestions as to what I am doing wrong.

The errors:

D:\packages\Include\shlobj.h(1063) : error C2146: syntax error : missing ';' before identifier 'dwScreenBuffe
rSize'
D:\packages\Include\shlobj.h(1063) : error C4430: missing type specifier - int assumed. Note: C++ does not su
pport default-int
D:\packages\Include\shlobj.h(1063) : error C4430: missing type specifier - int assumed. Note: C++ does not su
pport default-int
D:\packages\Include\shlobj.h(1064) : error C2146: syntax error : missing ';' before identifier 'dwWindowSize'

D:\packages\Include\shlobj.h(1064) : error C4430: missing type specifier - int assumed. Note: C++ does not su
pport default-int
D:\packages\Include\shlobj.h(1064) : error C4430: missing type specifier - int assumed. Note: C++ does not su
pport default-int
D:\packages\Include\shlobj.h(1065) : error C2146: syntax error : missing ';' before identifier 'dwWindowOrigi
n'
D:\packages\Include\shlobj.h(1065) : error C4430: missing type specifier - int assumed. Note: C++ does not su
pport default-int
D:\packages\Include\shlobj.h(1065) : error C4430: missing type specifier - int assumed. Note: C++ does not su
pport default-int
D:\packages\Include\shlobj.h(1068) : error C2146: syntax error : missing ';' before identifier 'dwFontSize'
D:\packages\Include\shlobj.h(1068) : error C4430: missing type specifier - int assumed. Note: C++ does not su
pport default-int
D:\packages\Include\shlobj.h(1068) : error C4430: missing type specifier - int assumed. Note: C++ does not su
pport default-int
D:\packages\Include\shlobj.h(3577) : error C2146: syntax error : missing ';' before identifier 'nr'
D:\packages\Include\shlobj.h(3577) : error C4430: missing type specifier - int assumed. Note: C++ does not su
pport default-int
D:\packages\Include\shlobj.h(3577) : error C4430: missing type specifier - int assumed. Note: C++ does not su
pport default-int
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
Previous Topic: Shared object with auto locking strategy
Next Topic: Bazaar - Call of duty
Goto Forum:
  


Current Time: Thu Apr 18 08:49:34 CEST 2024

Total time taken to generate the page: 0.02310 seconds