-
Mar 19th, 2004, 01:31 AM
#1
Thread Starter
Addicted Member
Expert Advice Please
My program (a web page analysis application) utilizes a webbrowser control and several rich text box controls to evaluate and highlight certain keywords of a web page.
During Beta Testing on a machine with Windows 2000 Pro, various functions were interupted with error messages that appeared as follows:
Title: (Program Name) & File: "d:\nt\private\ole32\com\class\memapi.cxx"
Message: pmi ! = 0&& "CDebugMalloc_Free - bad pointer"
Any advice would be greatly appreciated!
Never tie a rock to your ankle while randomly selecting stones to throw from high places.
-
Mar 19th, 2004, 05:00 AM
#2
Frenzied Member
Has this only happened once? It's also difficult to assess what's going on without code--
-
Mar 19th, 2004, 12:36 PM
#3
Thread Starter
Addicted Member
Luke
Thanks for responding. I would post some code but I'm not sure which procedures or functions are causing the problem.
I can tell you that the program works perfect on other machines with Windows 98 SE and even XP.
I have several procedures that pass the contents of a richtextbox control by referance (though i do not explicitly declare the passing using ByRef).
According to Microsoft, ByRef is default, thus no need to declare as such. Conversely, ByVal must be declared.
My gut feeling is one of 3 possibilities:
1. Even though instructed otherwise, I must declare ByRef when passing object variables in procedures and functions. or...
2. I'm utilizing API calls that the system doesn't recognize.
3. I should be passing the object variables ByVal
Last edited by EZapps; Mar 21st, 2004 at 03:39 AM.
Never tie a rock to your ankle while randomly selecting stones to throw from high places.
-
Mar 19th, 2004, 12:42 PM
#4
Thread Starter
Addicted Member
OH! One more thing! This is confusing... the title of the error message is "d:\nt\private\ole32\com\class\memapi.cxx"
The "d:\" on this machine is a CD which was empty at the time of error.
Please don't blame me for being stupid. I've worked on this attribute for years.
Never tie a rock to your ankle while randomly selecting stones to throw from high places.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|