|
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 ?
|
|
|
|
|
Maybe it is strange,
but I want to do this to send a picture to another computer (Desktop)
Is there a better way?
Every new thing you learn,Gives you a new personality.
|
|
|
|
|
And why don't you simlply send the picture ?
|
|
|
|
|
Does anyone know whether it is possible to run an NT Service under a Windows Server 2003 environment. I have a Windows NT service created using the CNTService class that's been posted on the internet a number of times, and I am trying to run the same service under Windows Server 2003. Unfortunately a DLL that I create an instance for does not get created correctly.
Regards,
Simes
Simes
|
|
|
|
|
Simes wrote: Unfortunately a DLL that I create an instance for does not get created correctly.
Why? Are you receiving compiler/linker errors?
"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 can't seem to create the instance of the VB DLL that I am trying to access. It says it can't create the object, and yet I have an import statement at the top of my code for the NTService which ensure that the VB DLL is known about.
|
|
|
|
|
Simes wrote:
I can't seem to create the instance of the VB DLL that I am trying to access.
How are you trying to do this?
"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
|
|
|
|