Hi,

I've reverse-engineered some "old" code, using the wizard for Visual C++ in
Rose. Doing this, I encountered problems while trying to reverseengineer a
struct.

This is the warning I got while reverse engineering:

Warning: Unsupported declaration encountered:
12:10:35|       typedef struct tagTdmOutputPortParamsStruct
12:10:35|       {
12:10:35|          DWORD m_dwPacketSize;
12:10:35|          DWORD m_dwBurstMode;
12:10:35|          BOOL m_bOn;
12:10:35|       } TdmOu  . . .
12:10:35|  (See line 15 in "g:\.......\TdmDeviceE5MuxInterfaceTypes.h".)
This declaration will be ignored.

In the code the sturct is defined (as also shown above) as:

typedef struct  tagTdmOutputPortParamsStruct
    {
    DWORD m_dwPacketSize;
    DWORD m_dwBurstMode;
    BOOL m_bOn;
    }   TdmOutputPortParamsStruct;

I do not know why it has been defined this way, instead of just:

struct  TdmOutputPortParamsStruct
    {
    DWORD m_dwPacketSize;
    DWORD m_dwBurstMode;
    BOOL m_bOn;
    };

But it is approved by the Microsoft C++ compiler.

However it looks like Rose does not support such declarations ?

Any ideas of how to get around this problem, without having to re-write all
the structures ? (there are quite a few of them.....)

Regards

Arne Styve

************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages: 
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************

Reply via email to