Question: What is the default directory for AddIcon?
What is the default directory for AddIcon? When I call AddIcon to draw an icon on the layer, what is the default directory for the icon? In other words, if I don't provide the path for the icon (the 3rd parameter), in what directory FalconView would try to load the icon?
Environment
| FalconView Version: | FalconView 4.0.1 |
| Interface: | IlayerEditor3 |
| Language: | C# VS 2005 |
(EDIT ICON)
-- Jinda Chen - 10 Aug 2007
Answer
If no directory is specified the current directory of the FalconView process is used. See the Win32 API GetCurrentDirectory. However, it is best to always specify the full path to the icon file since the current directory can be changed at any time.
