Answer Questions
Valerie Prieur need good string object reccomentdation
been using MFC's CString for years. it works great but need something more portable for big new project. seems std::string too clunky. what is a modern powerful string obj with much formatting caps does boost have something that doesn't require downloading the world to use thanks al thanks for the reply. thats what i'll probably do then. CString couldn't be easier to use and i'm always impres ...Show All
kasakaimumbai VS2005 and function GetProcessMemoryInfo
Hello All, I had some old code that ran perfectly in VS 6.0 and used the function GetProcessMemoryInfo located in psapi.h and paspi.lib. This was on a 32 bit machine. I have a new computer which has the EM64T technology from intel. I have installed win XP 64 bit and VS 2005 Beta Version on this machine. I am trying to get my application to complie and run as a 64 bit application. The rest of the code complies and links just fine. However, the ...Show All
stanleyqian Constructor Overrides
I've got a question on something that I'm not quite clear on. Maybe somebody can help me! If I derrive a class from another class like so: // Plant class... class CPlant { public : CPlant( int par_leaves):leaves(par_leaves) {}; int leaves; }; // Tulip class with different signature on constructor... class CTulip : public CPlant { public : CTulip( bool par_hasBloomed):hasBloomed(pa ...Show All
Peter Larsson Managed vc++ 2003 compile problem
Hello, i've got a really anoying bug that i cant seem to figure out.. The code comes from a 2005 project which needs to be compiled in a 2003 project. The code is as follows: // CitectAPIManagedDll.h #pragma once using namespace System; using namespace System::Runtime::InteropServices; namespace CitectAPIManagedDll { /// Create a unmanaged wrapper structure as the placeholder for unmanaged class /// members as exported by the DLL. T ...Show All
Chris Clements LINK : warning LNK4075: neglect“/EDITANDCONTINUE”(由于“/INCREMENTAL:NO”)
LINK : warning LNK4075: neglect “/EDITANDCONTINUE”( “/INCREMENTAL:NO” ) what does that mean I'm a freasher to use Vs2003.net anyone help I just use the enviroment to develop ANSI C In order to benefit from the Edit-And-Continue feature of Visual C++, you need to enable the Incremental linking (Project Properties->Linker->General->Enable Incremental Linking = Yes). Most people see th ...Show All
FluffyKO VS.NET 200 Beta 2: BadImageFormatException
Hi there, I get the BadImageFormatException on a function call in my code. How can this be, the msdn says that this exception is raised when loading invalid unmanaged code. But i am calling a member function from inside that same class. Im using C++.Net 2.0. When i step through the code the exception is raised on the moment the function is called. This is the call: String^ s = GetFileNrList(";"); All the function does is returning a ; seperate ...Show All
robinwebb What happened to vector?
Something is wrong with the STL 'vector' header file in the 2005 Express installation. After installing beta 2, I can't compile any source files which #include<vector> any more. The vector file is now 59k as opposed to a very tiny 'vector' header in the VC++ 2003 Toolkit. Also, the VC++2005 vector file has all the code in it, while the vector file that works only has a few lines including some other headers. These p ...Show All
FerroFreak error about"cannot be marshaled as an unmanaged structure"
i got a struct like: --------------------- public ref struct OutPacket{ int m_replyIndex; List<MainInfo^>^ m_mainInfos; }; --------------------- when i pass it to another process, i have to transfer it to intptr : --------------------- IntPtr pnt = Marshal::AllocCoTaskMem(Marshal::SizeOf(outPacket)); Marshal::StructureToPtr(outPacket,pnt,true); return pnt; --------------------- then i got a message: ********* err = {"Type 'C ...Show All
Prophit User Crystal Reports ReportDocument in Beta2
Probably not the right forum, but hopefully someone can point me in the right direction. I'm trying to convert a C++/CrystalReports WinForm application from Beta1 to Beta2, but on this line: this->reportDocument1 = gcnew CrystalDecisions::CrystalReports::Engine::ReportDocument(); I get the following compiler error: d:\projects\dacqus.net\welltest\Form1.h(264) : error C3624: 'CrystalDecisions::Enterprise::EnterpriseSession': use of this ...Show All
Sz&#225;sz Bence Set VC++ Directories in Options dialog (Visual C++ Express)
Details : The VC++ Directories page on the Options dialog does not have a list box for viewing and modifying the directories used during a build. Consequently, it is not possible to modify the build directories using the IDE UI. Workaround : C++ Directories can be added, removed or changed by modifying the VCProjectEngine.dll.express.config file located in the .\vc\vcpackages subdirectory of the Visual C++ Express Edition install locati ...Show All
Pr0ger VC++ const char * and MISRA
We write a lot of code using VC++ that is first created & debugged on a Windows platform before being implemented in various embedded platforms. The company has recently changed from it's optional guidelines to enforced use of it's guidelines + MISRA guidelines (http://www.misra.org.uk/), and this seems to conflict with the way VC++ works. For example, one of the enforced guidelines is that all variables must state at definition whether th ...Show All
RoninBraenk Is it possible to put a mixed assembly in GAC?
I have a CLR class library project which links to a .lib file to use the classes and methods of an old library (MFC 6.0 DLL). When I put the .NET assembly in the GAC and run my application I got a System.IO.FileNotFoundException . It seems that when the .net assembly is loaded from GAC it can not load the old DLL anymore. What should I do (I need the .net assembly as a global assembly.) Shadi_05 wrote: ...Show All
gurshi Port in use!
Hello, I am working with a database program(client-server) developed using visual studio.When i install the program and open the database, i get the error message "Port in use".But this is not the case when i run the program from the visual studio.In my code m_server.ConnectTemplate(clsid, pDocTemplate, FALSE); Can anybody explain me, whether setting the parameter to TRUE could help in anyway I have very less experience wi ...Show All
mu2 "Preprocessor Definitions" for "All Configurations" wipes out Release and Debug settings
With the July cpt create a new solution (e.g. WIN32 console). Select "All Configurations" from the property pages and add an entry e.g. TEST to the "Preprocessor Definitions". Now examine the Release or Debug "Preprocessor Definitions" and notice that the original entries have beed deleted. I see that bug FDBK2612 has been recorded against this issue. Indeed, there are some p ...Show All
Ajish M 64bit setup can't find entry point into custom action dll
I am in the process of porting a 32bit application to 64bit. In my setup application there is a custom action dll but the setup project won't build because it can't find the entry point I specify in the dll. I've checked the dll with depends64 the functions are exported according to the MSI documentation but it always give me the error "ERROR: Entry point 'MSIInstallService' not found in module xxxx" Is the set ...Show All
