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 » Community » Newbie corner » MSVC 10 to Upp conversion
Re: MSVC 10 to Upp conversion [message #32785 is a reply to message #32773] Thu, 09 June 2011 10:38 Go to previous messageGo to previous message
nlneilson is currently offline  nlneilson
Messages: 644
Registered: January 2010
Location: U.S. California. Mojave &...
Contributor
Hi Koldo

We just got back tonight as something came up and had to get back early.

That is strange, I have not seen that error before.
I will look at that tomorrow.

Here is a .zip of ntile and also the GUI NLN_tile where ntile is included.
http://www.nlneilson.com/apps/01.zip

Here is how it is tied in:
    void Work(){
		FileOut out("nt.bat");
		if(!out) {
		    Exclamation("Unable to open [* " + DeQtf(cfgfile));
		    Break();
		}
		out.PutLine("call cd C:\\0-Neil\\FAA\\2011\\Sectionals");	
//		out.PutLine("call ntile.exe  tile --lztsd 10.0 --wwcache --overviews  0nt5 LA_clip.tif"); // 2	
//		out.PutLine("pause"); // 2	
		out.Close();
		system ("nt.bat");
		ntile(????????);


It took me a while to figure this out:
#include "ntile.cpp"

ntile.exe has been working OK and when nt.bat is made it works with the GUI, here I just hard coded the data in the nt.bat file, renamed main in ntile.cpp to ntile and commemted the argv hard coded in ntile.cpp and un commented this line:
		out.PutLine("call ntile.exe  tile --lztsd 10.0 --wwcache --overviews  0nt5 LA_clip.tif");


I have not figured out how to pass the argv from the GUI to the ntile function.

[Updated on: Thu, 09 June 2011 11:00]

Report message to a moderator

 
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
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: Please recommend a scripting language
Next Topic: String to std::string conversion
Goto Forum:
  


Current Time: Mon May 12 20:33:57 CEST 2025

Total time taken to generate the page: 0.03724 seconds