|
Hello community,
i try to debug my project on dualcore machine, and if i set a breakpoint to watch the content
of my variables, for exemple CStrings, VS show only the first character???
Example:
CString csFilePath = "C:\\foldername\\file.txt";
In watch window i can see only 'C', where is the rest of csFilePath????
Thanks for any help!!!
termal
|
|
|
|
|
You might be running the unicode version.
change the following option in msdev
tools->options->Debug tab->Tick "Display unicode strings".
|
|
|
|
|
Hello,
thanks for help, you have right! For first time i think it's something with dualcore cpu,
i dont know why, i just thing so, ok, i think wrong!
with best regards
termal
|
|
|
|
|
in what is this related to the multicore architecture of your computer ?
|
|
|
|
|
In the debug window, you can specify ,su instead of the default value of ,s.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Hello,
ok, thanks for info!
regards
termal
|
|
|
|
|
I am using the the demo project from the below link. But facing the error.
http://www.codeproject.com/shell/shellextguideindex.asp[^]
The errors are as follow.
SimpleShlExt.h(22): error C2787: 'IContextMenu' : no GUID has been associated with this object
SimpleShlExt.h(22): error C2440: 'initializing' : cannot convert from 'DWORD_PTR' to 'const IID *'
And they Both appears to be on Location
BEGIN_COM_MAP(CSimpleShlExt)
COM_INTERFACE_ENTRY(IShellExtInit)
COM_INTERFACE_ENTRY(IContextMenu)
END_COM_MAP()
if anybody knows what is the problem please tell me.
|
|
|
|
|
Gaurang Shah 033 wrote: The errors are as follow.
SimpleShlExt.h(22): error C2787: 'IContextMenu' : no GUID has been associated with this object
SimpleShlExt.h(22): error C2440: 'initializing' : cannot convert from 'DWORD_PTR' to 'const IID *'
put this in the stdafx.h and rebuild.
#define _ATL_NO_UUIDOF
|
|
|
|
|
Thnx a lot for your help. But can I have a little help on this macro.
|
|
|
|
|
|
I want to update media files to my iPod using my own program but not iTunes.
I had download the iTunes SDK. But if I do the task by my program using the SDK,I have to make iTunes running.But I must run iTunes,there would be no need to program by my self!
So,I want to know the iPod's database file format.
Someone would like to help me?
Thank you.
GOOD LUCK.
|
|
|
|
|
i want to load bitmap on control button, & whenever i move cursor on that button it highlight the button, & when i again leave cursor from button, it should not highlight the button
varun
|
|
|
|
|
hi
ample downloads are available at codeproject as well as codeguru.com
please go through them.
i faced the same problem long ago and could solve it using the downloads from the above sites.
gud luck.
|
|
|
|
|
You have to create two bitmap resources for doing this. One is for normal state another for highlight state. On mouse over on the button you need to change the bitmap.
Sreedhar DV
[Real success is having courage to meet failure without being defeated.]
|
|
|
|
|
You have to customize the button.
- NS -
|
|
|
|
|
Use CBitmapButton instead of CButton.
|
|
|
|
|
It will not support mouse over highlight, right?
- NS -
|
|
|
|
|
Hi all,
How do I know the context menu created by TrackPopupMenu is dismissed? Do I get any message? I know I will get a message if the user select an item, but how about if the user click anywhere outside of the menu?
Thanks.
|
|
|
|
|
When the menu is dismissed TrackPopupMenu will return.
Steve
|
|
|
|
|
Yes! So simple! Thanks a lot!
|
|
|
|
|
I have a COM component with no .h files.But I want to use it,how should I begin?
Thanks.
GOOD LUCK
|
|
|
|
|
|
I am sorry that,I only have a .dll file of the COM component.
Thanks
|
|
|
|
|
#import is meant for such situations. NOTE: NOT #include but #import . Look it up!
Steve
|
|
|
|
|