473,511 Members | 12,087 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

some property pages cause assert fail on diff machine

I've got a small VC++ program I'm working on that uses 5 property pages. On
my development machine everything works fine. On a laptop that I sometimes
use for development, clicking on 2 of the tabs (property pages) will cause
an assertion failure in COccManager::CreateDlgControls(...). The other 3
tabs are fine.

The assert that fails is ASSERT(ppOleDlgItems != NULL)

Both machines are loaded with Vis Studio 2003. Compiling on the "good"
machine (Win2k) and running that exe on the laptop (XP) still fails the same
way.

Some things I've unsuccessfully tried are:
remove all controls from the page but one static text
remove all control from a page - fails in a different way.

When the program crashes I typically get a popup "TODO: <File Description>
has encountered a problem and needs to close."
Closing that gives the assertion failed popup.
Clicking abort gives a popup "memory could not be "read"" (my personal
favorite).
Clicking OK then gives me 2 or 4 more of the first "TODO: <File..." popups,
depending on which of the two bad property pages I selected in the first
place.

None of these property pages has anything exotic, just edit controls, static
text, and some group boxes.

Any hints on what I should try?
Nov 17 '05 #1
0 800

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
3638
by: svilen | last post by:
hello again. i'm now into using python instead of another language(s) for describing structures of data, including names, structure, type-checks, conversions, value-validations, metadata etc....
0
1124
by: Jaeho Kim | last post by:
Hi,,, I am very interested about the following Python program, but I am very beginner on Python.. I do not understand this algorithm,, I would appreciated if you give me this algorithm to some...
4
2056
by: alexhong2001 | last post by:
When to return a const, from either a member function of a class or non-member? Is assert() only executed in debug mode but skipped in release mode? I don't see much usage of "assert()." Am I...
193
9376
by: Michael B. | last post by:
I was just thinking about this, specifically wondering if there's any features that the C specification currently lacks, and which may be included in some future standardization. Of course, I...
27
3801
by: Daniel Vallstrom | last post by:
I'm having problems with inconsistent floating point behavior resulting in e.g. assert( x > 0.0 && putchar('\n') && x == 0.0 ); holding. (Actually, my problem is the dual one where I get...
4
4508
by: emma middlebrook | last post by:
I have a question regarding asserting ... here's some code: string GetAssertMessage() { ... prepare a message string and return it... } void SomeMethod() { ...
11
2355
by: ken.carlino | last post by:
Hi, I have the follwing code, but I can't understand why the assert fail? I print out the value that I am check, it has the right value, but the assert still fail. Here is the code: //...
30
2146
by: Tomás Ó hÉilidhe | last post by:
In C89, do we have to pass an int as an argument to assert? I've got code at the moment that does an assertion on pointer, e.g.: assert(p); , but I'm wondering if I should change that to: ...
5
2008
by: Berryl Hesh | last post by:
Is there a way to pass a property around as a parameter without reflection? My current motivation for this is the code below is testing multiple properties to see that an exception is thrown if a...
0
7245
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7356
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7085
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7512
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5671
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3227
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3214
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1577
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
449
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.