C++ interface problem

extrawurst via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Apr 27 06:08:32 PDT 2015


On Monday, 27 April 2015 at 12:56:57 UTC, Benjamin Thaut wrote:
> On Monday, 27 April 2015 at 11:00:23 UTC, extrawurst wrote:
>>
>> Thought about that too and tried uint aswell. does not work 
>> either..
>
> Please post the c++ declarations as well. Which c++ compiler do 
> you use for win32? (dmc or msvc)
>
> Kind Regards
> Benjamin

Don't ask me about the compiler, like stated above I have no 
control over the binaries, it is proprietary.

the C++ class basically is:

```
class S
{
union SteamID_t
	{
		struct SteamIDComponent_t
		{
			uint32				m_unAccountID : 32;
			unsigned int		m_unAccountInstance : 20;
			unsigned int		m_EAccountType : 4;
			EUniverse			m_EUniverse : 8;
		} m_comp;

		uint64 m_unAll64Bits;
	} m_steamid;
}
```


More information about the Digitalmars-d-learn mailing list