|
manishgandhi wrote:
we want to transefer one file from one pc to another.
please give me code in VC++.
How? RS-232, tcp, ... ?
manishgandhi wrote:
when we run any Windows program in VC++ linking error was arise.
error was like . unresolved symbol : _beginthreadex
unresolved symbol : _endthreadex
That's bcause you are compiling with /MT flag activated (multithread option)and your libc.lib seems that it doesn't support it. Do you have this library? Read this[^] for info.
Marc Soleda.
... she said you are the perfect stranger she said baby let's keep it like this... Tunnel of Love, Dire Straits.
|
|
|
|
|
I am currently wokring on the server side applications of the project and i am using Visual Studio .NET and MFC to develop the server side applications. As for the server's user interface i am using MFC and my server's side user interface will receive the summary page from the client which is send by the customer using the Pocket PC to send the summary page. The summary page is the finalised orders made by the customers and it consists of the name of the food ordered, number of drinks, what type of desserts and including the special orders made by the customers. I am actually doing a project on the ordering of foods and my part is responsible for receiving the summary page which is the finalised food orders from the customers using the Pocket PC and my difficulties is how to program some intelligence in the server so that for eg .it can calculate the accumulated orders of the total of how many plates of chicken chops are ordered and how many drinks and dessert are ordered, pls help me i am really stuck!! yr help is very much appreciated
Claude
|
|
|
|
|
hi,
i have a MDI doc, in that i want the child frame to be able to move outside the main frame work-area when its restored, and when its maximized it shud fit the mainframe's work-area(ie, it shud maximize inside the mainframe)
ss
|
|
|
|
|
If it can move outside the main frame, then it is (probably) not a child of the main frame.
I am not saying it is not possible (you'll have to step outside of MFC to do it), but you have have just step into the twilite zone.
INTP
"The more help VB provides VB programmers, the more miserable your life as a C++ programmer becomes."
Andrew W. Troelsen
|
|
|
|
|
I wrote a program to send a file over rs233.
When I send a text file, it works correctly.
But When I send a Binary File It does not work correctly.
Because It assumes reach '\0'.How Can I send any File Correctly via serial port?
|
|
|
|
|
What are you using to read and write the file on each end? Are you indicating the the binary mode when you open each file?
--
jlr
http://jlamas.blogspot.com/[^]
|
|
|
|
|
Could any one please help me out in adding X button in right corner in tab ctrl and a show a spliter window in tab ctrl.
|
|
|
|
|
I was looking for the same, found a solution?
|
|
|
|
|
hi,
can I open the Dll or exe file with VC,if yes,how to do?
thanks
|
|
|
|
|
You mean "VC" as the Visual Studio IDE (for example to debug the EXE/DLL), or "VC" as C++ code in some program of yours? If the former, you can go through the "Open Project" menu and select the EXE/DLL file. If the latter, it depends on how you want to open it (i.e.: what you want to do with it).
--
jlr
http://jlamas.blogspot.com/[^]
|
|
|
|
|
I use Visual studio 6.0,I want to open exe or dll file to see C++ code,just do"go through the "Open Project" menu and select the EXE/DLL file",what to do else?
Thanks!!
|
|
|
|
|
Anonymous wrote:
,I want to open exe or dll file to see C++ code,just do"go through the "Open Project" menu and select the EXE/DLL file",what to do else?
you are asking for impossible thing(In today scenario atleast)! you can't see the source code by opening the dll/exe in Visual Studio.
And how are you so Sure that, that Executable was written in c++?
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
ThatsAlok wrote:
you are asking for impossible thing
unless he uses a decompiler, which is of course, absolutely forbidden if he doesn't own the code (which seems to be)...
moreover, the code won't be perfectly written back to how the owner wrote the code
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
toxcct wrote:
he uses a decompiler
I have never seen a decompiler in my Life! do u ?, Moreover how can Decompiler convert the code written in machine language to HighLevel langauge!, how could it possible!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
ThatsAlok wrote:
I have never seen a decompiler in my Life! do u ?
never what is hacking ?
ThatsAlok wrote:
Moreover how can Decompiler convert the code written in machine language to HighLevel langauge!, how could it possible!
that's its job... in fact, decompiling an exe in debug mode is very easy as the compiler inserted source informations (to allow to debug) ; with machine code, it has to identify the machine CPU (to know what language set is used), and so regenerates - awfully - a C++ code which is an interpretation of what it found in the binary...
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
toxcct wrote:
in fact, decompiling an exe in debug mode is very easy as the compiler inserted source informations (to allow to debug) ; with machine code
But I believe Software Vendors doesn't deliver you Debug mode applications!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
that's certain !!
buty imagine the case you'd like to see how your own code is generate (not in asm), this would be an easy way to do that...
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
toxcct wrote:
you'd like to see how your own code is generate (not in asm), this would be an easy way to do that...
Yeah I know that ......
And what about the Article!, we are already One month late!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
ThatsAlok wrote:
And what about the Article!, we are already One month late!
yes, i'm sorry, but it seems that we can't synchronize
are my mails losts ?
as i requested you before you went off, you told me you'd provide an HTML template for me for me to write the article.
can't you still connect to msn ?
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
toxcct wrote:
i requested you before you went off, you told me you'd provide an HTML template for me for me to write the article.
Check you mail!
toxcct wrote:
can't you still connect to msn ?
nope, still yahoo only!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
I do this in windows forms app with multiline textbox
String *s;
s = "helo";
TraceBox->Lines->Add(s);
and it results:
An unhandled exception of type 'System.NotSupportedException' occurred in mscorlib.dll
Additional information: Collection was of a fixed size.
Why?
9ine
|
|
|
|
|
If I were to guess I'd say the Lines in the TraceBox are a fixed-size collection, so you aren't allowed to call Add on it. But I can't say for sure, because I don't know what is the type of TraceBox...
--
jlr
http://jlamas.blogspot.com/[^]
|
|
|
|
|
TraceBox is just a name of the Text Box:
private: System::Windows::Forms::TextBox *TraceBox;
and its MaxLenght variable set to pretty large size.
It is like EditBox in VC++.
9ine
|
|
|
|
|
9ine wrote:
TraceBox is just a name of the Text Box
Oops! Sorry, I missed it in the title of your post.
I don't think you can add lines in that way. In the help for the Lines property there's a note that says: "By default, the collection of lines is a read-only copy of the lines in the TextBox. To get a writable collection of lines, use code similar to the following: textBox1.Lines = new string[] { "abcd" }; "
But adding lines to a copy of the collection isn't the same as adding lines to the textbox, either. Why don't you simply use something like this:
String *s;
s = "\nhelo";
TraceBox->AppendText(s);
Hope that helps,
--
jlr
http://jlamas.blogspot.com/[^]
|
|
|
|
|
Yes it works, thanks
9ine
|
|
|
|