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

Software Development Network >> Visual C++

Visual C++

New Question

Collection
Error on delete [] v
Help button get chm instead of hlp
LNK2019
Linker Error with STL on Release Mode
Balloon Tooltip Problem using Win Vista SDK
resume from hibernate status
How to set version number for a Visual C++ 6.0 MFC Application
error LNK2019: unresolved external symbol _wWinMain@16 referenced in function _wWinMainCRTStartup
CreateFile to device in VB.NET 2005

Top Answerers

dmadrian
Tarey Wolf
cheekster
hfann
Samant B Jain
Karthik Juneni
Pedro Martins
Whoisit
JFoushee
Allen Razdow
Topologi Schematron Validator
Only Title

Answer Questions

  • Tdar Remote Execution through WMI

    hi all i want to remotly execute the programs on my networkcomputers using the WMI services,i had not found any example that tell me how to do that any help is this case in welcomed. These examples connect to the computer n make queries but not any method where i can give them the path of the executable and they execute them, any help function in this sense. There are two ways. One way being that you use Win32_Process. Example from a common book on this topic.. Option Explicit 'On Error Resume Next dim strComputer 'target computer dim wmiNS dim wmiQuery, wmiQuery1 dim objWMIService Dim objProcess dim objProcessSU 'holds the Process Startup Object Dim objConfig 'new Instance of ProcessSU object Dim errRTN 'rtn code ...Show All

  • dbcuser inline assembly functions

    Hello, either I am missing some small stupid thing or there is an interesting bug in the way Visual C++ 2005 passes parameters to a function. Any help would be wonderful ^^. The following is the code I have at the moment. It simply reads in 3 values and sorts them least to greatest. According to what i know of how variables are passed in a function call, the top of the stack should have the return address followed by the variables passed to the function. When I do this however the passed in values and the top of the stack are several hundred bytes away from eachother seperated by junk 0xCC word values. #include <iostream> using namespace std; void asmSortThree( int& , int& , int& ); void main() ...Show All

  • Advectus Heap corruption caused by a lib function

    hi all i am using a .lib in my application and there is function that i call which reads a file and fills some structure variables. variables can go in thousands. when i run it is throws an exception saying "Windows has triggered a breakpoint in ConsolTest.exe. This may be due to a corruption of the heap, and indicates a bug in ConsolTest.exe or any of the DLLs it has loaded. The output window may have more diagnostic information" what could be going wrong Aamer Can't you just compile the lib using VS2005 instead of VC++6 Mixing compilers can be quite troublesome. Ah, I understand. Then maybe the compiler options are different. Check the ...Show All

  • cdun2 multilanguage support in Visual C++ 2003 MFC IDE

    Hi, I have a program that reads data in arabic language from database. I see text as arabic in database. However, When I try to read it using MFC database classes, it is coming in not readable format. I don't want to use UNICODE macro in program because there are many other integrated programs and they are aware of char and constant char types. I only would like to read this arabic text in that portion of program. I tried MultiByteToWideChar function for conversion. However, it didn't work well. I am also suspicious about displaying, because even if the conversion is successful, How can I see the real arabic text during run-time How can I do it If you help me I'll be appreciate. A.Sahan Hello   Re: multi ...Show All

  • h3mp How to debug library calls

    I'm getting errors in library calls, and I think its because different libraries are screwing with each other's proc addresses. What I'd really like to do is determine where a call is actually going. I can't step into the calls that are causing the problem, because the IDE just steps over them. How can I tell what's actually happening when I make a library call Well, templates are instantiated at compile time. While it is possible to export a known set specializations from DLL it is not possible for a general template such std::vector, simply because there is an infinite number of specializations of std::vector. So when you have some code like: int foo( const std::vector<int>& x ) { return ...Show All

  • Sarath. Dialog Applications (Setting the text in an edit box)

    I have a dialog based C++ MFC application. I am trying to set the text for either a static text control or edit box control in code. How do I do it. For C#, it's easy - just go controlName.Text (property). I cant do that for C++. I have tried the following but the application gives me an assertion error: //LPCTSTR string = "Hello"; //m_VendorName.SetWindowTextA(string); //m_staticVendorName..SetWindowTextA("Vendor Name"); Please help. Nyasha In the constructor of the dialog. I think you are right. How do I add an OnInitDialog function. there are no events for OnInitDialog when I look at the dialog properties. If m_VendorName is a dialog’s member of type CEdit  created with Wizard, I think you shoul ...Show All

  • Quina making standalone exe

    when i am making a program that uses the .net framework (2.0) how can i make the executable into a standalone executable (so that the computer it is running on does not have to have the .net framework) thanks in advance You'll need a .NET bootstrapper to install the .NET Framework prior to launching your application. Please take a look at this article about the .NET Bootstrapper in Visual Studio 2005 . Marian Luparu Visual C++ IDE k, that stinks but thanks In general you cann't. The only way is deploy .NET Framwork with your application. Or you can, compile your IL assembly in native code for specific platform and deploy them, but, in general, its not good idea. It is no ...Show All

  • Xavier Arnau XP style for IE Toolbar

    Hello friends, I m creating a toolbar for internet explorer. My application is VC++ ATL DLL which attach a toolbar to IE. I m using VS-2005. Now i implemented XP style for the toolbar using manifest file. Its working fine, means my buutons on toolbar are looking in XP style, but now button size has been increased. Before XP style size was (22 , 81), but after XP style it becomes (30 , 87). Due to this reason my buttons are not fitting on the toolbar. Buttons bottom edge is hidden due to increased height. if someone know what is the prob then plz reply.... Thanks in advance. ###Harry### Hello, Harry, can you help me I created a toolbar in VC 2003 but i can't set XP styles in it. How did you do it Best regards, Sergei ...Show All

  • clkdiv any comments about a cache design?

    Hello everyone, I am going to design a Cache in C/C++ (memory cache). I have two different approaches to design/implement it, any comments will be appreciated. Design 1, using a map (hashtable) to store key --> object pointer relationship (simple and straight forward); Design 2, store real object or object pointer in a stack/linked list/queue/array as an internal storage data structure, then using a map (hashtable) as an external interface to mapping key --> index in the stack/linked list/queue/array; (in this design, when accessing an object, we need two times mapping, first mapping key to index in the stack/linked list/queue/array, then using the index to access the real object) I am wondering any advantages or disadvantages of th ...Show All

  • Herru Perdana (MSVCRT) _iob disappeared?

    What can I do to replace the functionality of _iob Seems to be missing in MSVCR7/8 (using VS2005). Here's the interesting thing -- It's there! dumpbin msvcrtd.lib /all | grep iob <snip> Symbol name : __iob Name : _iob Symbol name : ___p__iob Name : __p__iob Symbol name : ___iob_func Name : __iob_func <snip> To resolve the issue, I made stubs in my main code: ... void _acmdln( ) { } void __pioinfo( ) { } void __badioinfo( ) { } ... The compiler still went through the .def and properly linked my exports to their real outside counterparts. Go figure! The library I'm building is being use ...Show All

  • GS80 PlaySound memory leak?

    I have written an application that uses PlaySound and I have been watching it with ProcessViewer. When the first sound is generated the heap usage leaps up by about 1 MB and every time PlaySound is used thereafter the heap usage creeps upwards. I have used the _Crt processes to look for memory leaks in my software but cannot find any. Has anyone else experienced this Any ideas Alan Use of memory by Windows is much more complex than most people realize. If the debugger does not report leaks then you need to either ignore data such as that or spend time learning how to understand that data. ...Show All

  • Alastair Q Trying to reference objects in another project: errors LNK2028, LNK2019

    Hi Can anyone make head or tail of the error message below I have a project that sets up a port for me, that I want to reference from my project so I can send data to the port. But I get this weird error - which I suspect is something to do with \clr and the constructors / destructors for the Port class... Microsoft docs haven't given me any clues. The Port class compiles fine as a dynamic dll using \clr, but I can't get the two to work together Error 26 error LNK2028: unresolved token (0A00030E) "public: virtual __thiscall Port::~Port(void)" ( 1Port@@$$FUAE@XZ ) referenced in function "void __clrcall `dynamic atexit destructor for 'm_port''(void)" ( __Fm_port@@YMXXZ@ A0x485da573@@$$FYMXXZ ) AHF_Download. ...Show All

  • DQM FCLOSE() very slow in appending after a certain point in debug mode in VS2005

    Hi When opening a file for append binary mode with fopen(), and using fwrite(), fclose() takes a long time after a certain number of times of doing this in a loop. To be more specific, in a loop, we open the file, append 5 doubles to the file, and close it. After iteration 203, the time to close the file takes significantly longer. You can see the output of a test program here. The 3 digit number is the iteration, and the two larger numbers are the output of QueryPerformanceCounter() before and after the fclose(), and the line of dashes is the end of the loop iteration. As you can see, the time across fclose() calls from iteration 203 to 204 jumps from 63750 to 1039035 and this jump is a) consistently at this iteration number and ...Show All

  • Zooma How many users still develop with Visual C++ 6 or 7.0?

    Hello, We are developing a SDK for our tools and provide libraries for Visual C++ 6, 7.0, 7.1 and 8.0. Since it is quite difficult to maintain 4 versions, I am wondering if it makes sense to discard libraries designed for Visual C++ 6 and Visual C++ 7.0 and keep only 7.1 and 8.0 Does someone know what is the percentage of VC6, 7.0, 7.1 and 8.0 currently on the market Thank you! Laurent Yep, that sounds about right for both my own experience and what I see at these forums. The key issue here though is: how many of your customers are going to get ticked-off because you forced them to shell out $750 bucks to buy VS2005 and spend the time to learn it. The latter dwarfing the out-of-pocket ...Show All

  • BigBoom VS .Net 2005, how to disable intellisense...

    Hi I am really frustrated with the performance of VS .Net 2005. This is because I always see at the bottom "updating intellisense..." and it uses 60% to 70% of CPU. How to disable this updating of intellisense... Please this is making Visual studio unusable. Thanks Chandra Traian, We did a lot of work to increase Intellisense precision in VC8 so what you mention seems a little suprising. Could you post a sample of a change that VC8 does *not* pick up, which VC7.1 did Chandra, i've moved this into the "Visual C++ General" forum from the "Visual C# IDE" forum as you appear to only be using C++ and not C#. Same here. A C++ solution with 21 projects spends minutes ...Show All

101112131415161718192021222324252627

©2008 Software Development Network

powered by phorum