Re: GPS.dll and Serial.dll, Serial2.dll

Discussion in 'Questions (Windows Mobile)' started by wm.chatman, Apr 17, 2009.

  1. wm.chatman

    wm.chatman Well-Known Member Licensed User

    :)Hi folks,
    Mr. Agraham. Sorry about that.
    Question: If a Project already has the Components GPS.dll and Serial.dll, Serial2.dll in Main,do I need to add the Components again, when I add a new Form to the Project that also will work with GPS data?

    best regards,
    Last edited: Apr 17, 2009
  2. agraham

    agraham Expert Licensed User

    Components and their instances (Objects) have nothing to do with Forms. Components are Global and need only to be added once to a project.

    Objects belong to modules, not Forms, and you can see the Objects belonging to each module in the Project Explorer window on the right in the IDE.

    However despite belonging to a module all Objects are visible globally and can be used in any other module by prefixing their name with the name of the module to which they belong. e.g. Main.SomeObject. To use them in the module to which they belong you do not need the module name prefix
  3. wm.chatman

    wm.chatman Well-Known Member Licensed User

    Like I said: Sorry about that.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice