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

Software Development Network >> Visual C++

Visual C++

New Question

fstream issue in VS 2005
How to read a binary file?
Need help with a program...
What are the differences...
How to make a socket available in another process
Resize formelements with form
Build dependencies
Accessing memory above 2 GB
Tracking source of MS Visual C++ runtime error
localtime_s

Top Answerers

Andy Kerr
frstOne
roussec
CurtCBerry
Dave181
partt
chaz s
xaka
Rohit_Ghatol
Carl Finnegan
gnome-mlview
Only Title

Answer Questions

  • szl Microsoft howto does not work: How to call a managed DLL from native Visual C++ code in Visual Studio.NET or in Visual Studi

    Hi! I have followed the step- by step instructions of this guide: http://support.microsoft.com/kb/828736/en-us This seems to be easy enugh, but i can not compile the c++ client. I only get the errormessage that "ICalculatorPtr" is unknown... Is the example broken or do i miss something Thank you! Harry Are you sure you have put this line on top using namespace ManagedDLL; Else you'd need to d ...Show All

  • Musa Selecting Items in a View

    Hi all, i have created an MFC application which currently works fine, what i am trying to do is make sections of the view clickable, so that the user can click and it will update the view with some information. does anyone know if this is possible and how i can implement it thanks for the help Martin (noobie) :) Hi no sorry its a SDI App. i wondered if there was any way of defining coordinates and giving that an action, ...Show All

  • Rakesh Mishra error C2440 , HELP !!!

    Error 1 error C2440: '=' : cannot convert from 'void *' to 'LPOVERLAPPED' /*****************************************************************/ // lockFile.cpp int main(int argc, char *argv[]){ : : : LPOVERLAPPED lpOverlapped; : : lpOverlapped = malloc (sizeof(OVERLAPPED)); return (0); } /*********************************************************************/ I GOT AN ERROR LIKE THIS. I NEED H ...Show All

  • dhopton Possible MSVS 2005 beta2 bugs

    Before I consider filing bug reports, I'd like to hear any comments on the following issues I've encountered with Beta2 during my first two days of use: 1) Break point won't work in .h files in managed project. I have a large mixed native and managed project.  Since converting to 2005, break points no longer work in .h files for managed code (the native projects are fine).  They say "The break point will not currently be hit.  No ...Show All

  • Timothy Downs Why isn't this call working properly?

    I'm building a project for myself really; however, this problem is sticking me in the side. Can anyone tell me why this particular problem isn't working #include "pl_en_stats.h" // in *.cpp file for icPlayerInformation_Data struct usage. // in *.h file for Class definition. class LoadGameData { private: char PlayerInformation; icPlayerInformation_Data* pl_statistics; public: LoadGameData(); bool load_SaveData_Open(); ...Show All

  • Julian Keith Loren MCSD MCAD Win32 under DLLs?

    I'm fairly new to DLL building and have what I'm sure is a dumb question, but I can't seem to find a solution anywhere: I've dynamically linked to the DLL, the test calling program has no complaints and both tester and DLL compile cleanly. However, as soon as I hit a Win32 call in the DLL the program GPFs. It doesn't seem to matter which Win32 function I call - the call itself is resolving to an access violation. I've looked at the address ...Show All

  • OlgaD Function pointer for GC

    Is there a workaround for passing pointer to a member function of a gc class I know I can use delegate but I don't want to. Thanks P Is this valid even if the function is static In case of object what if I pin the object By pinning an object we won't let GC to move our object. So that it will have a fixed address. Anyway, I will use delegates... ...Show All

  • Dave of SJNB MSVCMRTD.lib(mstartup.obj) : error LNK2022: metadata operation failed : tagTEXTMETRICA

    I am getting the following errors when converting our Managed C++ code from VS2003 to VS2005: MSVCMRTD.lib(mstartup.obj) : error LNK2022 MSVCMRTD.lib(mehvecdtr.obj) : error LNK2022 MSVCMRTD.lib(managdeh.obj) : error LNK2022 MSVCMRTD.lib(msilexit.obj) : error LNK2022 MSVCMRTD.lib(puremsilcode.obj) : error LNK2022 I am using the same cl and link options for every file.  We have one common make_com.mif that gets included by all other makefiles ...Show All

  • Vittorio Bertocci Problem in CCheckListBox

    Hi, I have a Dialog based - MFC application in VC 8.0. There is a check ListBox (having property Owner Draw = Fixed and Has Strings = True) in the dialog. We have added some elements in the list box( The number of items in the list box should be less than the visible height of the list box without the vertical scroll). If we select one item and click mouse outside of the list box or in empty area of the list box then selection remain ...Show All

  • Vapor How to create nou-existing folder in simple consloe project in VC++ .NET 2003?

    How to create nou-existing folder in simple consloe project in VC++ .NET 2003 To finish my homework,I need to create folder under the current directoruy that hold the files.I tried for days and i give up.Please help! #include <iostream> #include <fstream> #include <string> using namespace std; int main() {    ofstream fout("./1/abc.txt");   //folder "1" cannot be created   fout <& ...Show All

  • Fredrik Sk&amp;#229;nberg 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

  • Helan loading the classes in a native dll

    hey guys, i have a static linked native c++ dll i built. i want to try and load the c++ classes in it, from an exe (for example). i want to be able to load these classes, and make objects and start using them. im trying to implement a plugin system of some sort. is that feasible i have done it using C# and the System.Reflection, but what about native C++ Since its done in the .NET framework, then its done C++, cause what im imagining the .NET wa ...Show All

  • Dreambeats How do you start it up????

    #include "stdafx.h" #include <stdio.h> int main() {  printf("hello world");  return 0; } okay i got this written in Visual Studio C++ Express Edition Beta2. How do i start it up please tell me the steps i need to do. Thank You You can press F5 to run your project or look inthe Build menue for running your project. You really need to read in the help rather than depending on the folks in these forums. Thanks,   Ayman ...Show All

  • Michael J. Fuhrman how to Call .NET dll in C ?

    how to Call .NET dll in C You can use the /CLR switch to generate managed code for your C++ application. Thanks, Ayman Shoukry VC++ Team Once you have enabled the switch Ayman mentioned (see your help if you don't know how), go to Project Add reference, then browse to your .net dll and press OK. Now you can use the namespace, classes, structures and enums of the .NET dll. Don't you mean c ...Show All

  • FrankVS 16 Bit app and only standard library during compile

    I am running into a problem getting a console app I build with VS Studio 2005 to work in Windows 95. It works fine in all other version but when I run it on Windows 95 i receive the error: linked to missing export KERNEL32.DLL:IsDebuggerPresent Now when I compile this same program in VC 6.0 ...it works fine. So I am not sure what it could be Is it because .Net headers are being added Is there a way to make a project in Visual Studio 200 ...Show All

818283848586878889909192939495969798

©2008 Software Development Network

powered by phorum