Thread: calling methods

  1. #1
    Registered User
    Join Date
    Oct 2001

    Angry calling methods

    can anyone please help me

    I am creating a user interface but i wish to open and close the serial port. I want to declare these two methods in a seperate file and then call them just before my interface is opened and then close it just after the interface has been closed down. How do i go about defining a method and then calling it in a different file???

    any help would be grateful

  2. #2
    Sounds like creating a DLL file and put the functions that opens the serial port in there would do the job.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Calling IRichEditOle interface methods
    By Niara in forum C Programming
    Replies: 2
    Last Post: 01-16-2009, 01:23 PM
  2. Calling other objects methods inside a constructor
    By mynickmynick in forum C++ Programming
    Replies: 5
    Last Post: 09-17-2008, 06:31 AM
  3. Calling parent methods
    By Tonto in forum C++ Programming
    Replies: 2
    Last Post: 10-24-2006, 07:00 PM
  4. calling OpenGL methods from outside the main class
    By Hector in forum Game Programming
    Replies: 2
    Last Post: 06-22-2006, 07:23 AM
  5. Lesson #5 - Methods
    By oval in forum C# Programming
    Replies: 1
    Last Post: 05-04-2006, 03:09 PM