Software Development Network Logo
  • .NET Development
  • Visual C++
  • Visual Basic
  • Visual Studio
  • Visual C#
  • Architecture
  • Windows Vista
  • Windows Forms
  • VS Express Editions
  • Visual J#
  • Game Technologies
  • Windows Live
  • SQL Server
  • Microsoft ISV
  • Visual FoxPro

Software Development Network >> Visual C++

Visual C++

New Question

How to Resize DialogBox in VC++ with Code?
my visual c-code and visual c++ code after execution gives different answers
problem in explicit linking of DLL
LNK2019: unresolved external symbol error when i compile my win32 app
Linker error:LNK2005
MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function _WinMainCRTStartup
Why is "stderr" not constant in the second scenario??
Valid Printer Ports
Having Problems In Building Sample Projects With VC++2005
How to Create A Skinnable Application

Top Answerers

Saul Silos
adaley
Tazwng
realtebo2
Christopher Gordon
White Shadow
geniusguy
flobadob
pradeep_TP
Andrew Mackie
Kelly, Jimi
Only Title

Answer Questions

  • Allenvm3 CreateMutex problem

    Hi everyone, I'm getting a security threat related to giving DACL rights to "Everyone", for example while creating mutex- when I run my code through Application Verifier, even though I have removed the "Everyone" access completely from the code. Is it possible that some functions are interally calling functions like createmutex, etc, with the "Everyone" right Can we control it Also, Is there any way of traversing through a list of all mutex c ...Show All

  • Reg J What happens inside CryptDeriveKey?

    I am translating the CryptDeriveKey to Java but the algorithm implemented doesn't work correctly. The code in Java is: private static byte [] CryptDeriveKey( byte [] key, int size, int algorithmType) throws Exception {     byte [] buffer1  = new byte [64];     byte [] buffer2  = new byte [64];        Arrays.fill(buffer1, ( byte )0x36);     Arrays.fill(buffe ...Show All

  • HOODEY Accessing Screen Buffer

    I want to take capture of Screen i.e. Screen Shot :P. I have done it using MFC/Win32. But I dont find it very fast. Since every time I have to go through the same procedure which makes processing other things at same time very slow. So I want to directly access the Screen Buffer. Is it possible. If yes, how can I do it . If no, whats the alernate I am ready to go to low-level language to achieve this functionality. But I want to do it like thi ...Show All

  • Eric Kehr Property Sheets - A problem

    Compiler: Visual Studio.NET 2002 Hi everyone, I am having trouble teaching myself Property Sheets. I thought I grasped the ideas but I get a 'First-chance exception' in the Output window when debugging. I do not think I am doing anything special, my code is: CPropertySheet propsheet(_T("Property Sheet")); MyPage pageFirst; // derived from CPropertyPage MyPage2 pageSecond; // derived from CPropertyPage propsheet.AddPage(& ...Show All

  • graphicsxp Setting Starting Position of MFC Dialog

    Hello All, I'd like to have my mfc dialog appear at the bottom right corner of the desktop (right above the system tray). I can't seem to find the right coordinates, any ideas Thanks, Mike Thank you Nishant, I appreciate your response, works great. A somewhat simpler way is: CRect rcScreen; SystemParametersInfo(SPI_GETWORKAREA, 0, ( void *) &rcScreen, 0); CRect rc ...Show All

  • Oleg_Makhota Manifest file when using both /MD and /MDd DLLs

    I have an application that can be built in debug (/MDd) or release mode (/MD). This application uses third-party DLLs that are built with /MD; for example the Microsoft PDH.DLL. There is no memory-mismatch issue since these third-party DLLs handle properly all memory allocations/deallocations. When I build my application in release mode (/MD), everything works. When I build it in debug mode (/MDd) and run it, I get the&n ...Show All

  • A.T. Getting LNK4224 with B2 - what's the story?

    Hi David! When building projects with VS2005 B2 I'm now seeing lots of these: mymodname.obj : warning LNK4224: /COMMENT is no longer supported;  ignored While the message is straightforward, what's the story behind it The "/COMMENT" was marked as depricated in VC2003 and is now consequently removed... You should use " #pragma comment" instead. The reason might be: more C++ conform. -- Greetings J ...Show All

  • IMBack EETypeLoadException

    Hi I’ll migrate a VC++ 6.0 MFC solution to VC++ 2005 (managed c++). My solution consists of one exe-file which call’s some MFC extension DLL’s and some MFC extension DLL’s. After I compile the code with "/clr" I get the "Loader Lock" Error on some DLL Main function’s. I have fixed the Loader Lock" Error by the manuals of MSDN library, but now I get these errors when I debug the code: … ' myprogramm.exe' (Managed): Loaded 'C:\WINDOWS\WinSxS\x8 ...Show All

  • eyal k XP look

    hello, How can I give my application the XP theme if my application uses a separated Dll that hold all resources As Nishant sayed you need a manifest. Description from MSDN here http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnwxp/html/xptheming.asp As he sayed it doen't matter from were resources are loaded it depends only on what process/module the control is created from and what comctl32 is bound to the p ...Show All

  • t_shan Template ptr to funct error in VC 2005

    I'm using STL templates and pointers to functions to do a quick search for the first element in a vector that meets certain conditions. The code compiled fine in Studio 6.0 and 2003, but in Studio 2005 it generates a chain of error messages about converting parameter 1 from const long to const IEvent &. How did parameter 1 get to be a const long in Studio 2005, when it compiled fine in Studio 2003 I looked through the list of breaking chang ...Show All

  • Marius.Cotor symbols (*, #, %, @, etc)

    If you will, list or explain the nature, language rules, and-or syntax of symbols used in C++ code.   Jonathan Caves MSFT wrote: @ - not part of the C++ character set: can only appear in a comments, strings and character constants There is the rarely used charizing operator . What text characters can be used in identifiers ("names") (note: I did not i ...Show All

  • Sreejan Redistribution of C runtime libraries without MSI installation

    Hi guys, I'm trying to get an installer of our product working.  I've finally gotten it compiling and running under VS2005.  For various technical and political reasons, I have to use NSIS as our installation technique. This is where the problem begins.  I can't quite see how to redistribute the relevant CRT libraries.  I've been round and round in circles following the MSDN information, and various blog postings (e.g. http:/ ...Show All

  • Akiren A problem with ATL::CTime.GetLocalTm()

    I have a projiect in vs2003.net,which use ATL::CTime.GetLocalTm()function with default parameter. But in vs2005 the function was defined without any default parameter. And the MSDN tells that we can use it with a NULL paramenter,so I do this.But there comes a breaking when I debug the project after I building it. Then I step into the ATL source code to see the definition of GetLocalTm,and I found that there is a macro definition o ...Show All

  • kgreer How do I inherit from Generic type?

    I am unable to figure out the syntax to inherit from a Generic type. Can someone transalate the following c# code to C++/CLI public class MyThings : System.Collections.ObjectModel.Collection<MyThing> { } public class MyThing { public String Name { get { return m_Name; } set { m_Name = value; } } private String m_Name; } ref class MyThing { public: property S ...Show All

  • DarkNite Array + debug

    How can I see the value of the array using the project CLR/Windows Forms Application #include "stdafx.h" #include "Form1.h" using namespace Xcard_MDB; #include <iostream> using namespace std; #define TST_UC 12 unsigned char Tst_auc_m[TST_UC], i; [STAThreadAttribute] int main( array <System::String ^> ^args) { // Enabling Windows XP visual effects before any controls are created Application: ...Show All

616263646566676869707172737475767778

©2008 Software Development Network

powered by phorum