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

Software Development Network >> Visual C++

Visual C++

New Question

C# to C++ WMI
About double visibility
how to add activex control to toolbar?
__wchar_t and wchar_t
View invalidate problem ...
How do I return from a static member function
Which One(Managed C++ or Native C++)
Hiding context help in CFileDialog dialog
Annoying change from VS 2003 to 2005: Can it be rectified?
Create a dialog box in a COM dll without CWinApp

Top Answerers

Philipp Lamp
Rajivgovind
Radical
stanjo
ercan_06
NamelessJuan
BJ Custard
SweptSquash
Michele Tenuti
DaGlow
sitemap
Only Title

Answer Questions

  • Michael Hotek VCRedist Problem

    According to Microsoft our setup should look like this for winXP and above, C:\Test\helloconsole.exe C:\Test\Microsoft.VC80.CRT\Microsoft.VC80.CRT.manifest C:\Test\Microsoft.VC80.CRT\msvcr80.dll C:\Test\Microsoft.VC80.CRT\msvcp80.dll C:\Test\Microsoft.VC80.CRT\msvcm80.dll If I do not need to install VCRedist.exe on the client system. My problem is that i have to place the dlls at some other location, so that my application folder will not have complex structure. Is there any way to create a manifest file and embed it into the application exe, that will allow me to place the dll's at some other location. -- Thanks & Regards, Sachin Thanks Ted, How can i place the dlls in Win ...Show All

  • Tom25 Impossible to track down a linker error

    I might be wrong, but it seems to me that the linker reports have become impossibly detailed in VS2005. for example, I get the following linker error (note, this is *one* linker error): ========== filemanagerd.lib(filemanager.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > & __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::replace(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::iterator,class std::basic_string<char,struct std::char_traits<char>,class std::a ...Show All

  • jk_uk2 some reference for me how to use the funcituons in the com of Microsoft Visio Viewer 11.0 Type Library (Ver 1.1)?

    I am trying to use Microsoft Visio Viewer 11.0 Type Library (Ver 1.1) to support Visio image format, I hope that one expert can give me some reference for me how to use the funcituons in the com of Microsoft Visio Viewer 11.0 Type Library (Ver 1.1). I appreciate your help. Hello Re: some reference for me how to use the funcituons in the com of Microsoft Visio Viewer 11.0 Type Library (Ver 1.1) Such questions are outside the scope of this forum - for the scope of the VC General forum please look at: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=19445&SiteID=1 For such issues please use the newsgroups at http://msdn.microsoft.com/newsgroups . OTP Th ...Show All

  • Sparx TCP/IP in VC++

    Hi all, Does anyone know a function or class I could use to send files over a network using TCP/IP (in vc++). Even pointing me to a site will help. Thanx in advance Regards Programm3r You need to use Winsock. Here's part-3 of a beginner tutorial I wrote a while ago where I show how to use a custom protocol top transfer files :- http://www.codeproject.com/internet/winsockintro03.asp Thanx for the response Regards Programm3r ...Show All

  • Alastair Q Build Errors for a Dll

    Hello, I get the following errors when trying to build: It happens over 10 times Performing Post-Build Event... The filename, directory name, or volume label syntax is incorrect. 'Unit' is not recognized as an internal or external command, operable program or batch file. Where are the files located that it is trying to invoke Its having problems finding the dll or invoking it from the present project. Make sure proper dependencies are set. Project + properties, Configuration properties, Build events, Post-build event, Command line. Whatever is there is probably causing your problem... Hi, saw what you had posted, I have a dll error on my ...Show All

  • Grahame Edwards Converted from C: How to make it accessable from other .Net programs?

    Hi there, I am familar with .Net in generial but really new in C++ .Net. Now I am charged with a task of converting an existing C program into .Net so that it can be accessed by our other .net components. Due to the complexity of the C program, re-witting is not an option for us. That's why C++ comes up as the tool for the task. I created a new C++ .Net project (class library project) and then created a new class file in it. Then I pasted my C code into the class. I also loaded all the header files needed into the project. After a bit of struggle I finally got it compiled! I can also see the DLL file generated. Big achievement, right While, only if I can figure out how to use it. What I want to do now is that I need to make this c ...Show All

  • Shmelly Function not returning for long time....

    In my VC++ application I am using some third party library. When I am calling a function from that library some time (not always) it is taking long time to return e.g. 3 to 5 hours and my application is blocking at that point. If I want to wait only for 15 minutes for that function to return otherwise proceed further. How can I archive this Thanks, Amol In that case I think you should contact them for API support. This is a win32 application. I am collecting some data from Veritas BackupExec (a backup product) using sdk provided by the product. sdk includes some header files and libraries. While using one of the function of that sdk i am facing above proble. -Amol Thanks a lot for your sug ...Show All

  • Dario Galvani problem in c++ Translation

    Hello I have this code in c++ : typedef struct{ prWChar DeviceInternalName[512]; /* Internal devicve name (512 characters) */ prWChar ModelName[32]; /* Camera model name (32 characters) */ prUInt16 Generation; /* Camera generation number */ prUInt32 Reserved1; /* Reserved */ prUInt32 ModelID; /* Camera model ID */ prUInt16 Reserved2; /* Reserved */ prPorttype PortType; /* Port type 0x01 FWIA / 0x02 FSTI */ prUInt32 Reserved3; /* Reserved */ }prDeviceInfoTable; typedef struct{ prUInt32 NumList; /* Number of camera device information included in this structure */ prDeviceInfoTable DeviceInfo[prANY]; /* Camera device information ...Show All

  • Federico Silberberg This Is Broken

    viterbi_tail.c(264) : error C2064: term does not evaluate to a function taking -22 arguments The error was caused when two parameterized macros appeared back to back w/o a comma. Hi BigYank, what is your question Do you think the compiler error is incorrect and your code should compile or do you think your code has an error and you do not know how to fix it In both cases you should provide the offending code. -- SvenC ...Show All

  • Jagdish Kumar :: Syntax Question

    I was just reading about the OpenFileDialog .NET class and am confused about some notation. MSDN supplies the following line in some example code: if ( result == ::DialogResult::Yes ) Can anyone tell me why the "::" is prepended to the beginning of the DialogResult value I would've thought that simply "DialogResult::Yes" would do the trick, which it doesn't. I had expected the syntax to be similar to something like, MessageBoxButtons::OK. Why not -Zero :: is the scope resolution operator and and when used by itself is usually used to take a step back in scope. This is usually done to access a global definition that has been overridden by a local definition. Example: int coun ...Show All

  • &amp;#40643;&amp;#27859;&amp;#37327; Jeremy Wong using of template class gives error,why?

    Hi, I sifted my c++ code from VS6.0 to VS 2003. while compiling I am getting errors. this is the code: template < class T> XuSingleton<T>::self_type* XuSingleton<T>::_instance = 0; getting following error: d:\frontier_source\xutils\XuSingleton.h(153) : warning C4346: 'XuSingleton::self_type' : dependent name is not a type prefix with 'typename' to indicate a type d:\frontier_source\xutils\XuSingleton.h(153) : error C2143: syntax error : missing ';' before '*' d:\frontier_source\xutils\XuSingleton.h(153) : error C2501: 'XuSingleton::self_type' : missing storage-class or type specifiers d:\frontier_source\xutils\XuSingleton.h(153) : error C2065: 'T' : undeclared identifier d:\frontier_source\xutils\XuSingle ...Show All

  • chris441962 MSVCR70D.dll was not found.

    Hi, I have created an application in VC++6.0 to zip and Uzip a file given the source and destination paths. I have included 3rd party components (zlib & ...) in my application which is built in .NET 2002. Build and compliation are successfull. "But when i try to debug the application an error message is poped up saying " This application has failed to start because MSVCR70D.dll was not found. Re-installing the application may fix the problem ." Can anyone suggest me the work around for this problem. Thanks in advance, Mayur M Unfortunately this forum does not address VC++ 6.0 issues. Please try the Microsoft developer newsgroups. Link with release version ...Show All

  • SSreejith Compiler Error C2838 explain??

    somebody please explain -- msdn help - Compiler Error C2838 Error Message 'member' : illegal qualified name in member declaration A class, structure, or union uses a fully qualified name to redeclare a member of another class, structure, or union. The following sample generates C2838: Copy Code // C2838.cpp // compile with: /c class Bellini { public: void Norma(); }; class Bottesini { Bellini::Norma(); // C2838 }; vishal_shetye wrote: have a look at this code template<class _E> class x_basic_string #ifndef WIN32 : public basic_string<_E> #else // WIN32 : public std::basic_string<_E> #endif // WIN32 { #ifndef WIN32 #define _cdecl typedef const_pointer const_iterator; typedef size_t size_ ...Show All

  • asarshad Using animated GIF image in Forms

    Hi, I'm trying to use an animated gif image in a form within C++/CLI but so far without success. I looked at picturebox control but the image stay still, no animation. I browsed the NET to find any clue to my problem and got a few articles stating the fact that I have to make somekind of class that would rather display one at a time each frame found in my GIF. Any clue or easier way, any example on how to do it Thanks in advance, Stephane Stephane Beauchemin wrote: using the "image" property to specify my gif file doesn't allow me to stretch image according to picturebox dimensions which is smaller than original gif size. All you need to do is set the SizeMode pr ...Show All

  • iamjero COM Implementation standards

    I'm looking to stadardize the way my server application exposes functionallity via COM. We have both ATL and MFC implementations scattered throughout our application. What would you suggest is the best way to expose a COM interface MFC, ATL, or some other. I don't think there's any specific standard. If you want to keep it thin, you'd just use ATL. But if your application has a lot of MFC dependency, you'd probably have to keep the MFC stuff in. If you had a choice to pick one, and were willing to port the other code to fit in, I'd recommend that you use ATL - which was meant for COM scenarios, unlike MFC. My question stemmed from the VS 2005's implementation of Add Method wizard, which, supports ATL similarly to the way Class ...Show All

01234567891011121314151617

©2008 Software Development Network

powered by phorum