What causes the application error - x memory referencing y memory and that memory could not be read? this happens when the activex dll is run and when i try to shut it down. the same thing when a test project tries to use the activex dll. i can make a dll, but the thing is the dll seems to crash when run. originally before making it a dll, the class worked fine.

is there a site which describes the activex dll compilation troubles and solutions? since i have started doing some activex stuff, its been all hair-pulling and less coding!