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

Managed C++/CLI

 
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 
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 
Adding those two lines would make the program work if you had one of the commercial Borland compilers. With any of the commercial versions you get a utility called IMPLIB that you would use to tell the compiler how to link to the functions in inpout32.dll. Since the free version 5.5 doesn't come with any utilities, you have to go through a more-complex technique of dynamically loading inpout32.dll.

That's why Test2.c is so much more complicated than your example; somewhere in there you'll see a call to the Win32 LoadLibrary() function, which is the heart of the dynamic loading technique. Though, as you can see in there, there are a lot of housekeeping details to take care of.

So, I think you have two choices:
1. Try compiling Test2.c, and if that's successful, study it until you understand it well enough to modify for your purposes.
2. Buy a commercial Borland or Microsoft compiler so you can use the simpler code you posted in your message. Another alternative might be the free Open Watcom[^] compiler, if it happens to come with an IMPLIB utility.

Good luck!
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 
GeneralRe: Linker error when using AlphaBlend Pin
Toubou3-Mar-06 20:02
Toubou3-Mar-06 20:02 
QuestionWin32 C++ Code To get L2Cache Size and Speed of the system Pin
virz2-Mar-06 17:27
virz2-Mar-06 17: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.