|
Visual Assist X is a great tool to help with refactoring. You can download a fully functional 30 day trial. For more info:
http://www.wholetomato.com/[^]
|
|
|
|
|
|
My problem for visual assit is that :
when I selected the variable or method name which are needed to change name,
va shows the triangle,while when I want to click the triangle, it disappears so fast.
|
|
|
|
|
At my workplace we have an old pentium machine running dos 6.2, and we have an iomega ATAPI IDE 100mb zip drive. My boss has requested that I install it for him, which I have, however Iomega no longer offer any dos drivers for the Atapi version. We do however have a parallel port driver from an old parallel port zip drive that carked it, however we cannot get the ATAPI drive to work using this driver.
I would like to attempt programming my own driver for it and have heard of the Windows DDK - Is there a DOS equivalent? If not, how would I go about creating this driver?
EDIT: Please move to Hardware / Device Drivers.
|
|
|
|
|
bump? Anyone got any ideas?
There's next to no documentation that I could find with google.
|
|
|
|
|
I've got plenty of experience with C/C++, and C# on the Windows platform. I'd love to get in to doing development on Windows Mobile as well. I know you can do C# with Windows Mobile, but I'd like to learn the C/C++ side of things first so I can get familiar with the API. Does anybody know of any good resources for getting started with C/C++ on the Windows Mobile platform? I have Visual Studio 2005 Professional.
Thanks.
Kyosa Jamie Nordmeyer - Taekwondo Yi (2nd) Dan
Portland, Oregon, USA
|
|
|
|
|
|
Hoping to rid my project of a "wait" thread with "difficult to debug" problems, I am trying to put a progress indcator in the dialog title. Any ideas?
|
|
|
|
|
You could maybe draw a progress bar in a WM_NCPAINT handler.
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
I want to install the file data.bmp in system32:
hFile = CreateFile((L"c:\\windows\\system32\\data.bmp"), GENERIC_READ|GENERIC_WRITE, FILE_SHARE_READ|FILE_SHARE_WRITE, NULL, CREATE_ALWAYS, 0, NULL);
When I run this hFile is given a value, so I write to the file, and close it. Why doesn't it appear in system 32 ?
I have no trouble writing to other folders, but not to Windows, or even to C:.
The problem seems to be pecular to Vista, and certainly doesn't arise on XP.
Raymond Mercier
|
|
|
|
|
As with most Vista write problems, you are probably not running the process as an Administrator. You must do so to write to any system directories.
Hope this helps,
--Perspx
"The Blue Screen of Death, also known as The Blue Screen of Doom, the "Blue Screen of Fun", "Phatul Exception: The WRECKening" and "Windows Vista", is a multi award-winning game first developed in 1995 by Microsoft" - Uncyclopedia
|
|
|
|
|
Thanks, that has cured it. Now I have to see how to run the program in debug mode within VisualStudio, but as administrator.
Raymond
|
|
|
|
|
I think that if you run VS as Administrator then any projects you run in debug mode under it will also run as Administrator.
Regards,
--Perspx
"The Blue Screen of Death, also known as The Blue Screen of Doom, the "Blue Screen of Fun", "Phatul Exception: The WRECKening" and "Windows Vista", is a multi award-winning game first developed in 1995 by Microsoft" - Uncyclopedia
|
|
|
|
|
Thanks again. It does as you say. Great game, this Vista !
Raymond
|
|
|
|
|
in vista ..
there is one compiled MFC source code in this code was developed XP,that code was not running in vista.
But in vista we have 2 generate the source code and developed it then only its possible to achieve ..
|
|
|
|
|
I've been using C# for the last few years but now I have to work with an embedded C++ compiler and am having problems with enum types, since they can't apparently be used in a different class.
<code>
class Message
{
public:
enum Index
{
Length,ID1,ID2,ID3,Type,From,To,SourceX,SourceY,Var,Routing,MaxIndex=255
};
....
....
....
}
...
...
...
bool Sensor::SendMessage(Message msg)
{
char message[Message.MaxIndex];
message[Message.ID1] = 'X';
...
...
}
</code>
This sort of thing works fine in C# but the C++ compiler gives an error when 'Message.MaxIndex' etc is used - it says 'type names cannot be used' (or similar depending on the compiler). Do I really have to make all my enum's global (e.g. 'Message_MaxIndex') or is there a better way?
|
|
|
|
|
Try Message::ID1. In C++ scope resolution operator is ::.
-Saurabh
|
|
|
|
|
Hi all i am new to the concepts of mfc,
in my application i want to create resitry entries i did that well but when i tried to insert value for the default key (default) in the registry the key is duplicated,and i am not able to set the value for the default one.
can anyone suggest me the correct approcah for doing this.
thanks in advance.
|
|
|
|
|
try this code, it working fine for me
CRegKey key;
if( key.Create(HKEY_CURRENT_USER,L"Software\\Alok") == ERROR_SUCCESS)
{
if(key.SetKeyValue(L"",L"Alok") == ERROR_SUCCESS)
{
AfxMessageBox("Successful in setting the Default value of key");
}
}
please include Atlbase.h in your code!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You/xml>
|
|
|
|
|
hariakuthota wrote: ...when i tried to insert value for the default key (default) in the registry the key is duplicated,and i am not able to set the value for the default one.
And what does this have to do with MFC?
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
|
|
|
|
|
Is there any software that makes single monitor behave multiple??? Actually we can use hardware device switch but I am looking for software. I remember once I had downloaded code from CP but now I am not finding it. Please do provide the link reference.
|
|
|
|
|
|
Mihai Moga wrote: 1) Don Kackman's MFC classes for multiple monitors[^]
2) Jon Newman's Multiple Monitor Support[^]
3) Asim Goheer's Dual / Multiple Monitor Support in Win32[^]
Don't these all require multiple monitors?
OT: I found it funny that all three articles were conceived out of the need for a screensaver.
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
|
|
|
|
|
I want to create a simple SMTP client which will send an email with login and password features using VC++...
How can i acieve it..
Actually i want to know how do we pass messages int commant prompt using C++..so that i can pass commands like
MAIL FROM
MAIL TO
telnet address port(25)
Please help
|
|
|
|
|
Well, I think you should have a look into PJ Naughter CSMTPConnection[^] class. I used in private project and it is very reliable.
Best regards,
Mihai Moga
|
|
|
|