Results 1 to 4 of 4

Thread: How could I set up global value for my DLL?

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2005
    Posts
    14

    How could I set up global value for my DLL?

    I am confusing about my dll which is for ArcMap.

    There are 4 forms, one is Property Setting Form which will provide certain value to other forms, at present, I am using form.hide after user setup the property value, then other forms could directly get those values. But I need to unload the Property Setting Form after user sets up those values, so could some one help me to set up global value for this dll or other ways to solve this problem? thank you for your time and attention.

    Regards

    Yanli

  2. #2
    Fanatic Member ZeBula8's Avatar
    Join Date
    Oct 2002
    Posts
    548

    Re: How could I set up global value for my DLL?

    I don't think this is possible - at lieast I can't think of anything right now -

    you may have to persist this data you need to temp file (.ini) or to the registry - somewhere that the dll method knows about and can retrieve.

  3. #3
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: How could I set up global value for my DLL?

    alaazz,

    Can't understand what you mean.

  4. #4
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: How could I set up global value for my DLL?

    You may want to set a Get Property so that your app could retrieve those values...
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width