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

Managed C++/CLI

 
Questionprinting the address of a non static member function of a clss Pin
Amr Shahin6-Mar-06 3:23
Amr Shahin6-Mar-06 3:23 
AnswerRe: printing the address of a non static member function of a class [edited] Pin
toxcct6-Mar-06 3:34
toxcct6-Mar-06 3:34 
GeneralRe: printing the address of a non static member function of a clss Pin
Amr Shahin6-Mar-06 3:51
Amr Shahin6-Mar-06 3:51 
GeneralRe: printing the address of a non static member function of a clss Pin
toxcct6-Mar-06 4:00
toxcct6-Mar-06 4:00 
AnswerRe: printing the address of a non static member function of a clss Pin
Michael Dunn6-Mar-06 5:01
sitebuilderMichael Dunn6-Mar-06 5:01 
GeneralRe: printing the address of a non static member function of a clss Pin
Amr Shahin6-Mar-06 19:31
Amr Shahin6-Mar-06 19:31 
QuestionProblem Interfacing with Parallel Port Pin
kmaster3-Mar-06 15:20
kmaster3-Mar-06 15:20 
AnswerRe: Problem Interfacing with Parallel Port Pin
Gordon Brandly3-Mar-06 15:40
Gordon Brandly3-Mar-06 15:40 
OK, let me be the first to tell you that you posted this question to the wrong forum. This is the C++/CLI forum.
I think your best bet would be to ask this question in the Hardware forum (since you're using Borland C++, I don't think the Visual C++ forum would be appropriate).

Having said that, I'll take a go at your problem (but you'd probably get a better answer over in Hardware): I believe that the free Borland C++ 5.5 is a Win32-only compiler, so I assume that's why you including that inpout32 DLL.

I'm pretty sure the code you wrote would work OK in Borland C++ 5.02 (or older) if you have it produce a 16-bit MS-DOS executable. Functions like outportb() are native to the compiler, and I don't think that 5.5, being a 32-bit compiler, even has those I/O functions. What you need to do is call the 32-bit functions in the DLL.

Assuming you're using the logix4u DLL, you can find a sample working program for Borland C++ here: http://www.hytherion.com/beattidp/comput/pport.htm[^]. The Test2.C program you'll find there should do the trick, I think.

Hope that helps.
QuestionRe: Problem Interfacing with Parallel Port Pin
kmaster3-Mar-06 20:35
kmaster3-Mar-06 20:35 
AnswerRe: Problem Interfacing with Parallel Port Pin
Gordon Brandly5-Mar-06 9:16
Gordon Brandly5-Mar-06 9:16 
NewsRe: Problem Interfacing with Parallel Port Pin
kmaster6-Mar-06 2:36
kmaster6-Mar-06 2:36 
GeneralRe: Problem Interfacing with Parallel Port Pin
Gordon Brandly6-Mar-06 17:17
Gordon Brandly6-Mar-06 17:17 
QuestionConvert Dicemal To Binry In C++ Pin
Miss PC3-Mar-06 2:06
Miss PC3-Mar-06 2:06 
AnswerRe: Convert Dicemal To Binry In C++ Pin
Cedric Moonen3-Mar-06 3:02
Cedric Moonen3-Mar-06 3:02 
JokeRe: Convert Dicemal To Binry In C++ Pin
toxcct3-Mar-06 3:19
toxcct3-Mar-06 3:19 
JokeRe: Convert Dicemal To Binry In C++ Pin
Cedric Moonen3-Mar-06 3:23
Cedric Moonen3-Mar-06 3:23 
GeneralRe: Convert Dicemal To Binry In C++ Pin
toxcct3-Mar-06 3:26
toxcct3-Mar-06 3:26 
GeneralRe: Convert Dicemal To Binry In C++ Pin
Miss PC3-Mar-06 3:40
Miss PC3-Mar-06 3:40 
GeneralRe: Convert Dicemal To Binry In C++ Pin
Miss PC3-Mar-06 3:30
Miss PC3-Mar-06 3:30 
GeneralRe: Convert Dicemal To Binry In C++ Pin
Cedric Moonen3-Mar-06 3:34
Cedric Moonen3-Mar-06 3:34 
AnswerThe Right Answer Pin
Miss PC3-Mar-06 3:50
Miss PC3-Mar-06 3:50 
GeneralRe: The Right Answer Pin
Cedric Moonen3-Mar-06 3:56
Cedric Moonen3-Mar-06 3:56 
JokeRe: The Right Answer Pin
Miss PC3-Mar-06 4:09
Miss PC3-Mar-06 4:09 
QuestionLinker error when using AlphaBlend Pin
Toubou3-Mar-06 0:30
Toubou3-Mar-06 0:30 
AnswerRe: Linker error when using AlphaBlend Pin
Michael Dunn3-Mar-06 8:24
sitebuilderMichael Dunn3-Mar-06 8:24 

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.