Click here to Skip to main content
15,867,686 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Studio amd asm code Pin
Rage16-Jan-07 1:30
professionalRage16-Jan-07 1:30 
GeneralRe: Studio amd asm code Pin
DanB198316-Jan-07 1:45
DanB198316-Jan-07 1:45 
QuestionRe: Studio amd asm code Pin
David Crow16-Jan-07 3:11
David Crow16-Jan-07 3:11 
AnswerRe: Studio amd asm code Pin
DanB198316-Jan-07 3:30
DanB198316-Jan-07 3:30 
GeneralRe: Studio amd asm code Pin
David Crow16-Jan-07 4:04
David Crow16-Jan-07 4:04 
GeneralRe: Studio amd asm code Pin
DanB198316-Jan-07 5:00
DanB198316-Jan-07 5:00 
GeneralRe: Studio amd asm code Pin
David Crow16-Jan-07 5:42
David Crow16-Jan-07 5:42 
GeneralRe: Studio amd asm code Pin
James R. Twine16-Jan-07 6:51
James R. Twine16-Jan-07 6:51 
DanB1983 wrote:
The problem is that I have an asm function that writes to video memory called ClearRectangle(BYTE left, BYTE top, BYTE right, BYTE bottom, BYTE colour).


   This is a little OT, but is this from an older (256-color) DOS-based application?  You cannot (easily) write directly to video memory from a normal Win32 application, so I am not sure that this will work correctly even after you resolve the linking problem.  We have come a long way from the days of ModeX programming. Smile | :)

   It looks like a character-based operation, but I figured I would make sure - given that the function takes no parameter to indicate which console window to use, or what address to write to...

   Also, BYTE is normally typedefed to unsigned char.

   Peace!

-=- James
Please rate this message - let me know if I helped or not!<HR>If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
See DeleteFXPFiles

GeneralRe: Studio amd asm code Pin
DanB198316-Jan-07 8:39
DanB198316-Jan-07 8:39 
GeneralRe: Studio amd asm code Pin
James R. Twine16-Jan-07 11:43
James R. Twine16-Jan-07 11:43 
QuestionAbout Dialog BackGround images.. Pin
klvin15-Jan-07 23:14
klvin15-Jan-07 23:14 
AnswerRe: About Dialog BackGround images.. Pin
QuickDeveloper16-Jan-07 0:28
QuickDeveloper16-Jan-07 0:28 
AnswerRe: About Dialog BackGround images.. Pin
Hamid_RT16-Jan-07 1:12
Hamid_RT16-Jan-07 1:12 
QuestionRe: About Dialog BackGround images.. Pin
prasad_som15-Jan-07 23:16
prasad_som15-Jan-07 23:16 
AnswerRe: About Dialog BackGround images.. Pin
toxcct15-Jan-07 23:25
toxcct15-Jan-07 23:25 
JokeRe: About Dialog BackGround images.. Pin
prasad_som15-Jan-07 23:27
prasad_som15-Jan-07 23:27 
GeneralRe: About Dialog BackGround images.. Pin
toxcct15-Jan-07 23:36
toxcct15-Jan-07 23:36 
GeneralRe: About Dialog BackGround images.. Pin
prasad_som16-Jan-07 0:49
prasad_som16-Jan-07 0:49 
Questionhow to change font of resources used in application? Pin
Atul2315-Jan-07 23:00
Atul2315-Jan-07 23:00 
AnswerRe: how to change font of resources used in application? Pin
Rajesh R Subramanian15-Jan-07 23:10
professionalRajesh R Subramanian15-Jan-07 23:10 
AnswerRe: how to change font of resources used in application? Pin
jhwurmbach15-Jan-07 23:10
jhwurmbach15-Jan-07 23:10 
AnswerRe: how to change font of resources used in application? Pin
Hamid_RT16-Jan-07 1:23
Hamid_RT16-Jan-07 1:23 
QuestionPortable C++ IDE Pin
Turkoglan15-Jan-07 22:56
Turkoglan15-Jan-07 22:56 
AnswerRe: Portable C++ IDE Pin
Don Box15-Jan-07 23:07
Don Box15-Jan-07 23:07 
GeneralRe: Portable C++ IDE Pin
toxcct15-Jan-07 23:20
toxcct15-Jan-07 23:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.