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

Software Development Network >> Visual C++

Visual C++

New Question

"make depend" from .NET gui ?
binding datagrid control with sql server database
Upgrade to VS2005 gives problem with iterator
Dialog with a toolbar with tooltips failing
Accessing the vftable (vfptr) without constructing the object
Is this bug fixed - "Add/Remove operation is impossible"
backgroundWorker1->Dispose() ?????
how to retrive data/record from Microsoft Access using ADODB in Visual C++/CLI
Newbie getting C2352 error
make a dependatnt service

Top Answerers

Marnik Van Hileghem
Vimal_Rupera
eugene7_11
Guostong
BhuttCrackSpackle
Sorcerer14
Kardath
furjaw
RajeshR
pateramj
sitemap
Only Title

Answer Questions

  • litewoheat .NET framework 1.1 from 2005

    Is it possible to compile .NET framework applications using .NET framework 1.1 without having visual studio 2003 installed I know that you can do this with VB and C# projects with MSBee, but that tool doesn't seem to support C++. It is frustrating because I can make my programs compile in both VS 2003 and VS 2005 with virtually no code changes, however I'd like to make them compile on a computer that has only VS 2005 installed. Is there a way to use the .net 1.1 SDK to do this Sarath. wrote: can't you use cl.exe and make files to compile Thanks, that works... sort of. Is there anything slightly more automated Or is there a way to list what commands Visual Studio runs so I don't have to copy ...Show All

  • DavidThi808 im sure there's a way to do this

    I have a variable of type long double and i've heard that c++ is accurate up to the fifteenth digit. Well, I'm writing a WIN32 console application and I'd like if I could output this variable to as many digits as possible. I'm sure there's an easy way to format decimal output isn't there the statement cout << variable << endl; only outputs it up to 6 digits, which isn't enough for my purposes. Can anyone help me with this thanks, vicarious cout has a default floating point precision of 6 digit. You can verify this by calling cout<<cout.precision(); You can set the outut streams precision by calling cout.precision(new_val); where new_val is the floating point precision you desired. H ...Show All

  • technica Slider Range Problem and S309PictureBox Active X Control

    Hi, I want set a range for my slider in visual studio 2005, mfc, dialog. But I dun know why I only can set the range max and min in main dialog. When I call second dialog with slider (range was set like ::slider.SetRangeMax(60,True);) it appeared an error with afxcmn.h line 438. If I set the range for slider in main dialog , it seems ok. All problem are same with my Active X Control or when I want to change a Static Text. Can you help me MFC questions should be asked here: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.vc.mfc&lang=en&cr=US MFC ActiveX questions should be asked here: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.vc.mfcole& ...Show All

  • devilmfc c++ projekt over many platforms

    I'm dyslectic so have patient whit my spelling! I'm new to c++ and need some help. The project i'm working on now need to be (almost) platform independent. Its a internet application and i need it to work on win, mac etc. how should i plan to do it different versions for different platforms where can i get SDK's for other platforms then win what is platform depedent and what should i look for any tips of how i could pull this of c++ it self is pretty portable(if you do not use MS extensions MFC etc.). What you need to do is to identify which part of your project is not portable. Non portable part could be handled by special #define or you can use some kind of 3rd party library. Examples of non-porta ...Show All

  • curtKauf Why do my macros stop working?

    Visual C++ 2003 .Net Framework 1.1 I record a simple macro to comment out a line of code. Then I bind it to a key. Everything works fine. Then, after closing visual studio and starting it again my macro stops working. At least I think this is what makes it stop working, but I'm not positive on that. I even open the macro browser and right click on it and select "Run" and I see the cursor turn into an hour glass for a second, but then nothing happens. Even selecting "Run" on other Microsoft samples such as "CommentOut" don't do anything. So, I recreate my temp macro and select "Run" in the macro browser. Most of the time this works, but it seems like sometimes that doesn't even work. I'm e ...Show All

  • allenwfc Variable definition using parenthesis-syntax

    Hi guys! I ran into a very strange error when trying to compile the following code: char ** const freelist(p_freelists+index); //freelists is of type char**, index is of type int The code was ported from a gcc-based environment, where it compiled fine. However, under VC++ 2005 this throws an error C2061: syntax error : identifier 'p_freelists' On the other hand, when changing to the (more or less) semantically equivalent: char ** const freelist = p_freelists+index; everything works fine. My question is: Why does the code using the parenthesis-syntax not compile Regards, A. Weis Bug opened on behalf of A. Weis.  Here's the link: https://connect.microsoft.com/VisualStudio/feedback/ViewF ...Show All

  • Thales Medeiros convert from string to LPCWSTR

    hi all, I am new to C++ and I am having a hard time converting from strings to LPCWSTR and LPCSTR, LPTCHAR because I wanna use functions like WNetAddConnection2 and createDirectory. The parameters of those functions are either LPCWSTR, LPCSTR, LPTCHAR. My code looks like this. It can compile and when I build it, there's aunhandled win32 exception occured in mt.exe [300] prompted. I think it is due to the convertion. please help thanks. NETRESOURCE nr; DWORD res; string local = "Z:"; string remote = "\\\\etad2\\home"; string password = "Password"; string user = "Admin"; nr.dwType = RESOURCETYPE_ANY; nr.lpLocalName = (LPWSTR)local.c_str(); nr.lpRemoteName = (LPWSTR)remote.c_str(); nr.lpProvide ...Show All

  • Noemie Can i make VS play a sound when build is done?

    Is this possible i know there are post build events and such but even when i try to print an ascii bell char to make it beep, it does not work. it would just be good to know when the build is finished. For why Visual Studio doesn't have build sounds and what to do about it, see this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=189939&SiteID=1 Actually, there's the Visual Studio 2005 IDE enhancements that includes the Event Toaster that will allow you to associate sounds with various Visual Studio 2005 events including build: http://www.microsoft.com/downloads/details.aspx FamilyID=cd7c6e48-e41b-48e3-881e-a0e6e97f9534&displaylang=en Thanks - I added the VB macro ...Show All

  • Antioch _resetstkoflw()

    could not find entry point __resetstkoflw(). Why this error occurs And what is the solution for that That's a VC6 import library. What version of Visual Studio do you use If you are using VC6.0 then please use the newsgroups at http://msdn.microsoft.com/newsgroups for such issues. Thanks, Ayman Shoukry VC++ Team It's there, both in the static and DLL versions of the CRT for VS2005. I had no trouble compiling nor calling it. Sounds like you might be linking the wrong CRT libraries... But when I checked in msvcrt.dll, that function is not present in that file. So what to do How to solve this problem ...Show All

  • PatOvens afxmsg_.h is missing

    Hi: I am new to windows development so pardon me if this is a FAQ. I am trying to compile a simple MFC hello world app from the Prosis book using visual C++ 2005 express beta2 and the compiler says it can not find afxmsg_.h It looks like most of the afx* includes are present in c:\program file\microsoft platform sdk\include\mfc directory but afxmsg_.h is missing. Any ideas what I am doing wrong or missing Thanks, Bob I've recently downloaded Visual C++ Express Edition (8) off the microsoft site I've also painstakingly installed the Visual C++ 2005 Express Edition with the Microsoft Platform SDK I still don't have the afxmsg_.h file. Is there anywhere I can get these missing files The include files ...Show All

  • tonofit Structure Alignment/Packing issue

    I have developed a VC6 X application. In X application i am reading/ writing structures in the binary file. These files are used by Y application which is also developed in VC6. Untill now everything was working fine but as soon as i changed the order of struture members i have started getting junk values in Y application. I have changed the order in both the application but my X application is reading them properly from the file but my Y application fails to read from the same file. Can anyone tell me why is this happening. Any kind of help will be appreciated Thanks in advance Herman Bastiaens wrote: Is there a way to have Visual Studio 2005 warn you about misaligned struct memb ...Show All

  • Will87 Floating point stack overflow

    My application works fine in VS2003, but in VS2005, it is producing an overflow of the floating point stack.  This seems like it must be a code generation error in the new compiler.  Has anyone else experienced this problem In the particular case I am looking at, I step through the instruction FLDZ in the disassembly window.  Instead of getting a zero in ST(0), I get 1#IND, and the SF and C1 bits are set in the x87 FPU Status Word.  The first time through this code it works OK, but this second time through, the FPU tags register shows that the stack is full before the FLDZ instruction. Thanks Mark,   Please keep an eye on the link you provided. The responsbile folks will take a look soon and update the ...Show All

  • Jan Ku&amp;#269;era why :: . .* can not be overloaded

    hello people, i m into c++ for quite some time.. .. i hav a doubt why :: (scope resolution; ) . (member selection ) .* (member selection through pointer to function) operator can't be overloaded in "The C+ + Programming Language Third Edition" its written that " They take a name, rather than a value, as their second operand and provide the primary means of referring to members. Allowing them to be overloaded would lead to subtleties [Stroustrup,1994]." please help me to understand above sentence... If you ask a technical question, you're going to get a technical answer. The operators you've mentioned aren't logical or ...Show All

  • Donaghy CButton Events in MFC?

    Hello I just made a little simple app (because I just started last night) that has a button (CButton) with no events and a text box (or CEdit...) and a Static label (CStatic). Now, with that done and working, I'm content (remember, I started last night!) Anyways, my name for CButton is "cb", CEdit is "ce", and CStatic is "cs", all without quotes. Now, I would like so that when cb is pressed, cs will contain the string that was input from ce. How can that be done Please, explain step by step. If you don't want to explain the whole thing, just show me the code, I'll eventually find out. Thank You Keehun Nam Here is my current code: //hello.cpp #include <afxwin.h> // Declare the application class class CHel ...Show All

  • BuddyBoy2006 how to return a array in a function?

    i write a function like this : void firstScan(int bitmapArray[][],Bitmap*bitmap1) { int bitmapArray [640][480]; int greyRangeMax; int greyRangeMin; System::Drawing::Color tmpColor1; for(int inty=0;inty<480;inty++) { for(int intx=0;intx<640;intx++) { //get pixel color tmpColor1 = bitmap1->GetPixel(intx, inty); //calculate grey color range int temp = Math::Max((int)tmpColor1.R, (int)tmpColor1.G); greyRangeMax = Math::Max(temp,(int)tmpColor1.B); greyRangeMin = greyRangeMax-20; //calculate skin color range double I = (Math::Log(tmpColor1.R) + Math::Log(tmpColor1.B) + Math::Log(tmpColor1.G)) / 3; double Rg = Math::Log(tmpColor1.R) - Math::Log(tmpColor1.G); double By = Math::Log(tmpC ...Show All

92939495969798990123456789

©2008 Software Development Network

powered by phorum