Which lib and/or inc file(s) must I include in my project to use the string function/macro StrTrim?
Those are VB functions(?) So they're not really part of windows or masm.
However, there are a number of 'useful' functions in the file "macros.asm" which you can include and get such wonders as "ltrim$" and "rtrim$" and even "trim$" (amongst others) :bg
Thanks Tedd for the reply.
I'm using WinASM. In the IDE, the context menu "says" there is a macro like [invoke StrTrim, psz,pszTrimChars]. But when I compile I get: error A2006: undefined symbol : StrTrim. I'm therefore assuming I'm missing a required lib/inc file.
Hi George, easiest way to see if you have that lib file is to open a file search to C:\MASM32\include. Then search the contents of all files there for StrTrim. If you get a file result, then that's your library.
For StrTrim you need to include shlwapi.inc and shlwapi.lib.
Thanks all! :U That works just fine.