-
- where are all the buttons? Compile , Run , Execute, Debug etc for Visual C++
by cplusminus
- 2 Replies
- Last post
by Simple Samples
- Hey guys I just bought a copy of Visual Studio 2005 and I installed it with all components. I basically need it for Visual C++ because I lost my Visual C++ 6.0 CD. After the installation, I could not find a shortcut anywhere for Visual C++. I only see a shortcut for Visual Studio 2005 in the start menu. When I open that, at the beggining when its loading up, it says Visual C++ under the installed
-
- Access violation reading location
by patti_nyl
- 9 Replies
- Last post
by patti_nyl
- Hi, I am having a C++ application. It works fine when I run it in Debug mode, and debugs the code. But when I run it in Release mode I get an Unhandled exception.
Unhandled exception at 0x00000000 in CANopenConfTest_Stubbe.exe: 0xC0000005: Access violation reading location 0x00000000.
What can I do to find the problem What is wrong
thanks in advance, Patrik
-
- C3867
by Payteq
- 2 Replies
- Last post
by Payteq
- Good Morning,
I am still compiling code previously compiled in VC6 in VC2005 but I am getting the following compile error
error C3867: 'CEFTDataEnrich::Run': function call missing argument list; use '&CEFTDataEnrich::Run' to create a pointer to member d:\payteqprojects\interchange\gatewayswhaggr\eftms\eftserver\source\eftdataenrich.cpp
When I double click it takes me to th
-
- Compiler selecting template function in error?
by Simulacrum
- 7 Replies
- Last post
by Brian Kramer
- class A { ... A operator =(A &rhs); A template<typename T> operator =(const T &rhs); A operator -(A &rhs); } int main(void) { A number; A otherNumber; A result; number="123"; //calls templated operator = as expected otherNumber="321"; //calls templated operator = as expected result=number - otherNumber; //calls
-
- Using a Private Assembly distribution of C++ runtime under XP fails with SP1
by brendank
- 3 Replies
- Last post
by Bite Qiu - MSFT
- Hi there,
I have a VC++ application that is using Private Assembly distribution of the VC++ runtime. This has been working for some time with VS2005 RTM and works with SP1 on Win2k, Windows Sever 2003 and Vista. However, it no longer works on XP.
I have seen others struggle with this problem (such as http://dingo.sbs.arizona.edu/~sandiway/sicstuswindowsxp/VC++%202005%20Express%20de
-
- Converting from Visual C++ 6.0 to Visual Studios 2005 - a sscanf() problem
by Draznar
- 10 Replies
- Last post
by Draznar
- As a new hire as a software engineer for a simulation company, I have been tasked with the problem of porting some programs that were once running and compiling fine on Microsofts Visual C++ 6.0, to the new Microsoft Visual Studios 2005. One specific problem I am currently having is trying to get, the sscanf() function to compile. The code worked fine in the previous compiler, but over here sscanf
-
- good book on smartwin
by coertquinton
- 2 Replies
- Last post
by coertquinton
- can you recommend any good books on smartwin One which involves c++ would be even better. I am reasonably good at c++ but now i want to learn how to do GUIs. It seems that smartwin is the best but there seems to be no books about it on the web.
Also what is the relationship between smartwin and wxwidgets they apear to be the same. but are they same enough so that when i pick up a book on
-
- Implementing QuickTime functions in VC++.NET application
by sans581763
- 0 Replies
- Last post
by sans581763
- Hi,
I am new to Visual C++ .NET 2005. I want to create a movie player in Visual C++ .NET using the QuickTime 7.1 SDK functionalities. For that I need to access the quicktime functionalities with in VC++.NET code. Also since the application should be in unmanaged code, I had to start either an MFC or a win32 application.
I need to create the interface for the movie player using buttons and t
-
- How to run a release version on another computer without Microsoft Visual Studio 2005?
by zorroboricua
- 3 Replies
- Last post
by PAC
- When i try to run the release .exe version in another computer does not have it Microsoft Visual Studio 2005, then says:
This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.
Please tell me what i can do. Thanks.
-
- Reserve Physical Memory
by Rupesh Bhurke
- 14 Replies
- Last post
by Simple Samples
- Hello, I am working on a project that needs reserving physical memory (100MB). Can anybody show me how I can achieve that. If you can provide a code sample, that will be great ! Best Regards, Rupesh H Bhurke
-
- Preventing dependent projects from being built
by Boise83716
- 5 Replies
- Last post
by Boise83716
- I'm not sure if this is the correct forum for this question. If it isn't, please let me know what forum I should post to. I have an unmanaged C++ application. I have ProjA => unmanaged c++ app (100s unmanaged .cpp files, 1 maanged cpp file) ProjB => c# ProjA depends on ProjB. The C++ project calls C# classes from the C# project. It all builds and runs just fine. The problem is that ProjB i
-
- Debugging: Run-Time Check Failure #2 - Stack around the variable 'LoggerThread' was corrupted.
by Sam Hobbs
- 14 Replies
- Last post
by Tawhir
- I am getting:
Run-Time Check Failure #2 - Stack around the variable 'LoggerThread' was corrupted.
I have searched as much as I can for a description of how to diagnose, but I have not found anything. I don't know how to determine the specific address that is being corrupted. If I knew that, then I could of course set a breakpoint on the condition of that cha
-
- Why we cant overload some operator
by Debabrata.debroy
- 3 Replies
- Last post
by einaros
- In C++ we cant overload some operator like sizeof ,scope operator like that
I want to know why we cant overload this type of ooperator.There must be reason so dat we are forbidden to override this operator
-
- How to handle menu item clicked event in ATL control?
by Robert Wang
- 2 Replies
- Last post
by Robert Wang
- Hi ,
I was working on an ATL control. There is a dynamic popup menu in the control , items for menu is saved in txt file. Below is code for demo:
CMenu menuPopup; menuPopup.CreatePopupMenu(); menuPopup.AppendMenu(MF_STRING,100,"item1"); menuPopup.AppendMenu(MF_STRING,101,"item2"); menuPopup.AppendMenu(MF_STRING,102,"item3"); menuPopup.AppendMenu(MF_STRING,1
-
- VS .Net 2005, how to disable intellisense...
by ChandraP
- 14 Replies
- Last post
by Boris Jabes
- Hi I am really frustrated with the performance of VS .Net 2005. This is because I always see at the bottom "updating intellisense..." and it uses 60% to 70% of CPU. How to disable this updating of intellisense... Please this is making Visual studio unusable. Thanks Chandra
-
- ocx windows form
by _Jef_1
- 2 Replies
- Last post
by _Jef_1
- I am building activeX controls in C++. For that I am creating MFC ActiveX Control. My controls create a graphic. Now I need to build a windows form in with the graphic can be edited by setting some variables. How can I create a windows form that is showed when the activex control is being clicked
Thanks in advance
Jef
-
- Whole Program Optimization, mixed-mode and ATL_MIXED
by Alex Ivanoff
- 4 Replies
- Last post
by Alex Ivanoff
- We have a native static library project with Whole Program Optimization set to Use Link Time Code Generation . This library also uses ATL. Another project is a mixed-mode dll with Whole Program Optimization set to Use Link Time Code Generation and it uses the static library. When we build mixed-mode dll we get tons of "C4743: 'struct Define_the_symbol__ATL_MIXED::Thank_you Define_the_symbol__
-
- LDR: LdrpWalkImportDescriptor() failed to probe e:\SampleCode\bin\TestD.dll for its manifest, ntstatus 0xc0150002
by Jimmy Lu
- 9 Replies
- Last post
by Nagar
- When I integrate my project, and used another project's output file "TestD.dll", note: the "TestD.dll" was compiled through VS.net 2005 SP1, but the SampleCode was compiled through VS.net 2005, no sp1.
And then I compiled the SampleCode project, it was compiled and linked, I run it, then the error came out.
What should I do, if I could only get one copy of "T
-
- How to create a Modal Dialog Box in VC++
by Allaudeen_N_587b24
- 2 Replies
- Last post
by Tom Serface
- Hi Friends,
how to create a Modal Dialog box in my application.... The Dialog box should close only after any input is given.. What to do
-
- VS2005 basic_iostream link errors
by GibbyPlus2
- 2 Replies
- Last post
by GibbyPlus2
- Hello,
After updating my program from 6.0 to 8.0, I received the linker errors shown below and have not been able to resolve them.
Any assistance is appreciated.
Thank you,
MIFTREND.obj : error LNK2019: unresolved external symbol "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl operator<<(class std::basic_ostream<char,struct
-
- Debug Assertion Failed! _CrtIsValidHeapPointer( pUserData )!!!
by Shouvik
- 7 Replies
- Last post
by Shouvik
- Hi, I have a Win32 Console Application which is throwing the Debug Assertion Failed! .. _CrtIsValidHeapPointer( pUserData ) and followed by a Debug Assertion Failed! .. _BLOCK_TYPE_IS_VALID(pHead->nBlockUse). After I did a Step by Step Debug strangely what I saw was it is throwing error once it is exittin the main function. Unlike any character pointers and deletion of heap without its referenc
-
- How to combine managed and unmanaged types?
by Alexander Stoyan
- 8 Replies
- Last post
by TilakGopi
- Hello.
I have some managed class MyClass and unmanaged structure my_struct. And I need to create a member of MyClass of type my_struct.
typedef struct { int a, int b } my_struct;
public ref class MyClass
{
my_struct val;
public :
}
But compiler reports me about the error:
cannot define 'my_struct' as a member of managed 'MyClass': mixed types are
-
- Error In MfC App
by sGurpreet
- 7 Replies
- Last post
by Simple Samples
- Help needed i am stuck with this error while developing MFC based application in vc++ 8. pls help me get out of this mess code: void CmfcaView::OnEnKillfocusname() { char name[15]; GetDlgItemText(IDC_name,name,15); if (strlen(name)==0) { MessageBox("The Employee Code can not be blank. Please enter an Employee Code."); CEdit *code; code=(CEdit*)GetDlgItem(IDC_name); code->SetFocus();
-
- Error PRJ0019 and Regsvr32 Error
by AndrewBFT
- 1 Replies
- Last post
by Bruno van Dooren
- HI,
I am build a project and i get the following error:
Error PRJ0019: A tool returned an error code from "Performing registration"
From read another thread I tried to do this manually with Regsvr32 but I got the following error from it.
LoadLibary (IPSourceBosch.dll") failed.
GetLastError returns 0x0000007e
Can anybody help
thanks
-
- VC++ bug? Link fails when an inline member function contains a nested struct.
by luto
- 2 Replies
- Last post
by Holger Grund
- The following code fails to link. test.h:
Code Snippet
#include <iostream> struct A { // This fails even with the inline keyword. /* inline */ void b() { struct C { int d; C() : d(1) {} }; C c; std::cout << c.d << std::endl; } }; file1.cpp
Code Snippet
#include "test.h" int main() { return 0; } file2.cpp