|
hi, thanks, i just found that, changed the winver to 0x0500 and it works.. thanks again
Lee
|
|
|
|
|
Hi,
We are having some query regarding window2K.
I have an application that is working well in WindowXP Enviornment from last 3 year.This application is using VC++6.0 compiler for building application.
Now I have shifted this application building process from VC++6.0 compiler to VC++7.0.Net compiler.Now its working well in WindowXP environment.
But Its having some crashes while executing the application in Windows2K environment.
I read from some of the sites that we need to install Win2k in the following order for shifting application to Win2k.
1. Install Win2K
2.Service Pack 4(SP4)
3.Windows Installer 3.1.
4. copy vcredist_x86 file in Visual studio environment.
Is this neccesary to install software in the order as given above for proper execution of the code in Win2K environment?
or is there some other problem.?
Please reply as soon as possible.
Sandeep
-- modified at 6:31 Thursday 25th May, 2006
|
|
|
|
|
Well I am not sure? Just having a go at it.
What version of windows is mentioned during compile time of the application. Is the correct version specified. I guess you compiled it for XP right!
Why don't you try recompiling it in 2K environment.
Nibu thomas
A Developer
Programming tips[^] My site[^]
|
|
|
|
|
Can you tell me what is need to do to sort out this problem.
Thanks
|
|
|
|
|
Hi mate - Its a funny world. You have a problem for a few days so you post a question on a forum. Suddenly, you solve the problem - just like going to the doctor. You suffer anmd suffer, then you go their and u feel better just befopre appointment.
Sorry pal - i have removed the question. The solution was that a release operation on a bad pointer was omehow affecting the reference count of other objects.
Thx,
John-Paul
|
|
|
|
|
elimn8or wrote: Sorry pal - i have removed the question. The solution was that a release operation on a bad pointer was omehow affecting the reference count of other objects.
Why did you remove the question! It should have been there. It's very bad that people post question and when they get the answer they delete it. Someone else could have learned from your mistake. Imagine everybody here doing it.
Now even if you are specifying the solution here people won't know what you are talking about. No problem anyway.
Nibu thomas
A Developer
Programming tips[^] My site[^]
|
|
|
|
|
Hi there-
Sorry all about removing my question - i solved MY QUESTION literally 10 minutes after i posted the question, so, i did not want to leave it posted incase i waisted time of others - sorry - i will know better next time. Also it appears another thread has spilled over into this thread.
|
|
|
|
|
Hi,
As i mentioned earlier.Its crashes only on Win2k.However in WinXP It works fine(Even in release version).I think your answer is quite out of the way.
Thanks
|
|
|
|
|
whats question!?
whitesky
|
|
|
|
|
My question is just regarding visual c++.Net.
I have an application that is working well in WindowXP Enviornment from last 3 year.This application is using VC++6.0 compiler for building application.
Now I have shifted this application building process from VC++6.0 compiler to VC++7.0.Net compiler.Now its working well in WindowXP environment.
But Its having some crashes while executing the application in Windows2K environment.
Can you exactly tell me how to trace out this problem.
Please reply as soon as possible.
|
|
|
|
|
Do you get error?what
whitesky
|
|
|
|
|
Its crashes with error message "invalid memory access voilation" when executing the application in Windows2K environment.Crashes are not consistent.So it was not easily tracable.
-- modified at 10:01 Thursday 25th May, 2006
|
|
|
|
|
Hello Members!
I'm trying to use Requery in MFC. But it's not working at all. I've used dynaset too so that I don't need to use it. But that's also not working. That's why, I've to face a lot of problems in doing software properly in MFC . Can anyone please give me the solution? It's really very urgent. Please do help me if anyone can.
Best Regards
Jolly
|
|
|
|
|
Jolly Hasan wrote: I'm trying to use Requery in MFC. But it's not working at all.
Which is meaningless without providing the code you are using and what problem(s) you are having with it.
"The largest fire starts but with the smallest spark." - David Crow
|
|
|
|
|
Hi,
can any one tell how to read Windows NT Quota stream through Window NT Quota API. i have used these interfaces
IDiskQuotaControl
IDiskQuotaEvents
IDiskQuotaUser
IDiskQuotaUserBatch
IEnumDiskQuotaUsers
to get any specific information related to quota of user on NTFS. But i want to read Quota Data stream. (Like, to read standard data stream, alternate data stream etc on NTFS, we use BackupRead). Is there any Api through which we can read Quota data stream.
Touseef Afzal
"I only fail when i give up "
|
|
|
|
|
Is this article of any help?
"The largest fire starts but with the smallest spark." - David Crow
|
|
|
|
|
Thanks for ur reply.
Yah I had read this article. This only gives information of how to get any specific information for a quota assigned to a user on a NTFS volume.
I have found that in Windows NT, all the information about the Quota of NTFS volume is presented in $Quota system file.
While making backup of a file which exist on NTFS volume, i m able to read all the other streams like security stream, object id, standard etc through BackupRead api function which gives all the data related to a particular strema. That's what i want to do with quota stream also.
Plz guide me in this case.
Touseef Afzal
i want to read all the data stream related to quota of a volume. Is there any Windows NT Quota API which operate in such a way.
"I only fail when i give up "
|
|
|
|
|
I use DLL to hooking. Assume that I 'm holding focus in 1 windows, how to obtain that program name (i.e *.exe or fullpath : c:\test\abc.exe)
|
|
|
|
|
md_nele wrote: I use DLL to hooking. Assume that I 'm holding focus in 1 windows, how to obtain that program name (i.e *.exe or fullpath : c:\test\abc.exe)
Use GetWindowModuleFileName .
Nibu thomas
A Developer
Programming tips[^] My site[^]
|
|
|
|
|
Hi All,
Sorry I am back….
With help of Steve Echols I have finished displaying text file in the Rich Edit box,
Now I want to search a particular word in the edit box and I want to high light them
Can u please help me with this….
word to be highlighted is stored in the variable w
// set the window text
m_FCONT.SetWindowText(text);
delete [] text;
fclose(fp);
--
-----
CHARFORMAT cf;
memset(&cf, 0, sizeof(CHARFORMAT));
cf.cbSize = sizeof(CHARFORMAT);
cf.dwMask = CFM_BOLD;
cf.dwEffects = CFE_BOLD;
UpdateData(TRUE);
CString w;
w = m_WORD;
int len = strlen(word);
char word_position[50];
char word_length[50];
// **** pseudo-code ****
for (int p = 0; p < len ; p++)
{
m_FCONT.SetSel(word_position[p], word_length[p]);
m_FCONT.SetSelectionCharFormat(cf);
}
Regards,
Vinay Charan.
|
|
|
|
|
|
Hi WhiteSky,
i want to highlight the word during text tranfer from file to rich edit box,i have no options of using another dialog for finding the text..
can u please tell me how to find the word and highlight it..
Regards,
Vinay Charan.
|
|
|
|
|
Hi Vinay Try Using FindText,
Here is a sample code,
CRichEditCtrl* pmyRichEditCtrl;<br />
LPCTSTR lpszmyString;<br />
<br />
FINDTEXTEX ft;<br />
ft.chrg.cpMin = 0;<br />
ft.chrg.cpMax = -1;<br />
ft.lpstrText = (LPSTR) lpszmyString;<br />
long n = pmyRichEditCtrl->FindText(FR_MATCHCASE|FR_WHOLEWORD, &ft);<br />
if (n != -1)<br />
pmyRichEditCtrl->SetSel(ft.chrgText);
Appu..
"If you judge people, you have no time to love them."
|
|
|
|
|
Hello.
I need help. I wanted to close a port using a port number. Is this possible?
If yes, could anyone inform me how?
Thanks.
Alex
|
|
|
|
|
Inorder to close the Port, u need to close the handle of the Port,that u get from CreateFile.
hPort = CreateFile(..........);
for closing this,
if(hPort != NULL)<br />
CloseHandle(hPort);
Appu..
"If you judge people, you have no time to love them."
|
|
|
|