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

Software Development Network >> Visual C++

Visual C++

New Question

CStringT::Tokenize
VC 6.0 compatibility with WinDDk
when the size of the web browser become bigger, hBmp and hBmp2 return null
CString pointer compatibility with const char* in VS 2005
How can I Publish a .net 2005 c++ project
Excluding files in xdcmake?
stringstream/ifstream and converting data types
What is the latest on STL.NET?
manipulating excel files with C++
how to change default build settings?

Top Answerers

Parceval
Sailu
Jan Kučera
j_ames2006
Lightness1024
toni70000
sailorsurprise
JS TCS
Niehls
Rischa
sitemap
Only Title

Answer Questions

  • Martin Gentry What is a void pointer?

    Hello folks, Can someone please explain what a void pointer is I understand that a pointer simply contains the memory address of some variable, and if I qualify my variable with the "&" sign then I'm passing it by memory address (like a pointer) and not by value. But lately I've been seeing things like the following: SomeFunction(int var1, void* var2); Or: int var; someClass->SomeFunction(.., (void**)&var); Thanks in advance everyone. I totally agree: not so much because of legalities, but because when one doesn't cite, they appear to be trying to take credit for other people's work. Here is the original text: http://www.cplusplus.com/doc/tutorial/pointers.html In ...Show All

  • Mopman365 How is type checking done?

    Could some body tell me what happens when the compiler sees an instruction like this: int i; i = 10 + 'A'; cout<<i; The code compiles and runs perfectly and promptly shows an output of 75. So how is the type checking done here When is the asci value of 'A' inserted in place of 'A'. Does it happen at compile time or at runtime Could some body explain or point to a link Compiler casts char type to int and computes result immediately. This is assembly code for this code fragment:     int i;     i = 10 + 'A'; 004113AE mov dword ptr [ i ],4Bh 4Bh is result of 10 + "A' calculation. Compiler makes all calculations possible at compile time to optimize runtime performance.   ...Show All

  • Krest Manifest issues with VC2005

    Hi I'm trying to build a production application in debug using Visual Studio 2005. The application builds, but when I go to run it in debug, I get an error that it can't find the Release versions of the run-time libraries. I've looked at a lot of documentation and discussion groups regarding manifests and have not found out what to do. It looks like the manifest (as near as I can tell) has the debug versions of the libraries included, but not the release versions. My application is a mix of OEM libraries and ours, some of which are release builds. How can I get this to work Is there some wat to add the release versions to the manifest Could you post the manifest in question Thanks,   Ayman Shoukry ...Show All

  • MadGerbil How to communicate with a Command Prompt (cmd) window in VC++

    hi all i want to use the VC++ to write a program that can run the command line window and run some command on it i.e pass some commands to it like for running an .exe file with some parameters and then get back some results from it. how can i do a thing like it. Aamir Search for the system method in MSDN and you should find some entries on how to use it. e.g.: "cmd /K a.exe first_argument" Thanks, Ayman Shoukry VC++ Team thanks but a little more that how should i do it if i want to run an .exe with one file name parameter which normally i do in cmd window how should i call the system method Aamer One of the simple ways is to just use the " ...Show All

  • Siri29388 C++/CLI problems/issues

    I have some questions on C++/CLI issue. Let me explain my situation: I have an existing native COM dll that contains my logic. It has been tested and works fine with native C++ client using CoCreateInstance. I would like to add a new logic and notice that BCL has a class that I can use. So I add a new source file and header which I compile with /clr since I need to use one of BCL classes (actually, at this point, it is just an empty shell). When I tried to CoCreateInstance in my native client, it couldn’t create. But if I go back to my COM dll project and take out the /clr in my new source file, it works fine. After some debugging, I found out the problem and have been able to fix the issue. However, I would like to get more detai ...Show All

  • Brazzle linker cache?

    When compiling a project does the linker cache what librarys it found certian object in If so how do I reset this, I can not seem to get the linker to stop looking for a library that no longer exists. There's an .ilk file in your Debug folder to support incremental linking. That's probably not it though. Check your Additional Dependencies settings (Linker, Input). You might also have compiled a source code file that contained a #pragma comment(lib, "blabla.lib") statement. Or you're linking a .lib file that has such a reference. If you can't figure it out, you can always use the undocumented /DISALLOWLIB:blabla.lib command line option... Thanks again nobugz... I was able to download the SDK t ...Show All

  • Grotius resizing a control

    I'm using VC++ native code and a dialog box. How do I resize a control when the dialog box resizes I keep getting a runtime error with an assert ::iswindow failing. Any suggestions ! CRect rect; this ->GetWindowRect(rect); GetDlgItem(IDC_CHART_CONTROL)->MoveWindow(rect); great... that worked perfectly... now to resize my opengl control! :) thanks a billion! Try checking the return value of GetDlgItem()... The first WM_SIZE message received by your dialog will be received BEFORE the controls are created, which would trigger that assert on creation. I would work around that like this: CWnd *ctrl = GetDlgItem(IDC_CHART_CONTROL); if (::IsWindow(ctrl->GetSafeHWnd())) { ctrl->MoveWindow(rect ...Show All

  • tonn I hope that some expert can explain the following file version code for me.Thanks

    I hope that some expert can explain the following file version code for me.Thanks VS_VERSION_INFO VERSIONINFO FILEVERSION MAJOR_VERSION,MINOR_VERSION,POINT_VERSION,BUILD_NUMBER PRODUCTVERSION MAJOR_VERSION,MINOR_VERSION,POINT_VERSION,BUILD_NUMBER FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L #else FILEFLAGS 0x0L #endif FILEOS 0x4L FILETYPE 0x1L FILESUBTYPE 0x0L BEGIN BLOCK "StringFileInfo" BEGIN BLOCK "040904b0" BEGIN VALUE "CompanyName", "Airmagnet Inc.\0" VALUE "FileDescription", "AirMagnet Survey\0" VALUE "FileVersion", VERSION_TEXT VALUE "InternalName", "Surveyor\0" VALUE "LegalCopyright" ...Show All

  • Drew Marsh IXMLHttpRequest and OnDataAvailable

    Hi I have to implement Asynchronous data download using IXMLHttpRequest. Please let me know if it is possible and how do I implement event OnDataAvailable. The application that has been develeoped is ATL control for drag and drop attachement from Mail Server. When the data is being downloaded from the server it should download in chunks of data as and when it is available. Please suggest, please send code snippets and implementation details. Thanks Alpana Dhole I'm not sure though, some search bring me to this article. http://www.codeproject.com/internet/stutorial1.asp ...Show All

  • brenzy help me to do this task

    hi every one i am a new programer in C languge please help me to do this task programming: url to the task: http://www.cs.bgu.ac.il/~clang071/assignments/assignment4/Assignment4.doc the final file that must be work the program: http://www.cs.bgu.ac.il/~clang071/assignments/assignment4/ass4.exe thank you..... please hep me tell me the idea to solve this program how to start to split the tasks by functions and the prototype to the function and evry function input outbut thanks We are not here to do homeworks. If you have a specific problem please state it, show us that you tried something, and we may help you. new_programmer_c w ...Show All

  • David Gardiner text editor

    Hi everyone, I`m working at a small project in VC++.NET 2005, for school, a simple text editor, and I couldn`t find how to do some things, I hope to find some help here. I don`t have much experience in visual programming. So, here are my questions: I have a main for with a rich text box, menu, toolbar, and I want to implement a function to find text, so I have another for which I open when i click on the find menu item, like this Code: Search^ find =gcnew Search; find->Visible=true; find->Activate(); my question is how can I acces from the find form the richTextBox from Form1 to call it`s find method - can you give me an example of how to use the print preview dialog and the print dialog. I understood tha ...Show All

  • Arun Narayan When I upgrading a project from vc6.0 to vc2005, on the message map of ON_WM_NCHITTEST(), it has the following error:Error 1

    When I upgrading a project from vc6.0 to vc2005, on the message map of ON_WM_NCHITTEST(), it has the following error:Error 13 error C2440: 'static_cast' : cannot convert from 'UINT (__thiscall CPropertySheet::* )(CPoint)' to 'LRESULT (__thiscall CWnd::* )(CPoint)' e:propertysheet.cpp 46. Maybe there is some difference between the message mechnism of vc6 and vc2005 Please tell me how to solve the problem. I appreciate your help. 64-bit Windows compatibility stuff. UINT will stay 32-bits but LRESULT will turn into 64-bits. The difference is that VC++ 8.0 compiler makes more strict type checking. ON_WM_NCHITTEST macro requires the following message handler prototype: LRESULT OnNcHitTest( CPoint ); Your message handle ...Show All

  • Ibrahim Hamouda Resource How To: Export String Table

    I'm looking at the String Table of a resource file (VS2005). I've selected them all (ctrl-A), but I can't copy them and paste them into a seperate application (such as notepad or excel). How do I export the string table I need it exported so that the strings can be sent to a translator to translate. A resource file is simply a text file (.RC) - you can open this up in notepad and copy the strings from there. Yes, I had considered using the strings straight from the rc file directly - but they are not as nicely "compiled" compared to the string table editor in the VS IDE. Thats why I was hoping that there was a way to export them (or copy and paste them), straight from VS. If there ...Show All

  • Philski How do I compile c++ code into a EXE file

    I am new with MS Visual Studio, a beginer if you will, I hope somebody can help me with this problem, I need to know how to make regular c++ without the visual part, code into an EXE file If you are just trying to make a command-line program using traditional C++, rather than a Windows application, under the IDE then all you need to is create a new project (File menu), and, under the C++ options, select "C++ Console Application". By default, this will create a new project with boiler plate code for a "main" function. That will be a good starting point. If you have existing code you want to try and compile, follow the same route, but in the Wizard dialogs select to create an empty project - this will have n ...Show All

  • punchcardRay About Multi-threading???

    Hello, I am writing a small MFC program in which I created a UI thread for a dialog that has a text box. I created a UI thread with the following codes: void CLinkCheckerDlg::OnBnClickedButtonCheck() { CWinThread *ptrUIThread = AfxBeginThread(RUNTIME_CLASS(CStatusUIThread)); .............. ............. } where CStatusUIThread class has InitInstance() function where I created a dialog as follow: BOOL CStatusUIThread::InitInstance() { // TODO: perform and per-thread initialization here m_pMainWnd= &m_dlgStatus; m_dlgStatus.DoModal(); return TRUE; } where m_dlgStatus is a dialog object that has a text box with string variable named as "m_strStatus". I like to access thi ...Show All

131415161718192021222324252627282930

©2008 Software Development Network

powered by phorum