I upgraded a legacy C++ application from Visual Studio 6.0 to Visual Studio 2008. The application mimics the front panel of a fire alarm system and is implemented by overlaying a bitmap drawing of the fire alarm panel with hidden button controls. When the VS 6.0 version was run with a resolution different than what was originally used to create it, the bitmap and the button controls became misaligned. After upgrading to Visual Studio 2008, this misalignment problem went away(!), so that I could run at any resolution.
A problem that occurred was that when I gave the .EXE to someone else to try on their machine, they received an error dialog that read:
“This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.”
When I looked at the system error log, I saw the following 3 errors had occurred:
1) Source: SideBySide
Description: Generate Activation Context failed for ...\Panel.exe. Reference error message: The operation completed successfully.
2) Source: SideBySide
Description: Resolve Partial Assembly failed for Microsoft.VC90.MFC. Reference error message: The reference assembly is not installed on your system.
3) Source: SideBySide
Description: Dependent Assembly Microsoft.VC90.MFC could not be found and Last Error was The referenced assembly is not installed on your system.
Thanks. I didn't mention that I had the user do that because my original question was already long enough. What happened after he did that though was that the application ran, BUT it repeated the behavior that had been seen using VS 6.0 which was that the buttons and the bitmap became misaligned. When I run the app created with VS 2008 on my machine, the buttons and the bitmap stay aligned no matter what screen resolution I use.
I'm going to now have to go back and verify what happens if I run the original executable created with VS 6.0 on my machine.
As Chris says, ASCII is a standard coding and you can't change it, we won't let you. However, are you asking if you can change what is actually displayed when you print a particular ASCII character? If that's your question, then the answer is yes. Create your own font. Check out Dingbats for an example of how crazy you can get with that.
You measure democracy by the freedom it gives its dissidents, not the freedom it gives its assimilated conformists.
Well, there's ASCII and ASCII. (you probably don't mean ASCII, but ANSI, which is Windows-1252. ASCII is a seven-bit encoding scheme from days gone by)
I suppose you see funny characters on the screen, and you're wondering where they come from.
First, someone may have changed you code page.Google or Bing code page and you'll find instructions on how to set your code page in most Operating systems. Vista and seven don't have code pages anymore, because they use Unicode all over the place, and don't support old dos 16-bit programs anymore. The ASCII table still lingers as the first 128 characters of Unicode.
Does this put you on your way?
thanks a lot everyone, realy.
an example, in the C program. ı had wanted:
when I take "A" from keyboard, C understand it "65" Ascii.because computer run with ascii you know. like that: if('A'==65) printf("yes, this A");
ı can do this with a few variable in the program. but it s real just in that file. not anwhere apart from that c program.
thats what ı had want
ıf ı could, ı chanced it from source ( ı dont know, where is the source in operating system, in debugger or maybe in hardware )
like a frind it s nonsense.
again so thanks. ı stopped to find a way