|
Sorry,
I got some problem while posting.Error page was displayed when I posrted the message???
Siddharth
|
|
|
|
|
HI,
Is there any utility to find the crash in the application in release mode? In Debug mode the application exits normally. But in the Release mode if the "Close" button is clicked, it crashes.
Put message boxes in suspected places. But unable to find the reason for the crash. Is there any tool/utility to find the crash location in Release mode?
Thanks
Raji
|
|
|
|
|
|
hi,
I want to get the width and height from the user through the edit control and storing it in the RECT structure but it's getting the only one value at a time and strucking,can you tell me what is the problem here???
CRect reect; (I want to store height and width here)
CString s,s2;
m_height.GetWindowText(s); //m_height is the edit control
s=reect.Height();
m_width.GetWindowText(s2);
s2=reect.Width();
GetClientRect(&reect);
m_shockwave.FOPSetClientRect(reect);
Siddharth
|
|
|
|
|
You need to reword your question to make others understand. I'm sure, you have not tested this code. Its very difficult to understand your problem, seeing this descriptioni.
|
|
|
|
|
What you are trying to say.Without testing how can I blindly post it here.
I want to get height and width that is two parameters from the user ,and I want to set it in a RECT structure(I think here it's clear).
Siddharth
|
|
|
|
|
siddharthsan wrote: Without testing how can I blindly post it here.
From your original code, watch the line in bold
CRect reect; (I want to store height and width here)
CString s,s2;
m_height.GetWindowText(s);
s=reect.Height();
m_width.GetWindowText(s2);
s2=reect.Width();
GetClientRect(&reect);
siddharthsan wrote: I want to get height and width that is two parameters from the user ,and I want to set it in a RECT structure
For this you can use DDx to associated edit controls with integer variables and assing it to RECT .
|
|
|
|
|
Hi
All
I want to set font for particular application. for exp., suppoose i want to display all menu, messages,windowtext of particular application in marathi. while seting font, it should not affect other part of WinXP menu and messages.So plz send me code of this.
Thanks and Regards
Atul Mahajan
|
|
|
|
|
Set the locale using _create_locale
Cheers
|
|
|
|
|
Hi all ,
I want to implement a dynamic timer. By dynamic timer i mean that first my thread should execute
1) at 0 min
2) after 5 min
3) after 10 min
and then after every 1 hour......
can anybody guide me in this or could provide me with a link in which how to do this task is given...
thanks in advance
|
|
|
|
|
When IE is configured to use "automatic configuration script" -- is there any easy way to programatically figure out the type and location of the proxy in use?
Do I need to execute the script myself?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
Peter Weyzen<br />
Staff Engineer<br />
<A HREF="http://www.soonr.com">SoonR Inc.</A>
|
|
|
|
|
I wanted to program my parallel port, but unfortunately it is on a PCI card and has a base address of E800. I am also running XP so there doesn't seem to be any easy way of just changing my port settings. I wanted to know how to send data to my PCI parallel port. If anyone could help me out it would be greatly appreciated. Thank you.
|
|
|
|
|
|
hi dudes:
i need to transfer a simple text file through serial port by loop back connection to the same PC as win 32 application in visual C
as a first step i opened the serial com port and configured the serial port now i need to read the data in text file and put it in the buffer and want to transfer and i need to recieve it in another buffer and write it back
1.i got strucked in the reading part and writting part
let me know your suggestion for further improvement
thanks for your time
---------
Zealot
|
|
|
|
|
saranjeganinvent wrote: 1.i got strucked in the reading part and writting part
are you able to transfer single character at a time... if yes.. then it pretty much easy.. create some header mechanism or handshaking .. i.e.
communication between two port,
Port5 : connect to Port 6 com port!
Port5: File K0 (0x03) //end character
port6: File 10 codeproject.cpp (0x03)
port5: Data K0 (0x03)
port6: Data 20 12345678901234567890 (0x03)
loop back till you recv whole file!
here File and Data are Command and
File K0 asking for file name and in return it's getting File [Length of FileName] [Actual FileName]
Data KO format will be Data [Length of Data] [actuaLData]
|
|
|
|
|
How can i get Properties any image(like window properties of image...)
actually i displayed images as thumbnails but i would like show properties also whenever click the right mouse click button...
Regards,
Srinivas
|
|
|
|
|
You can use of CImage class it shows width/height/bit and...
|
|
|
|
|
Hi all ,
I have done ping coding in thread. That thread is made in a class and that class is derived from CWinThread (its a user Interface thread). I have made a list control in my applcation and i can select various no of rows to ping at same moment.This all is working fine.My problem is in displaying the result in list control. I have used SendMessage function for that.But the result displayed is same for all rows.
I have tried using PostMessage but then also same problem is there.Can anybody solve my problem.
Thanks in advance...
|
|
|
|
|
neha.agarwal27 wrote: I have used SendMessage function for that.But the result displayed is same for all rows.
use some number mechanism to distinguish between the data!
|
|
|
|
|
The problem is with selecting multiple rows. When u r selecting multiple rows only the last one is getting reflected. Try to track the row numbers and also send them using PostMessage.
|
|
|
|
|
h:\microsoft visual studio 8\vc\platformsdk\include\prsht.h(201) : warning C4201:
h:\microsoft visual studio 8\vc\platformsdk\include\prsht.h(201) : warning C4201:
h:\microsoft visual studio 8\vc\platformsdk\include\prsht.h(207) : warning C4201:
h:\microsoft visual studio 8\vc\platformsdk\include\prsht.h(207) : warning C4201:
h:\microsoft visual studio 8\vc\platformsdk\include\prsht.h(216) : warning C4201:
h:\microsoft visual studio 8\vc\platformsdk\include\prsht.h(216) : warning C4201:
h:\microsoft visual studio 8\vc\platformsdk\include\prsht.h(228) : warning C4201:
h:\microsoft visual studio 8\vc\platformsdk\include\prsht.h(228) : warning C4201:
h:\microsoft visual studio 8\vc\platformsdk\include\prsht.h(234) : warning C4201:
h:\microsoft visual studio 8\vc\platformsdk\include\prsht.h(234) : warning C4201:
h:\microsoft visual studio 8\vc\platformsdk\include\prsht.h(243) : warning C4201:
h:\microsoft visual studio 8\vc\platformsdk\include\prsht.h(243) : warning C4201:
h:\microsoft visual studio 8\vc\platformsdk\include\prsht.h(389) : warning C4201:
h:\microsoft visual studio 8\vc\platformsdk\include\prsht.h(397) : warning C4201:
h:\microsoft visual studio 8\vc\platformsdk\include\prsht.h(402) : warning C4201:
h:\microsoft visual studio 8\vc\platformsdk\include\prsht.h(410) : warning C4201:
h:\microsoft visual studio 8\vc\platformsdk\include\prsht.h(416) : warning C4201:
h:\microsoft visual studio 8\vc\platformsdk\include\prsht.h(432) : warning C4201:
h:\microsoft visual studio 8\vc\platformsdk\include\prsht.h(441) : warning C4201:
h:\microsoft visual studio 8\vc\platformsdk\include\prsht.h(446) : warning C4201:
h:\microsoft visual studio 8\vc\platformsdk\include\prsht.h(454) : warning C4201:
h:\microsoft visual studio 8\vc\platformsdk\include\prsht.h(460) : warning C4201:
h:\microsoft visual studio 8\vc\platformsdk\include\commctrl.h(4739) : warning C4201:
h:\microsoft visual studio 8\vc\platformsdk\include\commctrl.h(4753) : warning C4201:
h:\microsoft visual studio 8\vc\platformsdk\include\shtypes.h(172) : warning C4201:
h:\microsoft visual studio 8\vc\platformsdk\include\shlobj.h(1059) : warning C4201:
h:\microsoft visual studio 8\vc\platformsdk\include\shlobj.h(1089) : warning C4201:
h:\microsoft visual studio 8\vc\platformsdk\include\shlobj.h(1100) : warning C4201:
How let them hide?
Thanks.
|
|
|
|
|
Use
#pragma warning( disable : 4201 )<br />
#pragma warning( default : 4201 )
Regards,
Paresh.
|
|
|
|
|
I need to get the IP addess of the cluster.I need any API provided by Microsoft for the cluster provided by them....
|
|
|
|
|
3. Write a program which outputs frequency of digits in a given integer. For example, if the number is 12424329, output will be
Number Frequency
1 (space) 1
2 (space) 3
3 (space) 1
4 (space) 2
9 (space) 1
Use a switch statement to obtain frequency of the digits.
This means nothing (space) i just put in so the numbers would line up
|
|
|
|
|
HomeWork/Assignment?
The solution to your problem is pretty simple. 10-15 lines of code would produce the desired result.So rather than giving the solution here's the logic that you can build over:
1. Ask the user to input a integer.
2. Now you need to check if the integer at 0th index is repeated elsewhere in the number and so on.
3. If the number is repeated increment the count by 1
If you are having problems on how to get the individual numbers from 0-9 out of the number entered here's the logic for that too-
while(temp!=0){
n=temp%10; // temp is the number entered by the user
temp=temp/10;
//// Do something
// Increment count and print it
}
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|