Software Development Network Logo
  • VS Express Editions
  • VS Team System
  • Visual C#
  • Microsoft ISV
  • Visual FoxPro
  • Windows Live
  • Windows Forms
  • Visual Studio
  • Visual Basic
  • Windows Vista
  • Architecture
  • .NET Development
  • Game Technologies
  • Visual J#
  • Smart Device

Software Development Network >> Visual C++

Visual C++

New Question

Trying to implement Current property for custom Enumerator.
Visual C++ 5.0 (!)
Writing to an open document!
__asm jumps and calls
Compile multiple projects from the command line
is it possible that a cpp file will "recognize" a c file from another project ?
truncation from double to float
Problems with CCmdTarget.h
IAccessible::accNavigate stack no balance issue
Managed COM

Top Answerers

Conchúr
Michael Nemtsev
Ron McMahon
calle81
qdewolf
Mike Champion
ase3575
ElChairo
huangyao2005
Rob Hounsell
Adrants
Only Title

Answer Questions

  • Arsany System::NotImplementedException in my functions

    I am using Visual C++ 2005 and was using the function "Add-> Add Function..." in the "Class View"-panel. I tested both inline function in class definition "Form1.h" and functions in a separate file "Form1.cpp" but the program adds this kode inside the function body: throw ( gcnew System::NotImplementedException); I have novice knowledge att C++ and I know what an exeption is, but I don't kno ...Show All

  • dzCepheus DLL Compatibility?

    I am converting an app from vc6 to vc8 (vs2005). I've got everything to compile fine, and most of the testing looks good. While system testing in Release mode, I get an occasional crash. The dialog box says "PCSMain.exe has generated errors and will be closed by Windows. You will need to restart the program. An error log is being created". Even though I have drwtsn turned on, I don't see any error logs being created. Even while ...Show All

  • Aleksey Tsingauz Linker issue LNK2019

    Hi, I am trying to do a class template for matrices. Everything compiles well but when I try to use it in another project I have a small issue. Source for the matrix class: class Matrix { public: //Generic functions short int Rows(); //Returns the numbers of rows short int Cols(); //Returns the numbers of columns Matrix ...Show All

  • petervelosy Help needed: fatal Error: C1190 VC++ .NET

    Hello, I am gettin a fatal error C1190 when I try to compile the code and run it. Could anyone provide a solution for that I guess I need to set the /clr switch. Here is the error: fatal error C1190: managed targeted code requires '#using <mscorlib.dll>' and '/clr' option It points to the syntax on code: #using <mscorlib.dll> <Yeah the third line of my code!!!!> ;-) Would appreciate if anyone cud provide a solution for this ...Show All

  • drtom C++ Build Failure

    I get stuck on the easiest of codes, the "Hello World!" code. What I do, is start a Visual C++ Win32 Console Application, Empty Project... And Application Type Console Application. Then, I add a file to the Source Files called HelloWorld.cpp. This is my code I type: #include <iostream> main() { std::cout << "Hello World!" << std::endl; } Then I try to build, compile, anything, but I keep getting this err ...Show All

  • Iancu Ilie Visual Studio .NET 2003 executable format

    We are building projects consisting of non-managed console applications and COM DLLs using Visual Studio .NET 2003.  We are using Rational ClearCase as our source control tool, but for the time being we need to build all our applications using snapshot views.  Unlike dynamic views, snapshot views do not keep version history of derived objects like executables.  Also for the time being, our process requires that we do a full c ...Show All

  • Majed Hammadi waveInReset halts program

    When calling waveInReset ( multimedia API), in order to stop recording and return all queued buffers, the program halts. No wave functions are called from within the wave-in callback function, which could be the reason for a deadlock. In fact, after waveInReset is called, the wave-in callback is not called at all, which is weird, because the callback should be called for every queued buffer which was sent using waveInAddBuffer. What cou ...Show All

  • Terry Murphy I need some help

    I have Visual C++ 6.0 and i knw how to program in C++ but i dont know where to go from here. Could anyone point me into the right direction Ayman thank you for your help... do you have instant messenger... i'd love to be able to talk to a proffesional sometimes about C++... sometimes i just get confused on what i want to do with the knowledge i have Its a shame that a 15 year old could kid who knows the c++ syntax cannon use his knowledge ...Show All

  • mrstrong Wizard fails with 'Your web browse has restricted this file from showing ..."

    I've instaleld the release cnadidate given out at the PDC, and have IE7.0 Beta installed. Whenever I try and use a wizard (MFC application wizard for example) I get a dialog popping up asking me if I noticed the information bar. The information bar is in the wizard dialog, and it tells me: "To help protect your security, your web browser has restricted this file from showing active content that could access your computer click here for option ...Show All

  • Jason Holt Two Dlls, Same Namespace, Cast Problem

    . Rob: in the .NET world the identity of a type includes the assembly in which it is defined. Therefore in your example above there are two enum types named MyNamespace::MyEnum: the first is from assembly dll2 and the second is from dlltest and as far as the CLR is concerned these are two completely different types. The correct solution is to define the enum in one assembly, say dll2, and then to reference it f ...Show All

  • CAnil VS .Net 2005, how to disable intellisense...

    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 Chandra, i've moved this into the "Visual C++ General" forum from the "Visual C# IDE" forum as you appear to only be using C++ and not C#. ...Show All

  • Nofi How can I call BIOS Interrupts in VC++?

    Hello I`m new to VC++,I tried to compile this code in VC++ but I couldn`t but when I did this in TC++ ,it was compiled with no problem. #include <conio.h> #include <stdio.h> #include <dos.h> void goto_xy( int x , int y); void main(){ void cls() ; register int x, y ; cls() ; goto_xy(10, 10) ; printf( "this is a test." ); getch();} //******************* vo ...Show All

  • Rozan HOW GET THE TITLE TASK WHEN ALT+TAB ARE PRESSED?

    hi forum members, excuse me if I bother you, but I need your help with some ideas about advanced visual c programming, this time I have a program , that with your given support , the program can get the text from the buttons which have the focus, but now I’m trying to get the window’s title that is displayed when the user press ALT + TAB for switching the task, I’m trying to get this with CBT HOOKS, but the only data that I got was information a ...Show All

  • John Koziol OTP: GetTapeParameters

    Hi, I'm trying to retrieve the block size from a tape. I'm using the method GetTapeParameters, with the flag TAPE_GET_MEDIA_PARAMETERS. The block size returned is 0, although I know that the block size used to write the tape was 64k. Is there anything more I need to do to retrieve the tape block size from a tape Here's the code snippet: TAPE_GET_MEDIA_PARAMETERS m_TapeMediaParameters; DWORD dwSize = sizeof (TAPE_GET_MEDIA_PARAMETERS ...Show All

  • Jason Shirk MSFT Help Me Fix Error: cannot convert parameter 2 from 'char [30]' to 'LPTSTR'

    char keep[30]; void CCALCULATOR01Dlg::OnBnClickedButton1() { // TODO: Add your control notification handler code here GetDlgItemText(IDC_EDIT1, keep ,10); } error C2664: 'int CWnd::GetDlgItemTextW(int,LPTSTR,int) const' : cannot convert parameter 2 from 'char [30]' to 'LPTSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast i'm try to get data fro ...Show All

789101112131415161718192021222324

©2008 Software Development Network

powered by phorum