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

Software Development Network >> Visual C++

Visual C++

New Question

a vector of pointers in a for loop
RichTextBox Control
Take a look at the GDI+ help?
getline - Import/Export file
DWORD_PTR
Smartbridge Alerts
How to Create COM Wrapper ??
Executing an unmanaged exe from memory?
CSocket Locks up in CSocket::ConnectHelper (sometimes)
How to run code C written in Linux

Top Answerers

mam6669
Steve Calbert
RogerO
Orman
Chipe
nrs251
SteveBouff
ding3r
ploplo
Jassim Rahma
Vegadev Inc.
Only Title

Answer Questions

  • Janikocjan VCbuild and multiprocessor builds

    I'm trying to do a multiprocessor build through vcbuild by following the format given in MSDN (C:\vcbuild /M2 "C:\MyExamples\MultiprocExample\Console1\Console1.vcproj" Debug "C:\MyExamples\MultiprocExample\Console2\Console2.vcproj" Debug) The problem is that vcbuild doesn't recognize the second project as a valid option and ignores it.  Is this a known problem or is there a better way to do this (This is being done from the Visual Stu ...Show All

  • Espasojevic Hi friends, nobody is there to guide me for localization of MFC dialog...

    Hi! Can anyone help me out how one should achieve localizaton of MFC dialog application. Regards, Hi Martin! Thank you for your answer but you know you added a link which i cant understand becuase it was in German language.Please, add a link which is of English language. Regards, Sanath. I wrote an article in german, but there is a sample code within: http://www.mpdvc.de/ar ...Show All

  • jorisp VC stops executing

    Its vc++ 6.0 Enterprise edition running on windows xp. And specifically happens when i do this: CMyDocument::OpenAVI(CString FileName) {     AVIFileInit();     PAVIFILE pAviFile;     AVIFileOpen(&pAviFile, FileName, OF_READ, NULL);     AVIFILEINFO fileInfo;     AVIFileInfo(pAviFile, &fileInfo, sizeof(fileInfo));     PAVISTREAM pVideo;  & ...Show All

  • tr-1 why would operator=() and operator*() conflict in ref class??

    I have some code that boils down to this: ref struct A { A % operator =( const A % other) { return * this ; //<<-- offending line - thinks I mean make "this" an int as defined below: } int operator *() { return _i; } int _i; }; int main( array <System::String ^> ^args) { A a, b; a = b; return 0; } So when I compile this example in ...Show All

  • PeB Function that affects controls

    Hello, I have an important question; why do I get an error running my following code. But first let me explain what I did. I have my main "Form1.h" header in which I wrote the following class: public ref class MyCommands     {         static int MyInt;         static int CardsDrawn;         public:           ...Show All

  • dynamic sysop Can’t add control variables with Windows built template classes in VC2005

    In the following example I can't add a control variable through the resource editor because this feature is disabled.: template < class TPL_FORM=CFormView> class TTplForm : public TPL_FORM { public : TTplForm(UINT nIDTemplate):TPL_FORM(nIDTemplate){} ~TTplForm(){} void Fonction(){} }; class CTestFormView : public TTplForm<CFor ...Show All

  • AkoSam whats wrong with declarign a pointer?!?!?!?!

    hey guys, this is dead simple, i have an mfc application with shared dll. i declare a pointer as follows: int* t = new int [2]; and its exceptioning saying out of memory! wahats wrong with that i know that i can do it using int t[2]; but i want this as a breif explaination of another problem i have. i cant spot why it doesnt like it at run time! Is that still an issue Thanks, Ayman Shoukry VC++ Team ...Show All

  • Troglite Unresolved symbols linking dll

    I get the following errors trying to link my dll project (non MFC in this case). What am I missing nafxcwd.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined in testdll.obj nafxcwd.lib(dllmodul.obj) : warning LNK4006: _DllMain@12 already defined in testdll.obj; second definition ignored    Creating library Debug/test.lib and object Debug/test.exp nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symb ...Show All

  • MichaelK. IntelliSense works intermittently

      I understand that c++ intellisense is poor than c#, but sometimes it simply doesn’t work. The scenario is quite simple:   Edit a line and type a class object and then the -> operator. Successfully intellisense open the drop-down box and show all available members. Now go to the next line and type de same class object and intellisense is not capable to find any thing. Or at reverse situation. In first line intellisense doe ...Show All

  • Martinavd GDI+ Display JPG

    Hi all, I am new in Visual C++ and GDI+. I am currently using VC++ express to display a jpg file. I basically, copy from PSDK example and paste it on my program as follow: WM_paint: Image myImage(L"Climber.jpg"); myGraphics.DrawImage(&myImage, 10, 10); It didn't even compile. I am sure, I must have done something incorrectly or not doing something else in the first place. All other example I see in the internet ...Show All

  • Mustafa Kamil ATA Can I write to MemoryStream?

    In .NET we can save data to MemoryStream, can we do this in Visual C++( not using Managed C++) Regards There is no way to access managed stuff from the unmanaged world directly. So i.e. exposing an interface or function that can be accessed directly. You have to use at least some mixed code or you have to expose a class from the managed world via COM. ...Show All

  • Sydney Maxwell How to make crtdbg.h and new(std::nothrow) work

    Hi. I've been using the crtdbg functions for a while to find memory leaks, and it works great when I use the following preprocessor statements. #ifdef _DEBUG #define _CRTDBG_MAP_ALLOC #include <crtdbg.h> #define DEBUG_NEW new(_NORMAL_BLOCK, __FILE__, __LINE__ ) #define new DEBUG_NEW #endif As you'll know, this way the crtdbg functions show the correct file and line where the memory of the leak was reserved, using the "new" operat ...Show All

  • Mike Hulen VS2003 C++

    The problem I have is I have a class called paths_dlg.cpp and paths_dlg.h.  As well as a Dialog box called IDD_PATHS in my resources. In the paths_dlg.h file i keep getting the error C:\will\paths_dlg.h(26): error C2065: 'IDD_PATHS' : undeclared identifier This refers to a line that reads enum { IDD = IDD_PATHS }; in the paths_dlg.h file.  What is it that i am doing wrong here   Many thanks Will ...Show All

  • pilarp Where is C99 round function?

    First, I post this question to Visual C++ Language but it seems it's OT there, so I repost it here as it relates to VC++ 8.0 libraries Hi, It may seem to be extremely trivial quesion, but I completely have no idea why I can not find round function in math.h I use VC++ 8.0 so I suppose it brings very up to date C/C++ librareries. round function was added in C99: http://www.dinkumware.com/manuals/reader.aspx b=c/&h=math.html#roun ...Show All

  • R Achmann PLease help

    I had been using Turbo C++ 16 bit app. And have recently upgraded to Visual C++ 2005 Express Edition, but i am having difficuties in using it. My use it educational. Actually my use is quite satisfied by using the Turbo C++. My my PC is 64 bit, and it does not run turbo C++ since it is a 16 bit app. Please help me as to how to use Visual C++.. VC2005 is a highly standards complia ...Show All

171819202122232425262728293031323334

©2008 Software Development Network

powered by phorum