I want to develop code to transmit data from system to PIC through USB.
Can anybody give good link regarding data transmission through USB.
because i am new to this.
NOTE: Very simple is code is enough to me.
Thanks in Advance
...
The documentation for MSVC's Predefined Macros state "_M_X64 [is] Defined for x64 processors." What does that mean, exactly? Will it be defined:
When I'm building for x64 processors, or
When I'm building with x64 processors?
Specifically, I'm looking for a compiler switch for the former case, not the latter. Will _M_X64 suffice for t...
I am developing a Application which takes two Files and output will be two files which will have only the contents which differs in both the files.
The application is developed using VC++
My Files are of Html type
Is there any library which will do the diff opereation between two files
...
Hi all,
I want to know if its possible to embed a flash movie inside an MFC app and let the user iteract with it. I know this is easily possible through embedding Flash activeX control. But I want the flash movie to be able to receive input from the MFC app (such as data and state update from the servers) and also should let the MFC app ...
When I try to build my c++ library (in both static and dynamic mode) using visual studio 2008, in the debug folder, instead of .lib or .dll file, some .obj files are created along with an .idb and an .pdb file.
how can I make visual studio build the library file?
...
I have Visual Studio 2008 installed on my machine and I want to know whether I can install VC Express 2008 with no crashes. What would I want such a thing? tutorials.
Thanks in advance.
...
I'm getting the build error 'error VCBLD0007: Could not find project configuration RELEASE|X64 to build.' when attempting to build in that configuration. Release|Win32 works fine. The configuration definitely does exist in the project. I'm building with vcbuild in VS2005 and running on a x64 box.
Anyone have a hint?
...
I'm having trouble with a call to CreateToolhelp32Snapshot() from a C++ Windows program, but it only happens in the field -- so far I'm unable to replicate it in the office. I noticed some references to the (undocumented) flag TH32CS_SNAPNOHEAPS online, which I think might help, but the pages turned up in a Google search are all about Wi...
I'm trying to figure out what form of alias analysis is used in Visual C++. Its also known as pointer analysis, mod-ref analysis, points-to analysis or side-effect analysis, and is pretty close to escape analysis or shape analysis (should you have seen those terms bandied about).
If anyone knows where MSDN discusses this sort of thing, ...
Hi all i want to execute code similar to a Interrupt service routine after a timer expires(say print hello after every 10ms) and this is a supplementary activity so it has to be using a timer .So how do i implement timers in vc++
...
Hi all i am trying to use System::Threading.Timer however it also involves delegates and the code posted on msdn is little cryptic -http://msdn.microsoft.com/en-us/library/system.threading.timercallback.aspx.it will be great if someone can explain it.
...
Is there a way to force the same code to produce the same binary in Visual C++? Turn off the timestamp in the PE or force the timestamp in the PE to be some fixed value, in other words?
...
I have a C++ application that uses a third-party library. Every here and there in my code there're calls to that library. I would like to trace all such calls.
It would be easy if those were functions in my code - I would insert a macro that would obtain the current function name and time of call start and pass those to a local object c...
I am getting the following warning after I debug the MFC based windows application(visual C++). The problem is that it does not display the window. Why is it so?
Warning: m_pMainWnd is NULL in CWinApp::Run - quitting application.
The program '[2616] new.exe: Native' has exited with code 0 (0x0).
The code is:
#include <afxwin.h>
#inclu...
I want to handle window move events. My first try was to handle DWebBrowserEvents2::WindowSetHeight, WindowSetLeft, WindowSetTop and WindowSetWidth events, but for some reasons, these events didn't get fired at all.I've handled window resize by handling HTMLWindowEvents2::onresize. How would I handle when the window moves? I've also trie...
I am getting the following error.
error LNK2001: unresolved external symbol __localtime64_s
On searching on the internet i found that there is a library WINMM.LIB which is needed to be included. So i added this library in the project options.
But,it still does not help.
Can somebody help in this?
...
I want to set a CMake variable differently for debug and release builds. I have tried to use CMAKE_CFG_INTDIR like this:
IF(${CMAKE_CFG_INTDIR} STREQUAL "Debug")
SET(TESTRUNNER DllPlugInTesterd_dll)
ELSE(${CMAKE_CFG_INTDIR} STREQUAL "Debug")
SET(TESTRUNNER DllPlugInTester_dll)
ENDIF(${CMAKE_CFG_INTDIR} STREQUAL "Debug")
But th...
I would like to store a void pointer in a blob for a record in a table. How do we do the serialization and deserialization?
...
Hi,
after some processing my program shows a messagebox saying you can read a log file to know more about what has been done. I would like to show a link to the file instead the name of it. How is this done?
Thanks a lot
UPDATE:
IDD_RESULT_DIALOG DIALOGEX 0, 0, 228, 58
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAP...
how to use CreateThread() to create threads of functions which are class members.
...