I want to store an "Intptr" type value in a file and later retrieve it
to pass in a function...

Can any one please guide , how this can be done??
The value retrieved by the file is of type string...

Please guide how can I manage it...

Do you want to store the Intptr (useless) or the information it's pointing at? Storing the value of the pointer doesn't get you anything as, most likely, what you want won't be in the same spot of memory next time.

yes i understand... please guide me how can I store the value pointed by the
intPtr???

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.