|
Thanks a lot. I have solved my problem
I really appreciate you guys' help
|
|
|
|
|
Hi,
But i must warn you that if you have tried that code ,then even a focus created through tab( on the OK button ) wont be able to close the application , The best way is to use Pretranslatemessage
please check this link
http://www.flounder.com/messaging.htm[^]
Regards,
FarPointer
|
|
|
|
|
See here.
"The words of God are not like the oak leaf which dies and falls to the earth, but like the pine tree which stays green forever." - Native American Proverb
|
|
|
|
|
Hi ,
In that he says we should remove the CDialog::OnOk(), if thats the case then if the user wants the dialog to be closed on the ok button click how will that happen ,or we should create a new button with a different ID other that IDOK , if thats the case then i feel its too much of work and pretranslate message should be good enough.
Regards,
FarPointer
|
|
|
|
|
FarPointer wrote: In that he says we should remove the CDialog::OnOk(),
I think it's given to handle OnOk. So precisely it must do that. What we can do is that we can give a MessageBox prompting the user if he wants to close the dialog or not.
Jesus Loves <marquee direction="up" height="40" scrolldelay="1" step="1" scrollamount="1" style="background:#aabbcc;border-bottom:thin solid 1px #6699cc">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord
|
|
|
|
|
Hi
Does anybody know a viewer tool to see and extract the files from a setup.exe file generated by ISE 2.2 ?
Thank's for your help
Jérôme
|
|
|
|
|
I downloaded a program that simulates a UNIVAC computer and I wrote some code for it in C++ and I tried loading it as a servo. Can someone post the Assembly source code I should put in the univactest2.cpp and the univactest2.obj files. THE .CPP FILE SHOULD BE TRANSLATED INTO A .ASM FILE.
--------------------------
Eric
I still need to learn C++!
--------------------------
|
|
|
|
|
NO.
but less seriously, I don't understand what you are trying to do ? I assume the simulator reads some sort of UNIVAC language, and me think it's not x86 assembly; and more important, if it's a real UNIVAC simulator, I think it would be very hard to do C++ on it, even if could translate the C++ language to UNIVAC language it would be SOOO big that it would be useless.
Maximilien Lincourt
Your Head A Splode - Strong Bad
|
|
|
|
|
I honestly have no idea what you are talking about. Please give some hints so that we can help you.
Tuotrut wrote: I downloaded a program that simulates a UNIVAC computer
Where did you download it from ?
Tuotrut wrote: I tried loading it as a servo
What is a servo ?
Tuotrut wrote: the Assembly source code I should put in the univactest2.cpp and the univactest2.obj files
Which assembly code ? For what purposes ? for which plateform ? What yre the files you are talking about ? Are you aware that a .obj is already compiled and that you usually do not edit it per hand ?
Tuotrut wrote: THE .CPP FILE SHOULD BE TRANSLATED INTO A .ASM FILE.
Which cpp file ? I think that you can rename a file extension by yourself, don't you ?
~RaGE();
|
|
|
|
|
Rage wrote: Where did you download it from ?
I downloaded it from Simtel.net.
Rage wrote: What is a servo ?
I don't realy know. It's probaly some UNIVAC command that fell off the face of the earth.
Rage wrote: Which assembly code ? For what purposes ? for which plateform ? What yre the files you are talking about ? Are you aware that a .obj is already compiled and that you usually do not edit it per hand ?
Standard assembly code, standard purposes, Intel, I just want it translated from C++ to Standard Assembly, I don't want you to edit the .obj file by hand but I want you to translate it into assembly and compile it in an Assembly compiler that will create a .obj file, and I can tell you where to get an assembly compiler to.
Rage wrote: Which cpp file ? I think that you can rename a file extension by yourself, don't you ?
Of course I can but I want some one who knows Assembly and C++ to translate it from C++ into Assembly and then post it on the the fourms under this topic and about the C++ file, I will post it when someone wants to trasnslate it for me.
--------------------------
Eric
I still need to learn C++!
--------------------------
|
|
|
|
|
If you don't know exactly what you are writing about, imagine us trying to figure out want you want to do, please explain what you really want to do.
I don't think that you can "mecanically" generate a textual assembly listing for a C++ file, and I would think that it would take at least thousands of line of assembly to do simple stuff; and will be intelligible.
why do you want to have an assembly listing ? for educational purpose ? to use it in your UNIVAC simulator ? if so, it will not work; it's a different instruction set.
Maximilien Lincourt
Your Head A Splode - Strong Bad
|
|
|
|
|
Can someone give me a listing or guide of Assembly Commands?
--------------------------
Eric
I still need to learn C++!
--------------------------
|
|
|
|
|
|
There is a switch in VC that will output intel assmbly code. I have no Idea how this will help you with a UNIVAC which I know will not use Intel assembly but the switch is in the project settings. I would tell you the switch location but this depends on your version of VC.
John
|
|
|
|
|
I want it for educational purpose and to use it in my UNIVAC simulator. Sorry about the other message I accidently posted the other message, but I still want you to read it.
--------------------------
Eric
I still need to learn C++!
--------------------------
|
|
|
|
|
|
|
Hi All,
I have a serious issue here , one of my client has moved to server 2003 SP1 , that machine has dual processors. And my application is not working there , its giving excpetion . This is a socket bases multithreaded application .
Any sugesstions that what may be causing the problem ? security configuration or some dll thing ? or do I have to compile it on that machine ?
Regards,
ZINC
HELLO
|
|
|
|
|
I had a similar problem. I found I had to use the new "sockets" libs and API.(WINSOCK2)
|
|
|
|
|
Without any details on the exceptions can't say what the problem is. Most likely simply a timing bug which is better exposed on the system you are testing with than other systems (if it works on other systems).
8bc7c0ec02c0e404c0cc0680f7018827ebee
|
|
|
|
|
Hi,
I am trying to remotely debug a dll. I don't know how to set the project settings and how to set the debug combo box.
My executable on host machine is a exe file and the one on the target is a dll.
Please help to how to fix that.
Thanks in advance
|
|
|
|
|
Preeti9 wrote: My executable on host machine is a exe file and the one on the target is a dll.
Why is the executable on the target different than the source? To do remote debugging you usually map a network drive and load your project in vc on your development machine on the network drive and configure it to execute your program on the same network folder/drive letter on the remote machine.
John
|
|
|
|
|
Hi all,
Can a UDP Socket send/receive data from TCP Socket?
Actually I want to make an HTTP program that sends requests to the server, but my program design attracts me towrads UDP sockets, but HTTP is TCP based. Any solution?
Another Question:
If I create a TCP Socket, Can I use Raw sockets to hide my IP address, can I manage the TCP Data/header?
I want to send TCP data anonymously.
Any help is appreciated
Regards
And ever has it been that love knows not its own depth until the hour of separation
|
|
|
|
|
Hi.
For anyone that is fimilar with the GLUT library:
If I create a window using glutCreateWindow, and later close it (using the 'X' at the corner of the window), do I have to explicitly call glutDestroyWindow with the window's ID number (or is that function called automatically)?
Thank you.
|
|
|
|
|
I have just started to use named pipes for communication between programs and i was wondering if there is a method or tool available for viewing the data that is passing through them without having to actually create another program to connect between them? Something like an IP packet sniffer/capture program or a method to create one?
Thanks.
|
|
|
|