I'd like to use an .ini file to set up a couple of options ona macro I'm working on. I was going to use GetCurrentMacroPathNameto get the location, but that doesn't seem to work for a compiled.dll macro. I put the line MsgBox(swApp.GetCurrentMacroPathName) asthe first line in the macro. If it's the first macro I run in a SWsession, the message box comes up blank. If I run another macrobefore it (even one that terminates normally) the path comes up forthat macro.SolidworksApi macros