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

Software Development Network >> Visual C++

Visual C++

New Question

BackgroundWorker's thread trying to access Form1's UI
Specific MFC functions wont load / unresolved
_except_handler4 gone on x64?
Accessing the Windows registry
Display an Unsigned CHAR as Binary and Hex
[Severe Problem] CreateFile fails in VS2005 (Help me!)
Where can I get a sample server-client programs?I want to get a sample program to study .If you some expert have one ,please
Connection timed out - socket error crashes my program
Problem with WinAPI MessageBox and Visual C 2005
Raising exception in one thread, handling in another..

Top Answerers

DaveRogers
Marshes
mstcrow5429
rkaushik
aler2u
utterlyconfused
drewdb
ab2304
Bruno N. Souza
dba123
SkyHawk Systems
Only Title

Answer Questions

  • MrMigs Where to download vc++ 2003?

    I can't find a download link to visual c++ studio 2003. I know about 2005. I just need 2003. Stany01 wrote: I can't find a download link to visual c++ studio 2003. I know about 2005. I just need 2003. You can download Visual Studio 2003 from the MSDN Subscribers downloads page http://msdn2.microsoft.com/en-us/subscriptions/default.aspx but you need to have bought an MSDN subscription of an appropriate level so you can log on and access the downloads and product keys. You can't find a link because its not free. ...Show All

  • David d48701 CreatePointFont creates font of different size in VS 2005 vs. VS 2003

    Hi, I 'm converting projects from VS 2003 to VS 2005. One suprising thing is a different visible font size on the screen (at some places in my apps) It seem that : font.CreatePointFont(80, "Arial"); now creates a slightly larger font (on a 96 dpi Monitor) then before (lfHeight=-11 vs -10). Is this by indent BR, Uwe Hello Re: CreatePointFont creates font of different size in VS 2005 vs. VS 2003 The more appropriate place for your question is probably the MFC newsgroup: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.vc.mfc&lang=en&cr=US OTP Thanks Damien ...Show All

  • BlueMikey about making an interface with another program

    Hello (using visual c++.net) What I want to do is to be able from c++ to use objects from a software and use that software My first step is to "add reference", so I get the dll or libraries from that software where the objects that will let me use the software from C++ are.. well, done that, I don't know how to continue... I don't know how to declare the libraries to use the objects... for example I have: NXVIEWRUNTIMELib.NxViewRunTimeObj.CreateMyOpenSpace on the object viewer... But I have no idea about how to use this... I don't know how to declare all this to be able to use it Hopefully someone will help Cheers, Yamobe I would first read up on this recent ...Show All

  • deGame Adding components and controls in VC2005

    Hi everybody. I want to add an Communication control on my dialog based project in VC2005. In VC6.0 I was using Project->Add to project->Add Components and controls etc In 2005 under the project menu I do not have Add to project :( When I created new MFC project I selected Dialog based and made sure ActiveX control radio was checked. Under Tools->Customize (Commands tab) I have Rearrange Commands->(Menu bar checked) select Project pressed Add, under categories select again Project and I can see "Add component" and "Add user control". However even if I added them they are greyish under Project menu. Any ideas how can I get "Add to project" for VC2005 Thanks Marian ok, found if I cli ...Show All

  • i.i forum moderator

    ***If you still need to delete your entry, submit a post to the forum for the moderator to delete*** This post is for the forum moderator... can the post i did on 02/11/2007 on Data structures programming using C++ be deleted please... the starter was cyndyash.... It was a paste of an assignment. thanks. I think it is http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1173181&SiteID=1 , however the date seems to not match. I don't seem to find the post. Please provide a URL link to it and I will delete it for you. Thanks, Ayman Shoukry VC++ Team ...Show All

  • bitskull CRect and TEXTMETRICS units

    I'm trying to fill my CEdit with data, and I'm using the following to figure out how many lines of data I can output to the window. CDC * pDC; pDC = m_DisplayWindow.GetDC(); TEXTMETRIC Metrics; pDC->GetOutputTextMetrics(&Metrics); int LineHeight = Metrics.tmExternalLeading + Metrics.tmHeight; // Figure out how many lines can be put into the window. CRect WindowRect; m_DisplayWindow.GetWindowRect(&WindowRect); int WindowHeight = WindowRect.BottomRight().y - WindowRect.TopLeft().y; m_nMaxWindowLines = (WindowHeight/LineHeight + 1); Obviously the units of a CRet and a TEXTMETRICS are different because I'm only getting half the CEdit filled with data. Anyone know a more appropri ...Show All

  • Coboler changing colour of a cell in grid

    Hi, i am using grid (dialog box) having 4 rows and 3 columns (total 12 cells) in visual c++ 6.0. i want to change the colour of a particular cell at runtime for a particular value. how can i do it Thanks and Regards Munish Gupta Hello Munish It doesn't look as if the SSDBGrid Control is a standard VC++ control and it seems to be a 3rd party control. You should ask on their support forums or contact their tech support. Sir, it is SSDBGridControl in Visual C++ 6.0. Munish Gupta Are you using MS Flex Grid Control I think it's basic control and it provides some basic services for the Grid. If there's no c ...Show All

  • Spyrrho Command Line Compiler mscorlib Location

    Is there a command line argument in Microsoft's C++/CLI compiler that prevents the compiler from looking for mscorlib.dll in: c:\windows\microsoft.net\framework\v2.0.50727\ Our build environment requires that all builds be consistent and reproducible. This means that there should be as little reliance as possible on the configuration of the particular machine used to build the software. We require all components referenced during the build process to come from a single shared location, not from the user's local hard drive. C# and VB both provide the "/nostdlib" command line argument but I cannot find anything similar in C++/CLI. Any thoughts Try using: Tools + Options (Show al ...Show All

  • tryanothername Pass a delegate from VB to C++

    Hello, I want to pass a function pointer from my VB GUI code to my C++ class. The function is a callback, now defined as a delegate (as I understand it), where the C++ code would call the callback function located in the VB code if triggered. I have seen lots of examples of passing callback pointers from managed code to an old Win32 DLL, but nothing of passing a callback pointer from VB to C++, both managed. Please let me know if there are any examples I could reference. Thanks. It should be something like this (not tested, can contain minor mistakes): // C++/CLI library public delegate void SampleDelegate(Object^ data); public ref class SampleClass { ... public: void SampleFunction(Samp ...Show All

  • Malleswar Static object initialization and thread safe

    I have ran into a situation that is very werid. Could anyone help me This a C++ application built and debugged on Visual Studio .Net 2005. Basically I'm implementing a singleton class using double check locking pattern. I have read many arcticles about how this pattern is not thread safe, but my problem is slightly different. Here is the pseudo code: MyMutex.h/cpp class MyMutex { public: ... Lock() { ... } Unlock() { ... } ... }; ThreadMutex.h/cpp class ThreadMutex { public: ThreadMutex() { ... _lock = new MyMutex(); ... } Acquire() { ... _lock->Lock(); ... } Release() { ... _lock->Unlock(); ... } ... private: M ...Show All

  • Tom Medhurst const_cast and mutable

    Hi All, Anybody can give some realworld scenarios on using const_cast and mutable objects I posted this thread a couple of days ago. Yesterday I have really experienced how to use mutable and exactly where. Yesterday I had to make a class thread safe because it's objects are shared between different threads. It contains many set/get and other functions. I implemented the Get functions as const functions which is not supposed to modify the state of the class. The class contains a synchronization object which need to locked and unlocked in order to accomplish the synchronization. it's not possible to make the lock function of the sync object as const because that function changes sync object's state. Suddenly I remembered my post I ha ...Show All

  • Scorpiuscat ADO Connection object

    Suppose I develop HTTP ( or some another ) server. Can I use single Connection object for many requests ( many threads ) or I should use MS ADO pooling mechanism and create new Connection (or Recordset with implicit Connection) every time Thank You, but what about the bottleneck has been mantioned above. Is it the solution for the concurent server design ( excuse me I dont think ) On the second hand I'm ready to make a dive into provider's layer and use ODBC, for example, instead of ADO, it is not problem, just tell me if it DOES PROVIDE MULTIPLE NOT QUEUED ACCESS to DB for readers. Or may be I wish too much from the thing I thing that when you create a mul ...Show All

  • SaintJimmy How use a 'map' for collect data from managed class callback?

    You can use any generic container like List<> or Dictionary<>. Could you be a bit more specific about what you are trying to achieve Perhaps you could show some code on how you've got it running now, and how you want it to work ...Show All

  • gomaz Problem with CString Variable

    I am using a dialog class which is derived from another generic dialog class which itself is derived from CDialog This class contains many CString varibles and it is working fine. Later I added another CString variable. Then also the corresponding dialog is properly opening(Modal Dialog), but after closing the dialog I am getting the following Assertion: Run-Time Check Failure #2 - Stack around the 'dlg' was corrupted When I click Retry it is taking me to the next statement from where the dialog is initiated using DoModal() method. Here I found one strange behaviour. If I put any char , int or float variable before this CString member variable I am not getting any error message. But If I put double variable I am get ...Show All

  • imranmbukhari PostMessage fires my message twice

    Hi, I have a very strange problem, In my project (Cpp) I use PostMessage , the problem is that it fires my message twice - even though I wish to post it ones. More clearly, Whenever I try to post a message from my addin to my automation project I receive two messages, and thus, I trigger my responding function twice. It costs me computation time and it also causes computation errors. Does any one have a clue Best regards. Typically you would run into this problem if more than one Messages have same Message ID. Might be your MessageID is conflicting with some existing. You would need to put a breakpoint to check the call stack and traverse back to find out the source of the origin of the ...Show All

67891011121314151617181920212223

©2008 Software Development Network

powered by phorum