about vc6.0 compiler path
now ,my vc6.0 compiler have a question;The path seems to be out of question;like this:Linking... Error: can't execute '"C:\WINDOWS\system32\link.exe"...
View ArticleIntermittent Access Violation in COleVariant destructor during the call to...
Hi,I'm facing an intermittent Access Violation in COleVariant destructor during the call to VariantClear() inside the destructor.The first chance exception dump shows the access violation in...
View ArticleHow to use VTK library in Windows Form Project VC++2012 EE
Dear All,I have the VTK library which is configured with CMake to be compiled with VC+2012, after compilation with VC++2012 every output file is produced and runs as expected. Examples of VTK, intended...
View ArticleCredential Provider on Windows 7
I just learned about Credential Providers and started doing research to build one that works with an RFID reader i have. I loaded up the samples from the windows sdk and they all built perfectly. I...
View Articleposting a message for main function thread
Hi,I am trying to post a message to windows message queue to be retrieved from the main funtion. Message is posted in a thread that is defined in a class. In this thread I want to post a message using...
View ArticleVC Redistributable - missing msdia120.dll
Hi, I am trying to install the MS DIA redistributable, which, according to http://msdn.microsoft.com/en-us/vstudio/dn249728.aspx, should be available in the VC 2013 Redistributable.But, after...
View ArticleCredential provider network access
I don't know if this is the correct forum for my question about developing credential providers, but here goes. I need to create some form of network access inside a credential provider. I have a...
View Articlecreate registry keys? problem
hi i have the following code but the problem is that when i run it it returns error_successwhen in fact it doesn't actually edit the registry. i have admin accessso this is not a problemHKEY hkey;char...
View ArticleHow to retrieve USB capture video device path using MediaFoundation vc++?
Hi,I want to enumerate connected capture video device path(VID&PID) using Media Foundation.Actually i have been done preview and still using directshow.I am new to media foundation.I able to...
View ArticleVS2012 does not work with snapshot anymore. Using dynaset instead causes...
Our project code makes use of the Microsoft class CRecordset and many functions which are specific to CRecordset class. CRecordset::snapshotis passed as the nOpenType parameter of the Open member...
View ArticleNULL character is passed to Oracle procedure by 64-bit C++ application
I am converting my C++ application to 64-bit. The problem I am having has to do with Oracle calls. Any string (varchar2) parameter I pass to an Oracle procedure has a null character at the end. For...
View ArticleHow can i manage com+ applications with WMI
How can i manage com+ applications with WMI.
View ArticleRead wav file info (duration)
Hello, i would like some help with reading file info to get wav file duration, at the moment i just have basic directory opening program (i am new at c++ VS application)#pragma...
View ArticleWhy Isn't My Call To DeferWindowPos() Working?
Hello Again Folks: Developing using Win 7 Ultra, VS 2010, WIN32, no MFC. I want to resize a dialog, but after calling the function the dialog remains unchanged. Examining the WINDOWPOS...
View ArticleClass not registered error when initializing DOM document
I am using XML in my C++ application. I installed MSXML 4.0 SP3 on the Server 2008. The registry has the value for UUID 88d969c0-f192-11d4-a65f-0040963251e5. In my code I am trying to create an...
View ArticleHow to call function with button1_Click or a way to decalre button1_Click so...
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) { this->serialPort1->PortName=this->comboBox1->Text; CALL...
View ArticleHow can I force __cdecl calling convention for member functions as well?
Hi,Is there a way to force VS 2013 to use __cdecl calling convention for member functions as well. Currently it seems to use __thiscall for win32.Thanks,Daman
View Articleeasy inheritance question
can someone advise me if this correct ...class base { public: virtual void v1() = 0; virtual void v2() = 0; }; #include "base.h" #include "derived2.h" class derived1 : base private: void v1(); void...
View ArticleWhy my compiler keeps executing one file?
HelloI'm not using Visual Studio IDE, but I had the same problem now even with Visual Studio. I'm using CodeBlocks.I have made a file called main.cpp and have written something in it and then have...
View ArticleHow do I copy an object's value bytes into a byte array?
I have old MFC DAO code I m converting to ADO.Net using a C++ mixed mode DLL.The MFC code gets the recordset data and then uses memcpy() to copy the data into unmanaged memory.The simple way to do this...
View Article