Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


storing and reading properties of activex control

Posted on 2002-05-31
Medium Priority
Last Modified: 2013-11-20
Hi sir,
I am storing and reading activex properties to and from a file.using the following function in a component.

for storing:

for reading:

I have to do it for multiple times with the same file.
it asserts with the following sequence
1)create the storage the storage
2)read storage
3)if I call create storage again it says access denied.

could you please tell me how to close the file or stream after using them.

Question by:Chutki
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 23

Expert Comment

by:Roshan Davis
ID: 7046421
call that interface pointers Release() function, that will close the file.


pPropStg->Release(); pPropStg = NULL;


Accepted Solution

DarthMod earned 0 total points
ID: 12084128
Submitted to PAQ with no points refunded (of 100)

Community Support Moderator

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question