|
may be this help you.
http://www.codeproject.com/isapi/isapiredirector.asp
|
|
|
|
|
I’m about to insert a Win32 window in a CWnd (or more specific an COleControl). I’m an old MFC-coder and not really good att Win32 API. After what I understand I should take care of the HWND instance of CWnd…
How do I make the sole Win32 window to stretch over my CWnd… ?
_____________________________
...and justice for all
APe
|
|
|
|
|
hi all
i have a console app sample .in the code there is a class that must run with the main thread .it does it with the command" class CCall" in the .H file of the app (CCall is the name of the class ).how can i do the same in an mfc app?
|
|
|
|
|
In which language do you program ??
Ok seriously, it is really really difficult to understand what you are trying to say... Do you mean you have a class, and in this class you have a member function which takes a long time to process ? Am I right ??
If yes, you can start a new thread and call this function in the new thread so the user interface of your application won't freeze...
If not, then try to formulate more specifically your question. For example sentence like "it does it with the command" class CCall" in the .H file of the app " doesn't mean anything. A class is not a command...
|
|
|
|
|
Hello,
Do somebody know how to retrieve the bounds of an List Control item in Large Icons mode (using the style LVS_ICON)?
The control offers the method GetItemRect(), which has the options:
- LVIR_BOUNDS
- LVIR_ICON
- LVIR_LABEL
- LVIR_SELECTBOUNDS
I expected, that the option LVIR_BOUNDS should return the whole item rect, but it doesn't. It returns the smallest rectangle, bounding the icon and the current label text. The same results I get by LVIR_SELECTBOUNDS.
There is another method - GetSubItemRect() - but it works only for list controls in LVS_REPORT mode.
Thanks in advance,
Plamen
|
|
|
|
|
Hi folks
How do i redirect stdin stdout stderr for a process (cmd.exe). the usual method (as given in msdn) doesnt seem to give an interactive shell.
help needed.
thanks
|
|
|
|
|
I think you want to read in the standard cosole.
If I am correct, then u can do this by simply open a socket at port no. 512.
anything u write would be sent to standard console for output and anything that is typed at the console would be available for u to read on the socket.
512 is a port that open to the standard console.
Rahim Rattani
Software Engineer,
Matrix Systems (Pvt) Ltd.,
Karachi - Pakistan
|
|
|
|
|
1. 512 is 'rexec' port.It executes single commands non-interactively.
2. I dont want to use any builtin remote cmd execution service/prog.
3. I want to code an interactive telnet server.
|
|
|
|
|
Please tell me why theses lines appear error ?
CPaintView* pView;
pView = (CPaintView*)GetActiveView();
ASSERT(pView);
Thanks in advance
|
|
|
|
|
Did you try to use the debugger ? F9 to set breakpoints, F5 to start the debugger and F11 to step one instruction (if I remember correctly). So like that you will be able to see on which line exactly your code crashes.
|
|
|
|
|
They appear this error:
CPaintView hWnd=???
Epression: (*(CView*)(*pView))
Value: CXX0030: Error: epression cannot be evaluated
Thanks in advance
|
|
|
|
|
??? From where is that coming ?? It has nothing to do with your previous post.
And also here it is because the debugger cannot recognize what you are trying to watch. Try to see on which line of CODE (nothing to do with what you are trying to watch) your program crashes
|
|
|
|
|
Thanks in advance
I will debug my program.
|
|
|
|
|
Hi, I use a richTextBox in a panel to display a little "rtf formatted" info string. I would like to center text vertically so when the user enlarge the Form the text is displayed always on the vertical center of the panel. Here is my string:
// ...
richTextInfo->set_Rtf(S"{\\rtf1\\ansi \\b Info title \\b0\\line Info body text, bla bla bla bla bla...}");
// ...
I have tried \\vertal but doesn't work. Help and tnx in advance.
|
|
|
|
|
i am running my program in debug mode.
at some debug line it shows '?' mark within the debug mark.
and it shows a message "The break point will not currently hit.in validline no"
In fact i couldn't get the result from the line.
is there any restriction over file size. or i have change any settings to overcome this problem.
pls let me know if anybody come across the problem.
advance thanks
Chezhian
|
|
|
|
|
Did you change the source file when you were debugging?
Blog[^]
|
|
|
|
|
Sometimes it does not allow set breakpoint in certain places: comment, brace, macro or so. Try a few lines before and then step by step through the code you are interested.
|
|
|
|
|
i have a CString ="999999999999999.99" and want its equivalent value. i have used a long Double data type. but still the value is rounded off . how do i do that??
|
|
|
|
|
how do you do that ?
CString str="999999999999999.99";
long double ldValue;
sscanf(str, "%lf", &ldValue);
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
Hi!
I'm trying to create a small program that diplays all type of OS information, like the OS Language installed, user language, keyboard language, Service Packs installed etc.
I know that some of this info you can find in the Registry but not all.
Does Microsoft have any API calls that makes it easy for me to use?
Maybe some other functions to use.
I've found this API GetUserDefaultUILanguage() that displays the user language used. It returns
an unsigned int value I think, converting it to HEX gives you the language code used.
Please help!
Hachaso
|
|
|
|
|
|
Hello friends..
I am working in VC++ 6.0.. using MFC .. I have to record and play sound.. I have problems in playing compressed files (mu-law compressed)..
All my questions are regarding multimedia.. Most of them are unanwsered.. or answered but don't help me much.. Is this the right forum for me ?.. If not which is the one?
pallavi.
|
|
|
|
|
mpallavi wrote:
I am working in VC++ 6.0.. using MFC [...] Is this the right forum for me ?
yes, you're on the right place for such questions.
mpallavi wrote:
All my questions are regarding multimedia... Most of them are unanswered
maybe because no one can answer them... it can be for two reasons : either you don't express yourself enough for us to understand your request, or they just don't know how to do this... (so they don't answer)
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
ok..so this is the right forum for me..
thanx for answering..
pallavi
|
|
|
|
|
Hain Which Finger are you Using Today for Typing?
I am using my nose as asked by Mr Cedric!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|