|
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.
|
|
|
|
|
I'm changing the text in a control and I want to reposition the cursor at the end of the text after I display the text. What I'm doing doesn't work! The cursor is always set to the beginging of the text (due to the "SetFocus"). Any ideas?
NB: m_CheckNoCtrl is a control to the field!
m_CheckNoCtrl.SetWindowText(szTemp); // Paint new text in control
m_CheckNoCtrl.SetFocus(); // Set focus to control
int ndx = m_CheckNo.GetLength(); // Get the new length
SendMessage (EM_SETSEL, (WPARAM)ndx, (LPARAM)ndx);
|
|
|
|
|
Hi,
for me it works
CString sJaya("HELLOPSODPO");
c_numedit.SetWindowText(sJaya); // Paint new text in control
c_numedit.SetFocus(); // Set focus to control
int ndx = sJaya.GetLength ();
c_numedit.SendMessage (EM_SETSEL, (WPARAM)ndx, (LPARAM)ndx);
And i see that you are setting with one text and doing a getLength() on another wats that for .
Regards,
FarPointer
-- modified at 11:50 Wednesday 18th January, 2006
|
|
|
|
|
The GetLength()is on the variable I set up for the text.
However you solve my problem!
I changed the SendMessage (EM_SETSEL, (WPARAM)ndx, (LPARAM)ndx);
To: m_CheckNoCtrl.SendMessage (EM_SETSEL, (WPARAM)ndx, (LPARAM)ndx);
I overlooked specifing the control I was sending the message for!
It now works for me too.
Thanks!!!
|
|
|
|
|
This should be a no brainer. I am using Visual C++ 6.0. Because I want to use fseek() I declare a file of FILE* filename and then use filename = fopen(path, "r+"). I can read from the file but when I try to write (using fprintf() and fwrite()) to the file nothing changes in the file I am reading from and trying to write to. I have also tried "rt+". I receive no errors. Is there something basic I'm not aware of?
Buck
|
|
|
|
|
See if this helps!
When the "r+", "w+", or "a+" access type is specified, both reading and writing are allowed (the file is said to be open for “update”). However, when you switch between reading and writing, there must be an intervening fflush, fsetpos, fseek, or rewind operation. The current position can be specified for the fsetpos or fseek operation, if desired.
|
|
|
|
|
Hi,
According to the MSDN library at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_crt_fopen.2c_._wfopen.asp
they say
"When the "r+", "w+", or "a+" access type is specified, both reading and writing are allowed (the file is said to be open for "update"). However, when you switch between reading and writing, there must be an intervening fflush, fsetpos, fseek, or rewind operation. The current position can be specified for the fsetpos or fseek operation, if desired."
So it looks like you will have to reset the open file pointer to the appropriate position before switching between reading and writing operations. If possible, it may be more convenient for you to read and write using separate sessions.
Hope this helps.
Paul
|
|
|
|
|
The executable has been developed in Borland C++ 6.0. I need to store the user login and password in windows registry, so that each time the user doesn't have to type in his username and password when he runs the exe.
Many Thanks,
Priya
|
|
|
|
|
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
|
|
|
|
|
You better encrypt the password before storing it there.
Regards,
Nish
|
|
|
|