The MASM Forum

General => The Campus => Topic started by: bomz on February 19, 2013, 03:03:03 AM

Title: 1394bus.inc
Post by: bomz on February 19, 2013, 03:03:03 AM
Quote.386

.model flat, stdcall
option casemap :none

include \MASM32\INCLUDE\windows.inc
include \MASM32\INCLUDE\kernel32.inc
includelib \MASM32\LIB\kernel32.lib
include \MASM32\INCLUDE\1394bus.inc
includelib \MASM32\LIB\1394bus.lib

.code
start:
invoke ExitProcess,0
end start

Quote\MASM32\INCLUDE\1394bus.inc(5) : error A2048:nondigit in number
\MASM32\INCLUDE\1394bus.inc(6) : error A2048:nondigit in number
\MASM32\INCLUDE\1394bus.inc(10) : fatal error A1010:unmatched block nesting

(http://smiles.kolobok.us/light_skin/unknw.gif)
may be some info from MS 1394bus.inc need?
Title: Re: 1394bus.inc
Post by: qWord on February 19, 2013, 03:07:51 AM
выучить английский язык!
Title: Re: 1394bus.inc
Post by: bomz on February 19, 2013, 03:32:02 AM
QuoteIFNDEF BUS_INC
   BUS_INC equ <1>

name begin with numeric character
How use this lib with masm?
Title: Re: 1394bus.inc
Post by: qWord on February 19, 2013, 03:42:22 AM
Quote from: bomz on February 19, 2013, 03:32:02 AMname begin with numeric character
Вам решить эту проблему, прочитав сообщение об ошибке - очень хорошо  :t

Quote from: bomz on February 19, 2013, 03:32:02 AMHow use this lib with masm?
by calling the declared function?  :icon_confused:
Title: Re: 1394bus.inc
Post by: bomz on February 19, 2013, 03:50:14 AM
error don't say me anything because I don't know what mean IFNDEF

google. the best

Вам решить эту проблему, прочитав сообщение об ошибке - очень хорошо
You to decide this problem, reading this error message - very good
~back translation. I don't remmeber anything about English TIME

Chinese google better translate to english . I understand much more making remaining eng2rus myself
Title: Re: 1394bus.inc
Post by: dedndave on February 19, 2013, 05:24:31 AM
IFNDEF - "if the symbol is not defined"

that code is used to generate a warning if you include the file more than once   :P

if the symbol is not defined, it defines it, then includes the rest of the text
if the symbol is already defined, it generates a warning message during assembly