creating a DLL using visual studio 2005 express
Hi all friends I have windows 8 on my laptop.I got the CD installer of visual studio 2005 express from the book I bought "how to program in c++ deitel and deitel " and installed it on my laptop.while...
View ArticleNullReferenceException with System::Windows::Size
Hi,In a C++/CLI project, inside a ref class, I have the following code:private: System::Windows::Size _viewportSize; public: System::Windows::Size GetViewportSize() { return _viewportSize; } void...
View ArticleVariadic Templates
Are variadic templates in visual c++ 2013 preview true or emulation?
View ArticleVisual studio 2012 warning C4005: __useHeader macro redefinition
I have migrated my code from VS2008 to 2012 and I am getting lots of warnings saying:c:\program files\microsoft sdks\windows\v7.1\include\sal_supp.h(58): warning C4005: '__useHeader' : macro...
View ArticleCOM Calls taking more time in Windows7 than in WindowsXP.
Hi,<o:p></o:p>I having facing one issue with the COM calls in my application. In my application there are some COM calls between the server and the client. The issue is, when I run my...
View ArticleHow to send UNICODE characters to serial port
I am trying to write data in Russian language to the serial (RS-232) port. My display device is already set to that character code page. But output on the device is not exactly what I require.My code...
View ArticleFatal Error[Pe035]: #error directive: ERROR: Only win32 target supported!
Hello, I'm trying to build my code in IAR Embedded Workbench IDE for AVR32. However, after adding directories to find my .h files, I have gotten this error:"Fatal Error[Pe035]: #error directive: ERROR:...
View ArticleMicrosoft Visual C++ 2010 Express has stopped working
I downloaded and installed Visual C++. When I try to start it, I get the following, "Microsoft Visual C++ Express has stopped working." I have tried to Repair/Reinstall, but I get the same error. I...
View ArticleHow To Clear the Serial port buffers & How to execute the commands in Visual C++
Hi i am developing a windows form application using visual c++ (baudrate=115200)any one can help me, here is my sample code**************** private: System::Void button11_Click(System::Object^ sender,...
View ArticleVisual C++: How to access global class instance function via pointer?
In a Visual Studio 2012 C++ DLL I'm creating I have a global custom class instance like so:static DrawDataVector *ddv = new DrawDataVector();From an object of different class type in the same DLL I try...
View ArticleHow to generate a .exe that works fine on all the systems using vc++ 2005...
Hi, I am working with windows console application with oracle dll (oraocci11d.lib) as dependency now i need to generate a .exe file which should be running the application on all the systems(...
View ArticleAttaching a function to an IRQ
Can I attach a function to a IRQ X, so ever the IRQ X has been setted this function will be automatically called?I'm using C++ and Windows 7 Best Regards, Filipe Isaac Alvarenga e Meireles |...
View ArticleHow to find process count which windowtitle contains "Notepad"?
How to find process count which windowtitle contains "Notepad"?I know there is a function called FindWindow, but i need to find "if contains"Thanks all.
View ArticleHex to jpg conversion in vc++
I'm using visual c++ 2010. I would like to know how to convert a hexadecimal text file into a jpg file. Is there any method or code that i could refer? Thanks in advance, Anusha
View Articleuse of '.' after name of a class instance
I know that a class member is denoted as <class name>::member, or <pointer to class> -> member; whereas for a structure '.' is used. However, I also see <instance of class>...
View ArticleADO recordSet fields value returns different values in debug and release mode...
HI,I have a vc++ 6.0 project file which contains the code to read (ADO )column value from access 2007 database.column name is "abc" (without quotes)I declared that column name in my header file as...
View ArticleCTime bug?
Gentlefolk,I think I have found a problem with CTime. I am using it to parse for time / date escape sequences in a command line. It seems that if the command line is very long the parsing fails. I can...
View Articlehelp ! vc++ adding winsock control to existing project
hello dear forum I have an existing VC++ 2008 project named MOCON I add a form MOCON1.h to this project and added a winsock control to this form all in the namespace MOCON...
View ArticleCDockablePane Autohide issue
Hi guys,I am developing a MDI application (VS-2008) using dockable panes. mostly things are working fine but there is a problem when the pane is set to Autohide.As it hides, if there are more than one...
View ArticleChart Control Help! Urgent! Windows Application Form
Is there a way to plot multiple points to one series to one variable on chart control? Please provide a brief example, if you can! Thanks! :)
View Article