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

Software Development Network >> Visual C++

Visual C++

New Question

problem in explicit linking of DLL
font italic and bold
French Version of App
converting std::string to TCHAR
generic SortedList
'/GR-' and '/clr:oldsyntax' command-line options are incompatible
Data type byte value
Exporting a class static instance variable from a DLL using a DEF file
...: error MIDL2337 : unsatisfied forward declaration : ...
linkLabel_LinkClicked

Top Answerers

Mario Queiroz
atv4fun
caroço
Ademaure
March3rd
James_AeroAvi
LAUJ
shakil852
Ron Draganowski
Viswanand
LearningTechSoftware
Only Title

Answer Questions

  • njalkanen Reverse Digits in C++

    Dear C++ experts, I need help with this program: Write a complete C++ program that reverses the digits of a given positive integer. For example if the user enters a positive number 123456 , your program would print 654321. Kind Regards, Ahmed Mahdy You might as well go all out and use recursion (an advanced C++ feature) also it's nice and short: http://code.dreamincode.net/snippet31 ...Show All

  • ahurtado Problem with _CrtSetReportHook on VC++ 2005

    Hello there! I have some a problem when i use _CrtSetReportHook( _CrtSetReportHook2 also has the same problem). as a parameter to _CrtSetReportHook i have a funtion: static int report(int reportType, char *message, int *returnValue); to dump the output data in a file. but when my program exits and the CRT Library attempts to call(automaticaly) the report() funtion i get an access violation at a file named stream.c at this line: ...Show All

  • BBushmaker What's Better?

    Which close function works better in C++ Close();   or this->Close();   Somebody told me that one of them has errors but I wanted your opinion first. They're identical.  The one reason you would want to use this->Close() over Close() is if you want to use Intellisense for the class that you're currently in to see what members are in the class and saving typing the word "Close".  A reason you ...Show All

  • manojguptase Compiler version information table

    I can't find anything on Microsoft's website but what I am looking for is some sort of Rosetta stone showing which version of the compiler is being used mapped to the MS name for the compiler. For example: Compiler Version ==> MS Name 14.00.40310.41 ==> Is the MS Visual 2005 C++ compiler. 13.10.3077 ==> MS Visual 2003 C++ When typing in "CL" at a command prompt, I get the version onf the optimizer. I don't get &quo ...Show All

  • mafred52 problem with an activeX dll from VB

    Hello, I work with Visual C++ 6 I have to use an activeX dll which is developped with Visual Basic 6. this is my code :  _StatisticJobPtr MyStatsFcts;         /* The class from my DLL */     try     {         MyStatsFcts.CreateInstance(__uuidof(StatisticJob));         MyStatsFcts->CreateStatisticJob(...);  &nb ...Show All

  • jazzyb VC8, Adding __event to non-CLR code gives error C2712

    In a non-CLR class I have a number of __events defined. When compiling the source code in which the corresponding header file has these __events, I receive the error: error C2712: Cannot use __try in functions that require object unwinding pointing to the last of the __event lines in my header file. When I look at the error message it says: "cannot use __try in functions that require object unwinding". Further it is mentioned that "object unwind ...Show All

  • Lorenzo Minore Problem Adding or deleting classes

    I have upgraded a project from VS2003 to VS2005. Modified database structure, added and modified classes. Now, I can not add or delete any classes. I received Link error LNK2001, LNk2019 and LNK 1120. Total 74 link error messages to data. Error message sample: NewCertificate.obj : error LNK2001: unresolved external symbol "public: static int __cdecl CData::GetOwnerList(int,class CListT<struct tagOWNER> &)" ( GetOwnerList@C ...Show All

  • grouper function return more than one value

    Hi Guys This is just a general question. I am not sure whether this is the right place to ask(as I am new to this forums). Well my doubt is, "can a function return more than one value(other than array)" for example:  return result1,result2; if so how would the function be called (supposing "value1,value2=function_()" ) It would be great if anybody can help me with this If you mean is there a built-in in way to do this in the C++ lang ...Show All

  • Gabrielle Erlingen link problem for VS2005 Beta 2

    I have a very small program: #pragma comment(linker, "/nodefaultlib:oldnames.lib") #include "windows.h" int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,                     LPWSTR lpCmdLine, int nCmdShow) {     MessageBox (NULL, TEXT ("Hello World"), TEXT ("Hello"), MB_YESNOCANCEL);     return 0; } which ...Show All

  • Alejo Mejia Stepping through Fiber Switches

     I am trying to debug my code, which uses fibers and I want to step through fiber context switches. Specifically, when the current fiber calls SwitchToFiber(next), I want the VS debugger to go to the instruction that the next fiber executes. Does any one know how to do this  thank a lot madan This is certainly a good suggestion. Having to set breadcrumb-style breakpoints just to be able to step to the right place afte ...Show All

  • Darin Tomack Older Version of .NET

    I am new to Visual C++, and made a little program. Well I built it and ran it from my computer, it worked fine. Then I sent it to a friend and it wouldn't run. It gave him an error, To run this application, you first must install one of the following versions of the .Net Framework: v2.050727. So with Visual C++ 2005 Express, how do I compile the program to use an older version of .Net And why does a C++ program use .Net Thanks, ...Show All

  • jcmarshal C++/CLI language design questions

    I'm doing another C++/CLI project that involves porting some of my native C++ classes so that I can mix both native and managed code.  And I'm hitting the same issues often enough to wonder about a few things about the C++/CLI language design. One of the major changes from the old C++/CLI syntax to the new one is that you cannot have an unmanaged class member of a ref class.   e.g. class U { ... }; ref class M {    U u; ...Show All

  • RonaldoRoma using a 'C' dll of classes / functions from c#

    I have a DLL that exposes numerous functions (C), and numerous classes (C++). How can I create an instance of any of these classes in c# How can I call any of these functions in c# can you give me a short example of wrapping a c++ class in a mixed-mode DLL Hi, What I have been trying is Reflection. Using assemblies I look for a specific type, the class, and then cre ...Show All

  • VinnyD Microsoft Visual C++ Runtime Library error question

    I recieve this error when I launch Internet Explorer - version 6.0 OS Windows XP Home edition 2002 Service Pack 2.  Error is as follows: Microsoft Visual C++ Runtime Library Runtime Error! Program C:\Program Files\Internet explorer\iexplore.exe This application has requested the Runtime to terminate it in an unusual way.  Please contact the application's support team for more information. I am not certain where to post this questi ...Show All

  • VeeBeeginnerr 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

424344454647484950515253545556575859

©2008 Software Development Network

powered by phorum