|
I want to use MTS.But I don't know where can I get "MTS Explorer Utility ".Is that part of default installation on windows xp?Where can I find it?
Mazy
"If I go crazy then will you still
Call me Superman
If I’m alive and well, will you be
There holding my hand
I’ll keep you by my side with
My superhuman might
Kryptonite"Kryptonite-3 Doors Down
|
|
|
|
|
On Windows XP (I'm on XP Pro), there's no MTS anymore. You have COM+ 1.5, fully compatible with MTS. You can find the similar utility on Control Panel/Administrative Tools/Component Services
Concussus surgo.
When struck I rise.
|
|
|
|
|
Thanks.
Mazy
"If I go crazy then will you still
Call me Superman
If I’m alive and well, will you be
There holding my hand
I’ll keep you by my side with
My superhuman might
Kryptonite"Kryptonite-3 Doors Down
|
|
|
|
|
I'ev installed WinCVS on my computer to look after my source code.
I've run into a rather anoying bug.
When you commit changes, the file is deleted and retaken from the reposisory. If this is a header file then VC++ panicks and I lose that class from my workspace menu. The only solution i know is to exit, delete the .ncb file and restart. This is really getting on my nerves...
does anybody know a better workarround.
Asim Hussain
e: asim@jawache.net
w: www.jawache.net
|
|
|
|
|
Whitch versions you use? I use WinCvs 1.2 + VC6 without problems.
Pavel
Sonork 100.15206
|
|
|
|
|
Yeah thats what i use.
Do you also use the CVSIn Plugin for VC6, i think my problems stemming from there?
Asim Hussain
e: asim@jawache.net
w: www.jawache.net
|
|
|
|
|
Jawache wrote:
Do you also use the CVSIn Plugin for VC6?
No.
I'm checking the files with the option "Checkout read-only" unchecked and I'm not using the Edit function, maybe this can be the difference .
Pavel
Sonork 100.15206
|
|
|
|
|
Now my programs is acting really weird. What worked before now displays a "User breakpoint" error when i move my mouse over the "open file" dialog. Here's my browse dialog which worked fine before:
void OnBrowse()
{
OPENFILENAME ofn;
char szFileName[MAX_PATH+1];
const char szFilter[] = "All Files (*.*)\0" "*.*\0";
szFileName[0] = '\0';
ofn.lStructSize = sizeof(OPENFILENAME);
ofn.hwndOwner = ghMainWnd;
ofn.lpstrFilter = szFilter;
ofn.lpstrCustomFilter = (LPSTR)NULL;
ofn.nFilterIndex = 1;
ofn.lpstrFile = szFileName;
ofn.nMaxFile = sizeof(szFileName);
ofn.lpstrFileTitle = NULL;
ofn.lpstrInitialDir = NULL;
ofn.lpstrTitle = (LPSTR)NULL;
ofn.Flags = OFN_ENABLESIZING | OFN_FILEMUSTEXIST | OFN_HIDEREADONLY | OFN_PATHMUSTEXIST | OFN_EXPLORER;
ofn.nFileOffset = 0;
ofn.nFileExtension = 0;
ofn.lpstrDefExt = "";
if (GetOpenFileName(&ofn))
SetDlgItemText(ghMainWnd, IDC_SOURCEFILE, szFileName);
}
It worked fine before, but now when i have added a new function which should execute after the OnBrowse function is done, i get a "User breakpoint" message when i move my mouse over the dialog:
Unhandled exception at 0x77f767cd in MP3.exe: User breakpoint.
Here's the contents of the Call Stack when the erros appears:
ntdll.dll!77f767cd() <- stops here
ntdll.dll!77fa2f17()
ntdll.dll!77f842f4()
ntdll.dll!77f635c7()
msms001.vwp!017b7b68()
msms001.vwp!017b7539()
msms001.vwp!017afcf7()
vct3216.dll!00c34326()
And this appears in the Output pane:
HEAP[MP3.exe]: Invalid Address specified to RtlFreeHeap( 01810000, 01814270 )
Unhandled exception at 0x77f767cd in MP3.exe: User breakpoint.
All help is appreciated.
-Rune Svendsen
|
|
|
|
|
You actually should be thankful for the user-breakpoint: it is called by the debug-version of your program, because an assert failed. RtlFreeHeap even tells you why it failed: you're trying to free a memory-block that either has been damaged or was never allocated. RtlFreeHeap knows this because it puts a signature before and after each allocated block and the signatures before the block you're trying to free don't match.
Figure out which variable is being mishandled, and your program will stop acting weird.
When you say it 'worked before', you're probably saying it worked in release-build: no assertions are being performed, and the RT will be happy to free anything you ask it to, even things that were never allocated.
|
|
|
|
|
Thanks for your help. But how is it possible to find out what variable is being mishandled when the error happens when i move my mouse over the dialog created by the GetOpenFileName API?
Thanks
|
|
|
|
|
Hi all,
I need to compare 2 strings,one is a simple character string and the other is a LPWSTR value.How can I do it.Is there any type conversion available.
Thanks
Abhishek.
Learning is a never ending process of Life.
|
|
|
|
|
You will need to convert one of the strings into the same format as the other. Which one you choose does not matter.
Use one of these functions:
MultiByteToWideChar
WideCharToMultiByte
Build a man a fire, and he will be warm for a day Light a man on fire, and he will be warm for the rest of his life!
|
|
|
|
|
Isn't it best to convert the single-byte to wide-format? If conversion from wide- to single-byte format looses information (because some widechars are not representable), the strings might match after conversion, even if they don't actually match... No?
|
|
|
|
|
example:
USES_CONVERSION;
LPCSTR s1 = "Hello World!";
LPCWSTR s2 = L"Hello World!";
int i = _tcscmp(A2CT(s1), W2CT(s2));
There is other ways, but more complicated.
Michel
It is a lovely language, but it takes a very long time to say anything in it, because we do not say anything in it, unless it is worth taking a very long time to say, and to listen to.
- TreeBeard
|
|
|
|
|
Good day all
I was wondering if someone could help with this. I need to find a way of checking to see that if my application that I built is currently running? Any information would be a great help.
Thanks.
|
|
|
|
|
Just use the prevInstance member value of the App object.
If (App.prevInstance) Then
MsgBox "This is the second instance of your app"
End If
When you run your program, the first time, nothing will happen, the second time you will get a message box indicating that there is a previous instance of your app running.
Build a man a fire, and he will be warm for a day Light a man on fire, and he will be warm for the rest of his life!
|
|
|
|
|
I wanna find my articles which I wrote in this fourm some days ago ,how could I do that?thx
YES, I am here.
|
|
|
|
|
You mean old forum posts?
Look at the top of the page on the left, under the Options it should display your username. Click on that to get to your profile page.
From there, click the "Messages Posted" link, and it'll show all the posts you've made
--
Help me! I'm turning into a grapefruit!
|
|
|
|
|
u can try to search for it, using the search in the top of the thread page on the right if u know ur name is enough!
Papa
Murex Co.
while (TRUE)
Papa.WillLove ( Bebe ) ;
|
|
|
|
|
It seems that I could not find with set my name as the keyword in this fourm.
YES, I am here.
|
|
|
|
|
My custom database class has this destructor:
~DbClass()
{
Close();
m_pConn.Release();
m_pConn = NULL;
m_strConnection = _T("");
<code> if(m_pConnPhoto )
{
if(m_pConnPhoto->GetState() != ADO::adStateClosed)
m_pConnPhoto->Close();
}
m_pConnPhoto.Release();
m_pConnPhoto = NULL;
m_strConnection1 = _T("");</code>
::CoUninitialize();
}
I added the stuff in red to a preexisting sample, so I'm not sure if it looks okay.
Anyways I made a MyDBClass m_db variable in the doc of my mfc mdi app. So far I havent deleted (??) it anywhere. Not even sure if I need to destroy or delete it, or take care of it somehow...
What do you think?
Thanks,
ns
|
|
|
|
|
for every new there's a delete somewhere...else there's no need I feel. If you need a delete put it in the CMyAppDoc::OnCloseDocument() override.
|
|
|
|
|
Hi all,
I want to use IDiskQuotaControl interface to set per user quota on a network shared volume. But I need include the lib into my project which implement the interface.
Which lib is that?
Thanks for your answer.
Laura
|
|
|
|
|
You don't need a specific lib, CoCreateInstance with CLSID CLSID_DiskQuotaControl should work.
Look! They have the Internet on computers now! (Homer J. Simpson)
|
|
|
|
|
I tried, but always got link error 2001:
Execution.obj : error LNK2001: unresolved external symbol _CLSID_DiskQuotaControl
Execution.obj : error LNK2001: unresolved external symbol _IID_IDiskQuotaControl
|
|
|
|