|
I'm sorry, I don't speak Spanish to help you, But I'm having a blast just trying figure out what you want to do/what is the problem ...
As far as I can read :
You have a program that sends data to the serial port, but there's a problem, the data is either coded or encrypted ( bummer ! ). But in particular you have someone using the hyperterminal with a VT100 emulation and that the data is decoded perfectly! and you're wondering why your application is not working like hyperterminal.
Am I close ?
Max.
|
|
|
|
|
Quick translation:
I've got Visual C++ program with source code for implementing data
sending and receiving through the serial port. Problem is that received
data come encoded. These data come from a machine connected to my
computer via the serial port. If instead of executing my app I run
Windows Hyperterminal instructing it to emulate VT100 data are
received OK and displayed properly on the screen. What could I do
in order for my MFC based app to treat data the way Hyperterminal does.
Any answer would be most helpful. This is for my graduate project, which
I'd like to have completed as soon as possible. Many thanks in advance.
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
|
|
|
|
|
Could it be that the received data contains ANSI escape sequences which, while handled correctly by the terminal, may show up looking like garbage data when viewed directly?
In that case, look up VT100 ANSI escape sequences.
Peace!
-=- James (Sonork:100.21837)
[Tip for SUV winter driving survival: "Professional Driver on Closed Course" does not mean "your Dumb Ass on a Public Road"!] [Get Check Favorites 1.5 Now!]
|
|
|
|
|
This is a traduction in english that someone have done for me:
I've got Visual C++ program with source code for implementing data
sending and receiving through the serial port. Problem is that received
data come encoded. These data come from a machine connected to my
computer via the serial port. If instead of executing my app I run
Windows Hyperterminal instructing it to emulate VT100 data are
received OK and displayed properly on the screen. What could I do
in order for my MFC based app to treat data the way Hyperterminal does.
Any answer would be most helpful. This is for my graduate project, which
I'd like to have completed as soon as possible. Many thanks in advance.
Thank you for your interest for trying to translate it. If you have a solution for my problem plese tell it to me in english.
Ayuda para mi proyecto fin de carrera!!!!!!!!!!!!!
Help about my final course proyect
|
|
|
|
|
I'm sorry, I can't give you help, but have you looked at the VT100 specification ?
vt100(vt220) specs[^]
maybe this can help !
Max.
|
|
|
|
|
I want to manually create a wave file in VC++
and i also want to transfer data between these files
kindly give me some algorithms relating to that.
i am waiting ...........
Hamza.
|
|
|
|
|
I have a 3rd party activeX control that I am using in a FormView. I want to expose this object to the VBA IDE (which I have hooked into the application). Has anyone been able to do this or could give me an idea of how to get it done?
Thanks
Zac
"If I create everything new, why would I want to delete anything?"
|
|
|
|
|
I would like to access the data to SQL server on a remote machine. Are there any issues when connecting via an IP address vs. writing my own server and marshalling the queries through it. I would prefer to connect directly so I have all the power of recordsets locally in my application.
Some of the issues I would like to know about are:
1) Security - Does the data come in a raw format with the schema and everything?
2) Performance - What kind of overhead does the transfer make?
3) Usability - Is it really as easy as connecting to SQL server on a local machine?
4) Anything else I should know
Cheers,
Clint
|
|
|
|
|
1) Security - Does the data come in a raw format with the schema and everything?
I never looked at it using a sniffer, so I do not know for sure, but I would quess that the only schema-specific information passed across is what you asked for. For example, if you did a query for SELECT ColA, ColB FROM SomeTable , I would not expect to have information about the entire schema passed across the wire, just information on the two requested columns (type, length, precision, etc).
2) Performance - What kind of overhead does the transfer make?
The only time I notice a real difference is speed is when my connection to the remote server is going slower than normal. For example, if you are located on the same network as the server, with little traffic on the wire, your performance is going to be pretty good. I would wager that the overhead is less than you would have using DCOM...
3) Usability - Is it really as easy as connecting to SQL server on a local machine?
It always has been for me. You should be able to connect to a remove machine name or even an IP Address just as easily as typing in the name of your local machine.
4) Anything else I should know
Many other database-based applications are done in two or more separate physical tiers, so what you are trying to do is pretty "normal".
Peace!
-=- James (Sonork:100.21837)
[Tip for SUV winter driving survival: "Professional Driver on Closed Course" does not mean "your Dumb Ass on a Public Road"!] [Get Check Favorites 1.5 Now!]
|
|
|
|
|
Hi!
I need to reinstall my windows in a few weeks, and thus remove all programs. But I want to save my Visual Studio preferences (such as colors, include/lib-paths etc.) and restore them upon reinstall. Where can I find them?
thanks in advance
modified 12-Sep-18 21:01pm.
|
|
|
|
|
Check the settings under this registry key.
HKEY_CURRENT_USER\Software\Microsoft\DevStudio\6.0
Hope this helps.
// Fazlul
|
|
|
|
|
Great, this seem to be all settings. Thanks a lot!
modified 12-Sep-18 21:01pm.
|
|
|
|
|
In windows registry at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\.
Pavel
Sonork 100.15206
|
|
|
|
|
Hello...
ENVIRONMENT:
Windows 2k sp3
INTRODUCTION:
I've been for two days making a derived class that intends to automate the resizing of a property sheet.
I'm trying to be able to create a property sheet and only passing a CRect to one of its functions get all that property sheet, its tabcontrol and so on resized properly...
I've noticed that the MoveWindow and SetWindowPos behaviour changes depending on the visibility of the taskbar.
At least when I try to move a button to the bottom part of the screen it gets positioned different depending on the visibility of the taskbar.
QUESTION:
Could somebody explain why this happens, tell me any way to avoid it or to manage the resizings taking care of that?
I would like to be able to resize as I would like to do not depending on the taskbar state.
NOTE:
I've been using this code:
<br />
this->m_rectPS.left = 0;<br />
this->m_rectPS.right = ::GetSystemMetrics(SM_CXSCREEN); this->m_rectPS.top = 0;<br />
this->m_rectPS.bottom = ::GetSystemMetrics(SM_CYSCREEN);
<br />
<br />
ResizePS(this->m_rectPS);
<br />
the property sheet is being resized properly, but it's buttons not, and they are what seems to depend on the taskbar... (using movewindow)
As always thank you in advance...
|
|
|
|
|
The reason why the taskbar matters, or any appbar for that matter, is because of the available workspace area. There is desktop size, which is the size of your resolution, and the workarea that is the space that is available to a maximized window.
You can determine the amount of availble workarea by the ::SystemParametersInfo function.
BTW, WTL provides a lot of great support for basic window manipulation, and it even has a dialog resize class that I have used for property sheets.
Good Luck
Build a man a fire, and he will be warm for a day Light a man on fire, and he will be warm for the rest of his life!
|
|
|
|
|
With SystemParametersIfo can I set a new workspace area?
If so, could this mean that I would be able to resize everything without worrying if the taskbar is visible or not?
That would be great for me...
sorry about my next 2 questions but...
1. could you send a little example of how to do this? (if its possible to do it and you don't mind helping me...)
2. I've listened a lot about WTL,ATL,STL... where can I find general information about those libraries? I'm curious about them...
|
|
|
|
|
First of all tahnk you for your reply!
Paul Watt wrote:
Yes, but let me ask a question? Are you centering windows and stuff, because I was not really clear what kind of issues that you are seeing with your MoveWindow calls. The most important thing that I have learned is that the Workarea value should be used when you are centering windows because there may be other appbars present, not just the windows taskbar.
There must not be any problem with that in my case...
I'm making apps that are used in order to control machines with numerical controls, and my apps start from a service at the very beggining and I avoid the user to reach the OS with system wide keyboard hooks.
Then what I need is to be capable to resize and move windows using always the same method, and as I developed a class for it, what could be better than being able to do the same work not depending on the state of the taskbar...
The kind of issues that I've seen are:
- Incorrect positioning of buttons when they should be placed where the taskbar area is.
- Window positioning incorrect after moving it to get the full screen.
I'll try to set the new workspace area getting the monitor resolution and then try to resize the windows that should maximize using only pWnd->ShowWindow(SW_SHOW_MAXIMIZED);
NOTE:
I'll take a look at msdn in order to document myself about those libraries.
|
|
|
|
|
Thank you for your reply again!
I've been trying to correct my functions and it has worked all OK after using SystemParametersInfo...
The only thing that could be better is that if I use ShowWindow(SW_SHOWMAXIMIZED) the window flickers, first it gets positioned in the normal workarea, and after that it gets automatically positioned over all the screen.
But after two days thinking and getting mad about that I'm so happy, I have been able to solve this...
I was really getting mad...
Thanks again!
|
|
|
|
|
HI, I have a normal MDI applications with several views. I want that some of these views should always be on top, even if one view below these ontop views is activated. Is that possible at all to have an activated view below a non activated one?
Thanks, Patirc
|
|
|
|
|
One solution is to have the view call SetFocus() when applicable.
Kuphryn
|
|
|
|
|
? Any ideas.
Let's say I have a CDialog with static text and one OK button. How can
I make this compatiable with a RedHat Linux 7.0 operating system? Is
it possible? Do I need to add something to my project? Please let me know.
Any response any one can give me will be greatly appreciated.
Sincerely,
Danielle (an overworked graduate student)
|
|
|
|
|
Don't use MFC. Use a crossplatform framework like Qt[^] or wxWindows[^].
Pavel
Sonork 100.15206
|
|
|
|
|
I'm going to say that it's because MFC isn't included in Redhat Linux.
You might need to use a GUI that portable.
That's why I ramble so much. If you're short and quotable, there's a much greater danger of ending up in a sig.
[Christopher Duncan on how to prevent yourself from ending up in a sig]
|
|
|
|
|
Does someone know whether EventViewer uses an ActiveX control in order to manipulate the event logs. If so, where is it documented? I cannot find any materials about that. (My intention is to use that ActiveX control in an MFC application.)
Thanks in advance.
|
|
|
|
|
Is MASM part of VC++? If not, does VC++ have a MASM mode allowing it to assemble inline assembly code?
/ravi
Let's put "civil" back in "civilization"
http://www.ravib.com
ravib@ravib.com
|
|
|
|