[masm32] struct DEVMODE - initializer must be a string or a single item



  • Hi,
    hier mal ein bissel Code

    .386
    .model flat,STDCALL
    
    option casemap:none
    
    include \masm32\include\windows.inc
    include \masm32\include\opengl32.inc
    include \masm32\include\gdi32.inc
    include \masm32\include\kernel32.inc
    include \masm32\include\user32.inc
    include \masm32\include\glu32.inc
    
    includelib \masm32\lib\opengl.lib
    includelib \masm32\lib\gdi32.lib
    includelib \masm32\lib\kernel32.lib
    includelib \masm32\lib\user32.lib
    includelib \masm32\lib\glu32.lib
    
    ;...
    wc WNDCLASS <?>
    dmScreenSettings DEVMODE <?>
    pfd PIXELFORMATDESCRIPTOR <?>
    msg  MSG <?>
    ;...
    

    Und hier die Errormessage:
    Microsoft (R) Macro Assembler Version 6.14.8444
    Copyright (C) Microsoft Corp 1981-1997. All rights reserved.

    Assembling: c:\temp\lesson01\lesson1.asm
    c:\temp\lesson01\lesson1.asm(72) : error A2181: initializer must be a string or
    single item
    _
    Assembly Error
    Drücken Sie eine beliebige Taste . . .


Log in to reply