|
Hi all,
Suppose i call terminate process that resides in the traybar.
the problem is the icon of it stays there. i need to make something like invalidate for the traybar.
is there a simple win32 api function? or do i need to find the window of the traybar then call it up on invalidate?
thanks in advanced
Yaron
Ask not what your application can do for you,
Ask what you can do for your application
|
|
|
|
|
Hi there!
I'm getting nuts over
that stuff, but I can't find anything about that problem.
I just want to connect my handheld stuff (symbol scanner with Windows CE .NET 4.2) to an oracle database. That's all.
But I can't find anything about that theme on the web, except that most of the standards are not working. (ODBC, DAO, ADO...)
Is it that complicated to connect CE to a database or am I just stupid?
Any (really any) help is apreciated!
Olli!
Olli
"Ooooooh, they have the internet on computers now!" Homer Simpson
+ = NULL :=>
|
|
|
|
|
Hi,
I have a dll that is a plug-in for an internal tool. It is only computing (No GUI). I have some local static variables, and when debugging the .dll, I cannot see the value they have. The debug info is simply missing (I think everybody knows the error message). I can see local variables. I can see global variables. But I cannot see statics. What goes wrong ?
int a;
void func(void){
static int b;
int c;
}
Thanks !
~RaGE();
|
|
|
|
|
That is a limitation/bug of the debugger (at least in VC++ 6.0), IIRC - it has problems with static (global, local, or member) variables and methods/functions.
Peace!
-=- James If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! DeleteFXPFiles & CheckFavorites (Please rate this post!)
|
|
|
|
|
Thanks ! Just out of mere curiousity, where did you get this information from ? Is it something offical @ microsoft ?
~RaGE();
|
|
|
|
|
The MS debugger has had problems with static data for quite some time now, at least as long as I can remember, and I first started using it on back on 1.5/1.51 (Win16).
There is some history about it in MSDN.
Peace!
-=- James If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! DeleteFXPFiles & CheckFavorites (Please rate this post!)
|
|
|
|
|
Hi All,
I am looking for a linker symbol in 100+ .lib files. I have the linker symbol, but how do I find which library it is in?
regards,
Rich
"Programming today is a race between software engineers striving to build bigger and
better idiot-proof programs, and the Universe trying to produce bigger and better idiots.
So far the Universe is winning." -- Rich Cook
|
|
|
|
|
Maybe a dumb answer, but I bet you can search for the symbol name inside the libs. (with Find in Files, for instance.).
~RaGE();
|
|
|
|
|
Nope, Find Files didn't find anything with the names that I need (but I know they are there).
"Programming today is a race between software engineers striving to build bigger and
better idiot-proof programs, and the Universe trying to produce bigger and better idiots.
So far the Universe is winning." -- Rich Cook
|
|
|
|
|
Have you searched for the exact variable name, or for the variable name preceeded by an underscore, as in the error message ?
~RaGE();
|
|
|
|
|
Both. I think Find in Files is not searching properly. I tried looking for WinMainCRTStartup in the Platform SDK files, and it wasn't found.
cheers,
Rich
"Programming today is a race between software engineers striving to build bigger and
better idiot-proof programs, and the Universe trying to produce bigger and better idiots.
So far the Universe is winning." -- Rich Cook
|
|
|
|
|
I can only find it in makefiles, in my SDK, for instance:
C:\PROGRAM FILES\MICROSOFT SDK\include\Win32.Mak(548):savlflags = $(lflags) -subsystem:windows,$(EXEVER) -entry:WinMainCRTStartup
~RaGE();
|
|
|
|
|
I have a SDI application .it's derived from CScrollView.I draw text with TextOut().while the the logical y-coordinate of the starting point of the text more than 32767,the text can't draw on the view.
How to resolve this problem?
|
|
|
|
|
hi there
i'm making a simple MFC Project.in which i have to give a menu option.when any user will click on this menu option then my sipX.exe file (which is small talking software) should be run in my MFC Application
i'm fadup how to do this.please somebody help me.guys i'm stuck on this point.
please help me.
byeeeeee
Aavesh
|
|
|
|
|
Use ShellExecute or CreateProcess .
Nibu thomas
Software Developer
|
|
|
|
|
Thanx for ur Reply.
i'm very new in VC++. i dont know how to use ShellExecute or CreateProcess with MFC classes.
please if could then give me some dtail information regarding these.
it would be heaven for me if u give me exat code for executing my exe when any user click on Run Menu option.
i have made my application using MFCApplicationWizard.exe.
its a MDI Application.
please help me.
thanx
Aavesh
|
|
|
|
|
::ShellExecute(NULL, "open", "the_path\\the_prog.exe", NULL, NULL, SW_NORMAL);
|
|
|
|
|
oh!!!!!
sorry.....i have done it.
very very thanx to u.
i hope u will reply me again.when i will ask my next question.
thank u very much boss
Aavesh
|
|
|
|
|
like this
PROCESS_INFORMATION pProcessInfo;
STARTUPINFO si= {0};
si.cb = sizeof(STARTUPINFO);
BOOL bStatus = CreateProcess("Notepad.exe",NULL,NULL,NULL,NULL,CREATE_NEW_CONSOLE,NULL,NULL,&si,&pProcessInfo);
|
|
|
|
|
See here.
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
|
|
|
|
|
I know that one of the ways to draw on static controls is creating a CStatic Class and perform the paintings there (Overriding the OnPaint()).
How can I draw on an activex control?
thanx
llp00na
-- modified at 6:52 Thursday 30th March, 2006
|
|
|
|
|
Activexcontrols are COleControl derived classes and it si basically from CWnd . So u can use all the methods, msgs and overrides that u use for Cwnd . That means u can do the drawings in OnPaint , OnDraw , OnEraseBackGround etc..
cheers...mil10.
|
|
|
|
|
Okey mil10.
I am using an activex control (particularly a microsoft web browser) in an MFC application.
Can I place my drawings in the OnPaint() function of the dialog which holds the activex control ?? If yes, would it be drawn on top of the activex control or in the dialog's client area ???
thanx alot
llp00na
|
|
|
|
|
Hi all,
I have a problem and I hope you can Solve it for me,
I want to send a CWindowDC to another computer through network!!!
How can I do this?
Please help me,
Thanks.
Every new thing you learn,Gives you a new personality.
|
|
|
|
|
Hum, and why do you want to do such a thing ??? You cannot do that. This is a device context and contains informations about your display and things like that. So it is totally ridiculous to send that on a network.
Why do you want to do such a thing ?
|
|
|
|