- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
6 Posted Topics
Hello, I need to update my older Autodesk plug-in. And I am having troubles get it through. (They changed one function) This is a new definition which I cannot change: [CODE] CoreExport virtual void EnumAuxFiles(AssetEnumCallback& assetEnum, DWORD flags);[/CODE] And here is my code: [CODE] class CheckFileNames: public AssetEnumCallback { public: … | |
Re: Why just you do not use simple format: [CODE] double inches = 0.0; double total_inches = 0.0; [/CODE] BTW more on double usage is for example here [URL="http://www.cplusplus.com/forum/articles/3827/"]http://www.cplusplus.com/forum/articles/3827/[/URL] | |
Memory Validator reports a problem: Accessing C++ object functions with a pointer to a deleted object. It is pointing to prefDir = preferredPath; in Loader.h Public: is defined: [CODE] std::vector<std::string> preferredPaths; [/CODE] in Loader.ccp [CODE] CDirLoader::GetFileExtHandle(not related params) std::string prefDir; for(size_t i=0;i<preferredPaths.size();++i) { const std::string& preferredPath=preferredPaths[i]; if (!preferredPath.empty()) prefDir = … | |
Hi, Program works fine,but memory validator reports UNINITIALIZED READ on CProfiles profile; Could you please help me with this? Here is my code: inside profiles.cpp[CODE] #include "profiles.h" CProfiles profile; // Here it reports the problem KeyProfile* keyProfile=&profile; //------------------------------------------------------------- int CProfiles::Init() { // other code [/CODE] inside profiles.h[CODE] class CProfiles: public … | |
I am quite desperate about a random crash. The memory could not be "read" error. I would be very happy for any help. Thank you. [CODE]HRESULT CSceneNode::UpdateAll() { D3DXMATRIX backup_local_tm = ei.world_tm; Update(); SceneNodeIterator begin=FirstChild(); SceneNodeIterator end=LastChild(); for (;begin!=end;begin++) { (*begin)->UpdateAll(); // Here is the random Crash !!! } ei.world_tm … | |
Hello. I am debugging a larger project and a tool called Crash Validator keeps pointing line 1 in my code extract:"inline bool SortKnownFiles2 (etc.)" in DirLoader.cpp Error message in Crash Validator is “Cannot create a file when that file already exists.” (in c++ it runs fine, except a few random … |
The End.