|
looks like the string id isnt representing a string in your resource. Make a "Rebuild all" and look whether the id is a valid string.
Greetings from Germany
|
|
|
|
|
I have tried rebuild all and did not work...
|
|
|
|
|
yellowine wrote: Anyone know what the problem is?
Have you set a breakpoint on that statement to see what the value of nIDSTitle is, or how about stepping into the LoadString() method to see what it is returning?
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
|
|
|
|
|
Tried step into debug, nIDSTitle seems to be the standard AFX_IDS_OPENFILE (61440).
It seems the standard AFX_IDA_... are defined in afxres.rc, how how comes this file is not included in the project. Therefore it seems to be related to project setting to solve it. Just dunno.
Any idea?
|
|
|
|
|
MFC wants that you assign a string to AFX_IDS_OPENFILE
Greetings from Germany
|
|
|
|
|
|
Andy202 wrote: So what type (static or dymanic etc) of shared library should I be looking at.
Cannot you provide both?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Does anyone know whether it is possible to install a Caption Bar , Like the one created in VS2008 thru the wizzard, for an old VS6.0 program? I want to refresh the look and feel of the VS6.0 program without having to rewrite it in a new VS2008 program. Is this possible? Please identify how with some code snippets please.
A C++ programming language novice, but striving to learn
|
|
|
|
|
38 minutes old and this post is already on Google. Amazing.
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
|
|
|
|
|
Hiho
I have a problem creating a standard MFC dialog based app using Visual Studio 2008. I created a blank dialog based app with MFC static linked copied it to a NT 4.0 environment with SP6a but an error that this app will not run under this OS occured. There is no clr enabled. Has Somebody similar problems ?
Greetings Torben
|
|
|
|
|
Try removing the application's manifest file, which may be an actual file, or may be embedded in the app's resources.
Note that if you used any advanced (WinXP and above) controls, like the Hyperlink control, or features like Grouping in the ListView control, the app may not work correctly.
Peace!
-=- James Please rate this message - let me know if I helped or not!<hr></hr> If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! See DeleteFXPFiles
|
|
|
|
|
You better look for a version of the good and old VS 6
Greetings from Germany
|
|
|
|
|
What was the *exact* text of the error message?
|
|
|
|
|
I am using tubo c explorer
I want to get a file name from file list box(TFileListBox)
like FileListBox1->FileName which is an
AnsiString and use it in create process
which needs LPTSTR.I also have to provide
the console exe name and parameters.
I m new to c++ I used javascript before
please help.
|
|
|
|
|
You may use CreateProcessA and pass the filename just as it stands.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Hi All,
I have created my application installer using vs 2005 setup and deployment project.
When i double click it it inatall my application and one more double click it uninstall the application. Well when the uninstall is finished the last dialog form's header text says "Installation Completed" Why????
How can i change it to Uninstallation Completed" ??
Tarun Sharma.
|
|
|
|
|
I writing some application that use CFtpConnection to download some files from some ftp server.
This part of my code is base on some Do..While loop that try to download one or more file(s) and after the download the do..while loop stop.
I found out that in case that the ip address that i try to connect ( the ftp server ) is not exist or not valid than i have infinite loop in the do..while.
I don't know how can i check if the ip address is valid.
I don't know if i can check if my connection is success or if i even have any access to the ftp server.
I don't know how to solve this problem.
Thanks for any help.
|
|
|
|
|
I guess the CFtpConnection has methods returning failure or success.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Yes,
But for some reason i get back this connection as success and not failure.
|
|
|
|
|
Supposing the connection returning OK, what about the GetFile method?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
How can it be a successful connection with an invalid IP address?
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
|
|
|
|
|
check every return code of failure or at last you can work with a timeout.
Greetings from Germany
|
|
|
|
|
How can i define Time out to the ftp connection in this case ?
|
|
|
|
|
You must take a start time before doing ftp and compare it with the actual time after some ftp action.
But i cannot believe that you get no error code. Please post the ftp in the first/original/root message
Greetings from Germany
|
|
|
|
|
Post your code!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
Peter Weyzen<br />
Staff Engineer<br />
<a href="http://www.soonr.com">SoonR Inc -- PC Power delivered to your phone</a>
|
|
|
|