Bugzilla – Bug 2023
Code bug in __win32__
Last modified: 2015-01-07 14:53:56 UTC
In the file "src\core\model\system-path.cc". Line 127 : DWORD status = GetModuleFilename (0, lpFilename, size); Line 133: status = GetModuleFilename (0, lpFilename, size); The function "GetModuleFilename" may be "GetModuleFileName", which is define in "libloaderapi.h". Line 249 : hFind = FindFirstFile (path.c_str (), &FindFileData); The variable "FindFileData" don`t define in anywhere. Maybe it is "fileData", which is define in line 247. In ns-3-win2, all of these bug are not exist.
Hello You definitely want to be using ns-3-win2 (http://code.nsnam.org/jabraham3/ns-3-win2). It's based on a later version of ns-3, (3.18 vs 3.12) and has had much more testing and verification performed on it. Sorry for the confusion.
(In reply to Brian Swenson from comment #1) > Hello > > You definitely want to be using ns-3-win2 > (http://code.nsnam.org/jabraham3/ns-3-win2). It's based on a later version > of ns-3, (3.18 vs 3.12) and has had much more testing and verification > performed on it. > > Sorry for the confusion. I am trying to modify the code of ns-3.21. And so I need consult ns-3-win2. I am new in NS-3 and also in C++. Thank you for your work.
Was using old version