News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

A very simple program with many definitions

Started by ToutEnMasm, January 21, 2008, 02:29:34 PM

Previous topic - Next topic

ToutEnMasm

Hello,
I write a very simple program to test the windows.sdk
http://www.masm32.com/board/index.php?topic=8542.msg62123#msg62123

Ml don't made problems, but link search for this functions that aren't in use:
Delet the ; in the include files to see the errors at link
Quote
_toupper@4      ;proto   in ctypes.sdk
_tolower@4      //
_RevertToSelf@0      winbase.sdk
_EnumObjects@16      wingdi.sdk
_GetObjectA@12      wingdi
GetClipboardData        winuser.h
_send@16      WinSock.sdk
_abort@0      process.sdk  stdlib.sdk
_CreateDataAdviseHolder@4   objbase.sdk
_AsyncInstallDistributionUnit@36 urlmon.sdk
_VarI4FromI8@12    oleauto.sdk
_VarI4FromUI8@12   //         ;erreur avec ml aussi
Setmenu         winuser.sdk +1
TranslateAccelerator   //   soluce:NOMSG equ
GetWindow      //


Program is
Quote
.386
.model flat, stdcall
option casemap :none   ; case sensitive
   NOMSG equ         ;problème link TranslateAccelerator,rechercher mais non utiliser
   include translate.inc
   include C:\masm32\sdk\windows.sdk
   includelib \masm32\lib\kernel32.lib   
    .code
start:
     invoke ExitProcess,0
end start


If someone could have any idea or a soluce ?!
Thanks for answer


ToutEnMasm


A simple method is to add
NOGDI            equ