Click here to Skip to main content
15,897,273 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Looking for a Library... Pin
valikac1-Aug-06 16:15
valikac1-Aug-06 16:15 
GeneralRe: Looking for a Library... Pin
bob169721-Aug-06 18:07
bob169721-Aug-06 18:07 
GeneralRe: Looking for a Library... Pin
Bob X2-Aug-06 11:14
Bob X2-Aug-06 11:14 
QuestionCan a program minimise itself ? Pin
cgb1431-Aug-06 11:51
cgb1431-Aug-06 11:51 
AnswerRe: Can a program minimise itself ? Pin
Jörgen Sigvardsson1-Aug-06 12:50
Jörgen Sigvardsson1-Aug-06 12:50 
Question"this" pointer for thread seems does not work [modified] Pin
zhijia.yuan1-Aug-06 11:38
zhijia.yuan1-Aug-06 11:38 
AnswerRe: "this" pointer for thread seems does not work Pin
Michael Dunn1-Aug-06 19:33
sitebuilderMichael Dunn1-Aug-06 19:33 
QuestionCan't send register value to port 0x43 Pin
Heinz_1-Aug-06 11:00
Heinz_1-Aug-06 11:00 
Hi, with assembler code embedded in my c++ code i'm trying to send a value to I/O port 0x43 (8254 timer control) but the program crashes at this point, i'm using digital mars c++ compiler wich has an inline assembler, also tried mingw and it's worst (it doesn't even compile), here are the asm lines:

asm
{
mov AL, 0xB6;
out 0x43, AL; // It crashes in this line.
mov AL, 54;
out 0x42, AL;
mov AL, 124
out 0x42, AL;
in AL, 0x61;
or AL, 0x3;
out 0x61, AL;
in AL, 0x61;
and AL, 0xFC;
out 0x42, AL;
}

I've also tried embedding this code into other languages like D, but it throws a win32 exception.

What's wrong man? thx
QuestionRice Compression Pin
masnu1-Aug-06 9:32
masnu1-Aug-06 9:32 
QuestionRe: Rice Compression Pin
David Crow1-Aug-06 10:22
David Crow1-Aug-06 10:22 
AnswerRe: Rice Compression Pin
masnu1-Aug-06 10:25
masnu1-Aug-06 10:25 
GeneralRe: Rice Compression Pin
David Crow2-Aug-06 2:54
David Crow2-Aug-06 2:54 
Questionhow can i implement acelp encoding? Pin
premium11-Aug-06 7:34
premium11-Aug-06 7:34 
AnswerRe: how can i implement acelp encoding? Pin
Ravi Bhavnani1-Aug-06 7:48
professionalRavi Bhavnani1-Aug-06 7:48 
QuestionOpening a Picture File and displaying it in a pictureBox Pin
michmela441-Aug-06 7:22
michmela441-Aug-06 7:22 
AnswerRe: Opening a Picture File and displaying it in a pictureBox Pin
Programm3r1-Aug-06 7:31
Programm3r1-Aug-06 7:31 
GeneralRe: Opening a Picture File and displaying it in a pictureBox Pin
michmela441-Aug-06 7:36
michmela441-Aug-06 7:36 
AnswerRe: Opening a Picture File and displaying it in a pictureBox Pin
Ravi Bhavnani1-Aug-06 7:31
professionalRavi Bhavnani1-Aug-06 7:31 
QuestionRe: Opening a Picture File and displaying it in a pictureBox Pin
David Crow1-Aug-06 7:37
David Crow1-Aug-06 7:37 
QuestionRe: Opening a Picture File and displaying it in a pictureBox Pin
michmela441-Aug-06 7:40
michmela441-Aug-06 7:40 
AnswerRe: Opening a Picture File and displaying it in a pictureBox Pin
michmela441-Aug-06 7:58
michmela441-Aug-06 7:58 
AnswerRe: Opening a Picture File and displaying it in a pictureBox Pin
Ravi Bhavnani1-Aug-06 7:45
professionalRavi Bhavnani1-Aug-06 7:45 
AnswerRe: Opening a Picture File and displaying it in a pictureBox Pin
Ravi Bhavnani1-Aug-06 8:14
professionalRavi Bhavnani1-Aug-06 8:14 
QuestionRe: Opening a Picture File and displaying it in a pictureBox Pin
michmela441-Aug-06 8:06
michmela441-Aug-06 8:06 
GeneralRe: Opening a Picture File and displaying it in a pictureBox Pin
michmela441-Aug-06 8:27
michmela441-Aug-06 8:27 

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.