Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: ArnaudCas

Search: Search took 0.00 seconds.

  1. Replies
    16
    Views
    3,571

    Re: Strangest bug ever!

    Ok if I write :

    long *l = &(cgm.o->m_metafileVersion);
    it should be :
    a = 0x053e3d28
    &(cgm.o->m_metafileVersion) = 0x053e3d28

    but it is :
    a = 0x053e3d50
    &(cgm.o->m_metafileVersion) =...
  2. Replies
    16
    Views
    3,571

    Re: Strangest bug ever!

    I tried and there is no runtime error.

    as I told you,

    long *l = &(cgm.o->m_metafileVersion);
    doesn't work as it should be, that's why I try to find help here. I don't understand.

    I've got...
  3. Replies
    16
    Views
    3,571

    Re: Strangest bug ever!

    I dont see what I have to do with your links.
    I tested the lib in a new simple main program, and I have the error too. So Maybe it comes from the lib, but how? The error seems to come from the IDE,...
  4. Replies
    16
    Views
    3,571

    Re: Strangest bug ever!

    errh, the object "o" points to a data structure, a class, from the library I use (it's a lib to read cgm files)
    Do you think the lib has a problem? or my EDI (Visual Studio)?
  5. Replies
    16
    Views
    3,571

    Re: Strangest bug ever!

    yeah I know it's weird... but I don't even know, who can I speak to to get help...
  6. Replies
    16
    Views
    3,571

    Re: Strangest bug ever!

    after! I put a break point at the following instruction.
  7. Replies
    16
    Views
    3,571

    Re: Strangest bug ever!

    Why it is weird?

    because "a" is a pointer and it get the adresse of cgm.o->m_metafileVersion.... so unless I woke up in a parallel world, where the C++ rules would be different, "long *a" should...
  8. Replies
    16
    Views
    3,571

    Strangest bug ever!

    Alright, here is my piece of code :


    long *a = &(cgm.o->m_metafileVersion);

    I put a break point at the following instruction and when I look in the watch section of visual C++ 2010, I have...
Results 1 to 8 of 8


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center