Click here to Skip to main content
15,886,199 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: HeapAlloc Pin
Luc Pattyn15-Aug-07 11:55
sitebuilderLuc Pattyn15-Aug-07 11:55 
GeneralRe: HeapAlloc Pin
Mark Salsbery15-Aug-07 12:16
Mark Salsbery15-Aug-07 12:16 
GeneralRe: HeapAlloc Pin
miah alom15-Aug-07 11:49
miah alom15-Aug-07 11:49 
GeneralRe: HeapAlloc Pin
miah alom15-Aug-07 11:59
miah alom15-Aug-07 11:59 
GeneralRe: HeapAlloc Pin
Luc Pattyn15-Aug-07 12:07
sitebuilderLuc Pattyn15-Aug-07 12:07 
GeneralRe: HeapAlloc Pin
miah alom15-Aug-07 12:17
miah alom15-Aug-07 12:17 
GeneralRe: HeapAlloc Pin
Richard Andrew x6416-Aug-07 17:03
professionalRichard Andrew x6416-Aug-07 17:03 
QuestionParallel port access in Windows XP [modified] Pin
shaleen415-Aug-07 8:31
shaleen415-Aug-07 8:31 
1. I am writing a program to access parallel port in Windows XP.
2. taking help from net i found a program called UserPort which opens ports.
3. Using a small program in C using stdio and conio include files i could access the port.
4. However the problem is i have to write code in C++ and when i try to compile the same code in C++ as a .cpp file the compiler gives an error saying "_outp undeclared " and " sleep undeclared". the sme code compiles properly in c using same IDE.
5. I am using Dev-C++ 4.9.9.2. I cant use any other compiler.
6. My code is given below as a c file


/*********************************************
binary counter : This will count from 0 to 255 This takes printer port address as 0x378 and pauses for 250 mS between every count
**********************************************/


#include <stdio.h>
#include <conio.h> /*required for _outp*/
int main()
{
int x;
for(x = 0;x<=255;x++)
{
_outp(0x378,x);
sleep(250);
}
return 0;
}

7. Pl help. Its urgent.

Confused | :confused:




Shaleen Singh


-- modified at 14:44 Wednesday 15th August, 2007
AnswerRe: Parallel port access in Windows XP Pin
Mark Salsbery15-Aug-07 9:13
Mark Salsbery15-Aug-07 9:13 
GeneralRe: Parallel port access in Windows XP Pin
led mike15-Aug-07 11:36
led mike15-Aug-07 11:36 
GeneralRe: Parallel port access in Windows XP Pin
Mark Salsbery15-Aug-07 12:21
Mark Salsbery15-Aug-07 12:21 
QuestionRe: Parallel port access in Windows XP Pin
mirispearl16-Aug-07 19:45
mirispearl16-Aug-07 19:45 
QuestionError while compiling a simple C++ program Pin
vkondar13-Aug-07 17:21
vkondar13-Aug-07 17:21 
AnswerRe: Error while compiling a simple C++ program Pin
George L. Jackson13-Aug-07 23:56
George L. Jackson13-Aug-07 23:56 
QuestionAbout inheritance Pin
Nandu_77b13-Aug-07 6:31
Nandu_77b13-Aug-07 6:31 
AnswerRe: About inheritance Pin
Luc Pattyn13-Aug-07 6:45
sitebuilderLuc Pattyn13-Aug-07 6:45 
GeneralRe: About inheritance Pin
Nandu_77b14-Aug-07 0:00
Nandu_77b14-Aug-07 0:00 
AnswerRe: About inheritance Pin
led mike13-Aug-07 7:02
led mike13-Aug-07 7:02 
GeneralRe: About inheritance Pin
George L. Jackson13-Aug-07 13:51
George L. Jackson13-Aug-07 13:51 
GeneralRe: About inheritance Pin
Nandu_77b14-Aug-07 0:03
Nandu_77b14-Aug-07 0:03 
GeneralRe: About inheritance Pin
led mike14-Aug-07 4:55
led mike14-Aug-07 4:55 
GeneralRe: About inheritance Pin
Nandu_77b24-Aug-07 4:29
Nandu_77b24-Aug-07 4:29 
Questionreal time matrix conversion Pin
Morad Kobi13-Aug-07 4:02
Morad Kobi13-Aug-07 4:02 
AnswerRe: real time matrix conversion Pin
Luc Pattyn13-Aug-07 5:51
sitebuilderLuc Pattyn13-Aug-07 5:51 
QuestionRe: real time matrix conversion Pin
George L. Jackson13-Aug-07 13:58
George L. Jackson13-Aug-07 13:58 

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.