Unable to initialize D3DM

  • Hello,
    we are trying to build a Direct3DMobile application for the PicoCom3. Creating the
    Driect3D Mobile object works fine but a call to CreateDevice(...) (see code below)
    always returns D3DMERR_INVALIDDEVICE. We tested nearly all possible values for the
    D3DMPRESENT_PARAMETERS but we think, these entries are not the reason for the failed
    funtion call. Why we get a CPUID check failed error?
    I hope someone can help us to solve this problem.
    many thanks and cheers,
    Tom


    Here our debug output:


    Windows Error Code 1067: 'ERROR_PROCESS_ABORTED'
    Description of Error: The process terminated unexpectedly. Errors on your system
    may be caused by invalid registry entries and outdated or corrupt drivers.


    The init call:

  • Hello,
    which window is specified by "Wnd"? Is it a top-level window?

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • A remark:


    This call works fine and should return a pointer to a IDirect3DMobile interface,

    Code
    1. if( NULL == (g_pD3DM = Direct3DMobileCreate(D3DM_SDK_VERSION) )
    2. return E_FAIL;


    but this method returns 0 and should return at least 1. 2, if a registered software device is present.

    Code
    1. UINT n= g_pD3DM->GetAdapterCount();