Software Development Network Logo
  • Audio and Video
  • IE Development
  • .NET Development
  • Visual FoxPro
  • Smart Devicet
  • SharePoint Products
  • Visual C#
  • VS Team System
  • Windows Vista
  • Windows Forms
  • Visual C++
  • Visual Studio
  • Visual Basic
  • Microsoft ISV
  • Game Technologies

Software Development Network >> Visual C++

Visual C++

New Question

XML Extracting Attributes (Simple Question)
String Decomposition
What kind of project for a UNIX app?
Strings
Can I turn off the blue dotted "snap to" line when designing a dialog?
VS2005 SP1 and Microsoft.VC80.CRT in applocal mode
audio input?
How to write and read config files
Duplicating System::String assignment in another string-like class
why :: . .* can not be overloaded

Top Answerers

VenezuelaRuth
Chen CH
Nick Gravelyn
TWild
Shark109
Douglas H. Troy
roundthebend
Rabtok
m.eisenstein
zr119_62
Html.it: Guida Smil
Only Title

Answer Questions

  • Recency Error messsage

    The version of SP is 20040803.231319. It has been suggested that I post my query in another forum. This I will do. Thanks for responses. I did as you suggested with about 4 files in BTHelp and it work. Rebooted and no error messages. Opened Help program and I have the facility for asking questions. Thank you so much. By the way what does an underline at the end of a file extention achieve In my Windows\system32 the version of PSAPI.DLL is 5.1.2600.2180 In my BroadbandHelp the version is 4.0.1371.1 Any clues here The question was: How do I deal with the following error message. SMARTBRIDGE ALERT: BTHELPNOTIFIER.EXE ENTRY POINT NOT FOUND. The procedure entry point GetProcessImageFileNam ...Show All

  • PsychUK Add property problem in ATL ActiveX

    Hello, I am using Visual Studio 2005 Standard Edition. I follow the MSDN tutorial of creating activex with ATL, but unfortunately in the property add step I get nothing. I am adding the property to Activex from Class View. But nothing changes in IPolyCtl.h and IPolyCtl.cpp. Can you please help me Best regards, Karakaya Can you point to the article that you are following or put down the steps that you are following to Add Property. Please report this doc bug on http://connect.microsoft.com/visualstudio/ . Please include link to the topic in the docs. Our writers are going to verify what has to be updated in the docs. Thanks, Nikola Just f ...Show All

  • Harvey_Birdman Linker problem 4248 (probably beacuse of unmanaged c++)

    Hi, I want to use Windows Forms to create a graphical interface for some routine I wrote using the FMOD library. This library only has an include file for C++ and no wrapper for .NET. When I compile I get warning LNK4248: unresolved typeref token (01000034) for 'FMOD_SYSTEM', where FMOD_SYSTEM is the type of a parameter in an FMOD function call. The c++ include file includes another include file in which FMOD_SYSTEM is defined as follows: typedef struct FMOD_SYSTEM FMOD_SYSTEM; Is it a problem of interoperation between managed and unmanaged code How can I solve this problem crescens2k wrote: In this case I think its simpler than that. If I am reading this right, you have typedef struct F ...Show All

  • fiaolle This application has failed to start because the application configuration is incorrect

    Hi everyone, I'm posting about a problem that has been addressed in the past, but the pure wealth of options and acronyms posted confused me. I'm a new Masters student, and I'm used to developing all my projects under a Linux environment. As such, I'm very new to developing applications using VS. I'm using Visual Studio 2005 (not Express) and developing in C++. I'm developing an OpenGL program, and the template I used to set it up uses Managed C++. All I want to do is develop an application executable that can be run on machines that don't have VS2005 installed. I don't want to force my supervisors to install VS2005 to simply run my various applications. I've built a debug version, found the executable in the program directory, and it runs ...Show All

  • Jay2801 UI thread dialog???

    Hi everyone, I like to write a MFC program where files will be copied from one place to another. While worker thread is copying the files, I like to show users a window with file copying (the copied files will be displayed, then the some other file operations that worker thread will be processig at a time, are also to be reported). But the thing is that I don't know what kind of class would be used to implement that reporting window and UI thread to have the program with this feature. Can you please help me with that Thanks!!! MTRECALC sample shows progress information in the satatus bar. You can create your own dialog and show progress information by any way you want - progress bar, text etc. Specifica ...Show All

  • morphius1 Weird compiler error related to function template argument deduction

    Hi everybody. I have just found a compiler error that is driving me crazy. I can not guess what is going on with this: //****************************************************************************** struct Dummy { void CallMe(const int i) { //WhatEver... int a = 43; } }; template <typename T> struct Test { template<typename R> void Function(R* pInstance, void (R::* TMemberNonConst) (T param)) { //WhatEver... int a = 43; } }; int _tmain(int argc, _TCHAR* argv[]) { Dummy dummy; Test<const int> test; test.Function(&dummy, &Dummy::CallMe); //Error.... } //*************************************************************************** The compiler says: error C2784: 'void Test&l ...Show All

  • MagedSalah Class diagrams unpresent in VC++05?

    I enjoyed C#'s way of immediately showing class diagrams just by a few clicks. I also develop the majority of my program in native C++. In the VC++ documentation, it said to add a new item and double click on Class Diagram. For some reason, it is not there. I guess I could start with asking why, and what can I do to create such a file Yes, it's sort of a documentation error. Initially VS Class Designer was to support all the languages that come with VS (C#, VB, C++, J#) and that's why the class designer documentation is written as it applies to VS in general and not to specific languages. At VS 2005 beta 2 class designer support for C++ was removed and postponed to an yet unknown future version of VS. ...Show All

  • CrashPlaxton Interop Problem - Managed C++ Wrapper Not Working Properly

    I like most people have a couple C++ .lib files that I need to be able to call from C#. Therefore I am writing a managed C++ Wrapper class that has methods to call the functions I need. In the libraries I have several functions (not class functions) that I need to be able to call. When I call one of these functions I get a "Unhandled Exception: System.NullReferenceException: Object Reference not set to an instance of an object at get_customer(CustomerResult*, Int32)" This get_customer method has a prototype of: CustomerResult get_customer(long customer_id) where CustomerResult is just a struct. Can anyone advise on where I am going wrong Thanks for the help. OK. The native method l ...Show All

  • Apollo13 CInternetSession::SetOption fails with 12018 error code

    I searched my problem on many sites like groups.google,codeguru.com/forum ... I see that so many people asks the same or similar question but nobody answers. I am trying to download a file from a password protected site.Here is a snippet of my code: char *username = "username", *password = "password"; CInternetSession session; if (!session.SetOption(INTERNET_OPTION_USERNAME, username, strlen(username))) TRACE("%ld\n",GetLastError()); if (!session.SetOption(INTERNET_OPTION_PASSWORD, password, strlen(password))) TRACE("%ld\n",GetLastError()); CHttpFile* pFile = (CHttpFile*)session.OpenURL("http://www.servername.com/folder/file.csv"); But SetOption returns FALSE and GetLastError return ...Show All

  • Kalaivani Prakash cl encoding all debugging info filenames in lower case?

    I have a file named MiXeDcAsE.cpp that I compile with cl.exe but it appears that cl.exe encodes the source file name in the debugging information inside the .obj file as "mixedcase.cpp". Is there a way to disable this I've looked at the output at various stages, the preprocessed output (/P) still has proper case while the code listing (/Fa) has filenames all lower case. Another way to notice this is inside the VC++ IDE. I have a project with file CRASH.cpp that causes a crash. When I run the project inside the debugger (F5), it correctly takes me to CRASH.cpp. But if I now remove CRASH.cpp from the project and run the program in the debugger, the IDE takes me to crash.cpp because the only information about the location of the so ...Show All

  • DiskJunky How to capture a termination signal?

    I apologize if this is not the right forum. It seems the most appropriate. I have a win32 app that runs in the background. I want to detect when it is requested to close. On *nix platforms I can do this by capturing the termination signal. But I have noticed in the documentation that windows only supports a few signals and termination is not one of them. So how do I detect if the program is closing because the user has logged out of the session Thanks Brian I think your questions was not clear to me. I was misled by the mention of signals. I thought your program is a console program. If it is a console program, then creating a window just to receive a WM_QUIT message is not necessary. A window requir ...Show All

  • Kartit Hi im using the latest c++ compiler from microsoft and...

    and I'm new to programming in c++ so please dont flame me i know im a noon for asking this but kk im reading an older c++ programming book from 1996 now it seems like the vc++ compiler doesnt understand the code im trying to use. in the book it gives u no instructions on how to use the compiler it seems like you haft to build the code from scratch the problem is the compiler has code already made for me when i start a new app. could anyone tell me how i can start from scratch on writing code or direct me to a place where I could learn how to use the compiler with this older code i would appreciate it thanks I disagree with that because MSDN is only a collection of C++ reference documents, but the ...Show All

  • e-spice Run time error in very simple matrix code

    Hi, this gives a run time error, so it doesnt print anything.. why #include "stdafx.h" #include "stdio.h" void prueba (int a[]) { a[0]=1; a[1]=2; a[2]=3; a[3]=4; } void main(int argc, char* argv[]) { int i=0; int b[4]; prueba(b); printf("%f\n", b ); } thanks! it was that..... when i execute it, it shows a window with this message: Microsoft Visual C++ Debug Library Debug error! Program: ...what ever.exe run time error (Press Retry to debug the application) I press Retry and it shows: what ever.exe has detected a problem and must close. This code looks OK assuminng that the light bulb means [ i ]. What runtime error ...Show All

  • Evan Mulawski 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 I have the same problem (and may be working for the same company)  My solution has more then 30 projects consisting of a total of >2500 cpp files.  Each project runs a makefile in the pre-build event that automaticly builds header files from cpp files based on information in macros imbeded in the cpp code. Each cpp file contributes to up to 4 header files so if the solution were searched the same defi ...Show All

  • xlthim warning C4273: 'MyClass::MyMethod' : inconsistent dll linkage

    Hi -   I'm cleaning up some code and would like some feedback on link warning C4273. Here's the scenario... I'm referencing unmanaged code in a C# win app via a C++/CLI wrapper. The wrapper wraps an unmanaged Win32 dll. So I have 3 apps - MyCSForm.exe, ManagedWrapper.dll, unmanaged.dll (and .lib). The warning occurs in the ManagedWrapper.cpp code as follows: ManagedWrapper.hpp class __declspec(dllexport) ManagedWrapperClass{ public:   bool myMethod(); } ManagedWrapper.cpp bool ManagedWrapperClass::myMethod() { /*call unmanaged code */ };  // C4273 warning here. The unmanaged.dll also has its classes declared with __declspec(dllexport). I reference the unmanaged.lib in my linker. The ManagedWrapper.dll is inclu ...Show All

89909192939495969798990123456

©2008 Software Development Network

powered by phorum