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

Software Development Network >> Visual C++

Visual C++

New Question

Painful Steps with VC++ 2005 Express beta Redux
Tips for speeding up debugging (stepping through code)?
Visual Studio 2003 EM_GETLINE fails to retrieve strings less than 2 chars long
compiling vc++ code in VS 2005 error LNK2001: unresolved external symbol
Is a .def File Required To Export Functions From DLL?...
Documentation for struct RUNTIME_FUNCTION
is standard c++ has been changed laterly? Problem with VC6 and VC2005
Get LButtonUp message from child control
How do I keep the command prompt open after finishing a debug? (Like Visual C++ 6.0)
About:『Multimedia Timer』 Problem

Top Answerers

XiaoYu
Michael Cain
Bob Hicks
Dot Net Engineer
Kirti Mistry
gvollant
Crashin
Kamaleshwaran
Mary Hinge
Ganeshm
XSLT Tutorial I: Basics and first example application
Only Title

Answer Questions

  • Arsany trackBar bug? Visual C++ 2005 Express Beta 2

    Hello, I have set the trackBar to max   10 min   -10 These figures are accepted, the build goes OK and the app runs and I can select trackBar values between -10 and +10. But! On three occasions when making unconnected code changes, I have found that when I ran the app it was not possible to move the trackBar pointer. Have now seen on one of thjose occasions that the -10 figure had changed to 10 ! This seems odd. An ...Show All

  • btimur Calling C++ dll from C#

    I am trying to use a C++ dll in my C# application but unsuccessul. Here is what I have done: 1. The C++ code was developed using open BSD. 2. I made a C++ CLR dll using visual studio 2005 - "tc.dll" 3. In my C# application, I add the "tc.dll" as a reference from the solution explorer 4. I tried to instantiate the class of tc.dll using myClass mc = new myClass(); The C# program can not find the class at all. ...Show All

  • jez LNK2019 error in functions with CString& as parameter

    I am exporting a class that have few functions with CString& as parameters from a library. When i use this library in other DLL project it gives me the following errors.I am using VC++ 8.0 compiler. The code is as follows: class __declspec(dllimport) CRDASvrCommunication::public CRDARegFile { //Some variables... // Other fn decln. void GetAppIniFilePath(CString&); //Giving problem } Same is with other classes havi ...Show All

  • Maasai Working with Threads

    C++ .NET 2005 I used Thread with function of connecting to internet. And at first it was very good. I did so: using namespace System::Threading; static void myClass::connectToInet( void ){...} Thread *oThread = new Thread( new ThreadStart(0, &myClass::connectToInet)); But now I want "myClass::connectToInet" to return an int-variable. I changed the second string to static   int myClass::connectToInet( void ){...} ...Show All

  • bhav27 trying to start an app

    Ok I tried searching, but can't seem to put this together... I have some buttons set up and I'm trying to add code to get it to open another *.exe I'm trying to open notepad. And I'm using the forms designer to create the buttons. Here is what I've tried (from searching) private: System::Void button4_Click(System::Object^ sender, System::EventArgs^ e) { CString CommandString = "notepad.exe"; system(CommandString); }; ...when com ...Show All

  • RDuke Bug in Visual Studio 8 ???

    Hi all Need help, can someone confirm me this: I make a new MFC Project with the Project Wizzard -> Application type: Dialog based -> Without using UNICODE Librarys and then all the default settings. After that i added an Combo Box and typed in the Proberties Data field in the Proberties: 'COM1;COM2;COM3;' Now when i build the Project and start it, i can't open the Data field by clicking on the Combo Box Icon, but with when i ...Show All

  • KalleKlovn ATL project upgrade -> error LNK2005: xxxx already defined in atlmincrt.lib (atlinit.obj)

    I've recently upgraded an ATL project from VS2002 to VS2005. It compiles fine in Debug mode, but when I attempt to compile in Release mode I get link errors. Can anyone help me please Linking... LIBCMT.lib(tidtable.obj) : error LNK2005: __encode_pointer already defined in atlmincrt.lib(atlinit.obj) LIBCMT.lib(tidtable.obj) : error LNK2005: __encoded_null already defined in atlmincrt.lib(atlinit.obj) LIBCMT.lib(tidtable.obj) : error LNK2005: _ ...Show All

  • callaway59 Need a little help. Take a look please

    Hello! I'm a new to Visual Cpp, so please help me, if you can. I need to write to following sub-routine to count: x r y s =(x 1 a 1 +x 2 a 2 +x 3 a 3 ) r (y 1 a 1 +y 2 a 2 +y 3 a 3 ) s where x i ,y j =digits from another program module, S, R = should be entered by operator, a=unknown dogits. the program task is: to open brackets and make re-combine digits into next order: x r y s =(a j 1 a i 2 a k 3 ), where i,j,k=degree of the a x Thank you v ...Show All

  • David Jeavons ofstream problem, I think!

    Hello All, Just wondering if anybody can help me with this problem. I think it's a fairly trivial problem but at this stage I'm probably seeing pass it. I have a big integer array(307200) which consists of 1's and 0's. My plan is to print each pixel out to a txt file with the number of pixels on each row = 640. So that would leave me with 480 rows with each row containing 640 pixels. As you have probably already gathered this array is something ...Show All

  • M1ckx PWSTR* being passed into unmanaged dll

    Hey all- I know this message probably should go to the Interop forum, so if a mod could copy it there, that would be great, but that forum doesn't seem to get very much action.   Here is my problem.  I'm trying to make a call&nbs ...Show All

  • JasonFollas How to call Activex Control non-static functions from a static function?--DialodBasedApplication

    i am using an Activex control in a dialog based applicaton(VC++). i created an member variable for that(m_myportcontroller). In an non-static function i am able to call the Activex control methods using the member variable and worked fine. But i need to call the activex control (non-static) methods in an static function. Here i cannot use the member variable as it is a static function. So, i declared an object for Activex control class. Using th ...Show All

  • Kelby porting expression templates to generics

    I'm trying to port simple expression template to generics but I get this errors (The code is shown below): (1) left of '.Apply' must have class/struct/union (2) left of '.GetRowNum' must have class/struct/union (3) 'return' : cannot convert from 'Expression<Lhs,Rhs>' to 'Expression<Lhs,Rhs>' Cannot copy construct struct 'Expression<Lhs,Rhs>' due to ambiguous copy constructors or no available copy constructor ...Show All

  • Nicholas Allen Visual C 2005 more than 3 times slower than Visual C 2003 !

    While recompiling my cryptographic library under Visual C 2005, which implements exUSSR gost algorithm, I've found that optimization in 2005 almost absent at all ! here is result of benchmarks: P4-2.0 GHz: MSVC 2003: 33433 Kbytes/sec MSVC 2005: 8960 Kbytes/sec Ratio: 3.73 times slower! P4-3.4 GHz MSVC 2003: 48691 Kbytes/sec MSVC 2005: 11520 Kbytes/sec Ratio: 4.22 times slower! It even slower than MSVC 6.0 ! Code using 2003 compil ...Show All

  • Bill Barnett - MSFT "Correct" Workerthread Termination

    Hello, I have used worker threads for a long while and yet always had and still have problems with the "correct" way such threads should be killed for premature termination. They may have files open, are in the process of allocating global memory or doing any number of other things. The closest I got to "correct" is to signal the worker thread through it's priority if it's services are not required anymore for terminati ...Show All

  • James A P C++ interface assembly not visible in other .NET projects

    I created an interface assembly1 in VC++.net 2005 (debug configuration). By interface assembly I mean just 2 public interface classes within a namespace definition. The interfaces, methods and properties are marked public. Interfaces assembly1 references another interface assembly2 - with the same namespace wrapping its public interface definitons, methods and properties. Build them no problem. Now I add assembly1.dll as a reference in a VB.n ...Show All

232425262728293031323334353637383940

©2008 Software Development Network

powered by phorum