Answer Questions
dfgdrrt How to install a Debugger Visualizer for a C++ object in Visual Studio 2005?
How to install a Debugger Visualizer for a C++ object in Visual Studio 2005 I could happily and successfully follow the tutorial for creating a Debugger Visualizer in Visual Studio 2005 Beta 2 in C#. But there was no information about creating such in C++. How to do it What I mean by creating such in C++ is having an object in a C++ application visualised by a Debugger Visualizer (written in any language). Besides, I'm sure i ...Show All
Gabbar Singh Fortran Dll
Hi, I am reasonably new to programming and am hopeing that someone can help me with a problem I'm having. I have compiled a dll from fortran code and now want to import a function from this into a visual c++ program that I've been developing. I have .dll and .lib files but think I need to create a header file as well Can anyone give me any tips I'm sorry that this question is so broad but I'm really stuck! I've had trouble ...Show All
Steven Benjamin File open with Visual Studio
I just installed Visual Studio .Net 2003. I created MFC project to allow the user to parse input file for specific information, and generate output file from the input file. I created dialog with listbox that filters the files in the current directory, and the application will open the file selected from the listbox. I implemented a file utility class based on CFile class and added the file Open(), Read(), and Write() member functions to it ...Show All
Lance DH overriding virtual member function of a generic class using wizard
in VS6 C++, "add member function wizard" was simple. but in VS2005 C++, it is no longer possible to copy and paste a function declaration into the "add member function wizard". (must add each parameters one by one....) for MFC classes, the property window provides a simple way to override a virtual member function, but that interface seems not working for generic classes. is there an easy way to override a virtual me ...Show All
Telexer using GetLastInputInfo
Hi i have applcation where i need to detect how much time system has remained idle. Now problem is that i am using VC7 in .net and XP as OS.....i am using the following code #include <windows.h> #include <winbase.h> #include <stdio.h> #include <winuser.h> using namespace std; void main() { LASTINPUTINFO lastInput; lastInput.cbSize = sizeof (LASTINPUTINFO); BOOL success = GetLastI ...Show All
AnonymousToo2 Project Build Error PRJ0003 "error spawning cl.exe"
Help! None of my projects will start. I keep getting the same build error. I have already added the directory that houses cl.exe to the VC++ executable directory and now it gives me a dialog box that states "These project configurations are out of date. Would you like to build them " Upon clicking yes, it states "There were build errors, continue Upon clicking yes, it states "Unable to start debugging. Unable to f ...Show All
Abdul-Rahman socket programming-receive() function
Hi, When executed the following,The receive() is returning 18 bytes of data(p=18). But the buf variable is having only 14 characters. SO, i am getting assertion error at i=14 .Can anybody help Here m_connectsocket is an object for class derived from CSocket. void CSockMFCDlg::onreceive() { char buf[256]; Sleep(5000); int p=m_connectsocket.Receive(buf,256); if(p==SOCKET_ERROR) MessageBox("Error in receive",NULL,MB_OK); else { ...Show All
Larb About the extension of properties file
Hi All, I am a beginner in VC++ and I would like to ask a question here. As I had migrated a VC++ project from VC6 to VC7. The program can be built successfully but the program fails to execute. The logic of the program requires to load a properties file and perform some library initialization. (e.g. abc.properties). The program fails to run because the program has some memory allocation problem when I execute it in debug mode. However, when ...Show All
Aravind Adla scripting method AddToolSettings broken in visual Studio 6.0 ????
There is a bug report on this: Bug ID FDBK45740 I have been trying to write some scripts to automate a build process in VisualStudio 6.0. The build process builds a number of projects. Some of these projects are just library builds, some of them are builds which result in executable code (.xll, .dll, .exe) I need to be able to change the target directory for the various builds. The scripting method to do this would seem to be Proje ...Show All
PeterWone CComboBox default message handling?
I made a CComboBox in resource editor and added list of items separated with semicolons. When I run the application, clicking on the combo box doesn't make list box drop down, but only one horizontal line appears under the combo. How do I make CComboBox respond to clicking by dropping a list of items What is the "drop down button" In the dialog editor click o ...Show All
henrique MFC extension DLL project with /clr option causes link error on _DllMain
I get link errors mfcs80ud.lib(dllmodul.obj) : error LNK2005: __pRawDllMain already defined in DllMain.obj mfcs80ud.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined in DllMain.obj The project options are MFC extension DLL /clr option (except the source file with my DllMain implementation) UNICODE character set Thanks for submitting report. I have seen it already in the database. A ...Show All
fundu_itguy Can Visual Studio 2003 and 2005 co-exist?
Can Visual Studio 2003 and Visual Studio 2005 co-exist on the same machine (for one project we are depended on libs from Oracle, and they are not compatilble with 2005). Is there a way to interrupt the VS2005 from automatically popping up on the " Double click of a C++ file" Can multiple system path sign-on files be used in any way Thank you in advance for your thoughts on the above. Dan ...Show All
John5150 DateTime format{ts 'YYYY-MM-DD '} used with SQL
I am using instances of DateTime within my application and i need their values to be used as selection criteria in an SQL select clause. So i need them to return a literal string representation of themselves in the following format '{ts '1990-01-01 00:00:00'}' Where the date can be any valid date as contained in the DataTime instance. How can i get them to do this I Thanks Martin, that neally w ...Show All
lamp getprocessimagefilenamew
I am having a problem with the new IE beta2. The following alert pops up, upon loading the system. Smartbridge alerts: motive SB.exe entry point not found. The procedure entry point GetProcessImageFileNameW could not be located in the dynamic link library PSAPI.DLL It is obviously a glitch with the new IE7 Beta 2 version. If anyone has come across the fix for this, then a reply would be appreciated. TheBigIrishman This forum is for C++ la ...Show All
Muksh CRT heap in DLL
I used to believe that each process has a default heap shared by everybody in the process space including code in loaded DLL and heap manager works as described in http://msdn.microsoft.com/library/default.asp url=/library/en-us/dngenlib/html/msdn_heapmm.asp Then I’ve found out that if DLLs are linked with CRT each has own heap manager http://msdn2.microsoft.com/en-US/library/ms235460.aspx My questions: how those individua ...Show All
