Click here to Skip to main content
15,894,252 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
SuggestionRe: ShellExecute() launch .CHM and PDF file not work in Window 7 Pin
Charles Oppermann25-Jul-12 6:59
Charles Oppermann25-Jul-12 6:59 
QuestionHow to test firewire communication using C program ? Pin
Code_Demon_198524-Jul-12 4:58
Code_Demon_198524-Jul-12 4:58 
GeneralRe: How to test firewire communication using C program ? Pin
CPallini24-Jul-12 6:35
mveCPallini24-Jul-12 6:35 
QuestionHow to Undo drawing a line in MFC.? Pin
mbatra3124-Jul-12 1:02
mbatra3124-Jul-12 1:02 
AnswerRe: How to Undo drawing a line in MFC.? Pin
Eugen Podsypalnikov24-Jul-12 3:14
Eugen Podsypalnikov24-Jul-12 3:14 
AnswerRe: How to Undo drawing a line in MFC.? Pin
Alan Balkany24-Jul-12 4:02
Alan Balkany24-Jul-12 4:02 
GeneralSDI application with 3 views [SOLVED] Pin
ekinnh23-Jul-12 22:23
ekinnh23-Jul-12 22:23 
GeneralRe: SDI application with 3 views Pin
Eugen Podsypalnikov24-Jul-12 0:06
Eugen Podsypalnikov24-Jul-12 0:06 
GeneralRe: SDI application with 3 views Pin
Eugen Podsypalnikov24-Jul-12 0:17
Eugen Podsypalnikov24-Jul-12 0:17 
GeneralRe: SDI application with 3 views Pin
Mohibur Rashid25-Jul-12 14:45
professionalMohibur Rashid25-Jul-12 14:45 
GeneralRe: SDI application with 3 views Pin
Vaclav_25-Jul-12 16:51
Vaclav_25-Jul-12 16:51 
GeneralRe: SDI application with 3 views Pin
ekinnh26-Jul-12 18:13
ekinnh26-Jul-12 18:13 
GeneralRe: SDI application with 3 views Pin
Vaclav_27-Jul-12 2:42
Vaclav_27-Jul-12 2:42 
GeneralRe: SDI application with 3 views Pin
ekinnh31-Jul-12 22:13
ekinnh31-Jul-12 22:13 
GeneralRe: SDI application with 3 views Pin
Sunil P V26-Jul-12 2:09
Sunil P V26-Jul-12 2:09 
Question[Hook HW interrupts in flat mode with DOS32/A] Pin
liaoo23-Jul-12 16:42
liaoo23-Jul-12 16:42 
AnswerRe: [Hook HW interrupts in flat mode with DOS32/A] Pin
enhzflep23-Jul-12 19:01
enhzflep23-Jul-12 19:01 
GeneralRe: [Hook HW interrupts in flat mode with DOS32/A] Pin
liaoo23-Jul-12 19:47
liaoo23-Jul-12 19:47 
GeneralRe: [Hook HW interrupts in flat mode with DOS32/A] Pin
enhzflep23-Jul-12 20:23
enhzflep23-Jul-12 20:23 
GeneralRe: [Hook HW interrupts in flat mode with DOS32/A] Pin
liaoo23-Jul-12 22:02
liaoo23-Jul-12 22:02 
AnswerRe: [Hook HW interrupts in flat mode with DOS32/A] Pin
Software_Developer23-Jul-12 20:10
Software_Developer23-Jul-12 20:10 
Here's some wonderful reading.

[Interrupt Service Routines]
[he WATCOM C/C++ Programmer's FAQ]
[finding a device on the PCI bus]
[PCI Device access under 32-Bit PM DOS]





there are 2 ways of finding a PCI device on the bus. You can either use the PCI BIOS interface call, or direct hardware I/O.
Here's the BIOS way:

C#
INTEL_VENDOR_ID	EQU	8086h			; intel's unique sig #
INTEL_EXP_NIC	EQU	1227h			; sample PCI device etherexpress 10/100 NIC
.386
	mov	ax, 0b102h                      	; interrupt 1a function b102
	mov	dx, INTEL_VENDOR_ID
	mov	cx, INTEL_EXP_NIC
	xor	si, si				; 0=1st device, 1=2nd etc.
	int	1ah                              
	jc	nope

; once returned from this call, BH=bus number, BL=device/function #
nope:

GeneralRe: [Hook HW interrupts in flat mode with DOS32/A] Pin
liaoo23-Jul-12 22:05
liaoo23-Jul-12 22:05 
QuestionMSDN 2010, scanf_s Pin
mrby12323-Jul-12 7:13
mrby12323-Jul-12 7:13 
AnswerRe: MSDN 2010, scanf_s Pin
Albert Holguin23-Jul-12 7:26
professionalAlbert Holguin23-Jul-12 7:26 
AnswerRe: MSDN 2010, scanf_s Pin
CPallini23-Jul-12 22:12
mveCPallini23-Jul-12 22:12 

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.