|
Is it possible to instal VS2005 Pro without uninstalling VS98 (v.6)?
Thanks!
|
|
|
|
|
Hi,
It's possible. And I think, it works fine. A friend of mine has the two IDEs installed and running without any problem.
Cheers,
Allad
|
|
|
|
|
|
"Actually, there are no serious issues with having both platforms and IDEs on
the same machine. I have noticed a glitch in creating a Service Setup
project in VS.Net 2003 with VS.Net 2005 installed, but it seems to have no
effect on the end product. However, there is definitely a bug in VS.Net 2005
with regards to creating a Service Setup project that prevents it from being
able to install correctly. I get around that by using installutil instead.
Also note that I've only observed this behavior with regards to Service
Setup projects."--Kevin Spencer,Microsoft MVP
VuNic
|
|
|
|
|
How i can read(write) data from(into) usb port
|
|
|
|
|
What about other end of port?
|
|
|
|
|
Soory, what about other end of USB.
|
|
|
|
|
what i dont understand you !!
|
|
|
|
|
Hello.
I am an inexperienced C++ user in need of desperate help. I have to code an application that generates midi notes using a markov chain, play them, and then generate simple visuals to represent these notes. I am really struggling to get started on this application, especially making my alogrithm. Any help, ideas, code, whatever would be greatly appreciated!! Sorry this is a bit vague but i have next to none experience using his language.
Thanks!!!
|
|
|
|
|
Hold you mouse over the 'Articles' menu above here, and select 'Search' when the menu pops up. Then search for 'MIDI', and you will see a bunch of articles to puruse and get your bearings.
Debugging - The high art and magic of cussing errors into 'features'
|
|
|
|
|
Ooooh.
That sounds like a nice touch of sarcasm. Or irony. Or one of those other "wicked humour" things. I never did know the difference.
|
|
|
|
|
Brilliant!!!!! All done thanks alot.
|
|
|
|
|
It wasn't meant that way, honest. With the topic he posted, there is just too much information he needs to grok before he can really get started, and I was trying to get him going in a direction where he could ask a more specific question. He did say 'inexperienced'.
Good luck, ric ric.
David
Debugging - The high art and magic of cussing errors into 'features'
|
|
|
|
|
Ah.
Me, I would probably have gone with the "sarcasm" approach. But then I never claimed to have patience. My wife's a teacher, but I'm too much of a bastard for that.
|
|
|
|
|
For a computer running win2k/xp how can i programmatically find the path to the Windows directory ?
|
|
|
|
|
|
This should get you started:
wString rmw::iniFilePath() {
wString path;
ITEMIDLIST * list;
HRESULT hr = SHGetSpecialFolderLocation(NULL, CSIDL_APPDATA, &list);
if (!SUCCEEDED(hr)) path = TEXT("C:\\");
else {
TCHAR str[MAX_PATH+1] = {0};
if (SHGetPathFromIDList(list, str) == TRUE) {
path = str;
}
}
CoTaskMemFree(list);
return path;
}
You will need to sub std::string for wString, and 'CSIDL_WINDOWS' for the CSIDL_APPDATA, and make a couple other changes.
Debugging - The high art and magic of cussing errors into 'features'
|
|
|
|
|
GetWindowsDirectory()
"You're obviously a superstar." - Christian Graus about me - 12 Feb '03
"Obviously ??? You're definitely a superstar!!!" - mYkel - 21 Jun '04
"There's not enough blatant self-congratulatory backslapping in the world today..." - HumblePie - 21 Jun '05
Within you lies the power for good - Use it!
|
|
|
|
|
GetSystemWindowsDirectory
Vipin - MVP
|
|
|
|
|
just a clarification.
"The GetSystemWindowsDirectory function retrieves the path of the shared Windows directory on a multi-user system."-msdn.
so does this suit the question?
VuNic
|
|
|
|
|
Another question:
Before calling the dialog, I try to call another function, which has access to the list elements. This function should fill the CListBox. But every time, I will add this elements to the CListBox (using AddString("text")), the program returns a error message. Whats the mistake?
Help!
|
|
|
|
|
hanno25 wrote: the program returns a error message
What message? The message that you get is telling you what is wrong. If you want help you have to let us know what the message is or else all we can do is take a guess.
My guess is that the CListBox window is not yet created when you call AddString() so there is no HWND to handle the LB_ADDSTRING message, resulting in an ASSERTion being thrown in CListBox::AddString().
"You're obviously a superstar." - Christian Graus about me - 12 Feb '03
"Obviously ??? You're definitely a superstar!!!" - mYkel - 21 Jun '04
"There's not enough blatant self-congratulatory backslapping in the world today..." - HumblePie - 21 Jun '05
Within you lies the power for good - Use it!
|
|
|
|
|
you cannot access your dialog Items before initializing your dialog.
BOOL CMFCDlg::OnInitDialog()
{
}
VuNic
|
|
|
|
|
you may add ur code into initdialog function that insert the elements into the list box
BOOL CTestDlg::OnInitDialog()
{
CDialog::OnInitDialog();
//my code for adding the data into listbox
}
Thanks and Regards
Laxman
FAILURE is the first step towards SUCCESS
|
|
|
|
|
Hi,
I would like to know if there is a way to copy partial memory contents(variables) from one structure to another using the memcpy function.
ie
struct TEMP{
int x;
int y;
int z;
};
I would like to copy the struct TEMP except the variable int z, to another struct TEMP?
Thanks
|
|
|
|