Computing desk | ||
---|---|---|
< November 23 | << Oct | November | Dec >> | November 25 > |
Welcome to the Wikipedia Computing Reference Desk Archives |
---|
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages. |
What could cause the fast startup feature in windows 8 to stop working if it worked fine before? 176.248.109.88 (talk) 01:16, 24 November 2012 (UTC)
I run MSIE 8 on XP. When I have multiple browser windows open and one or more is slowly loading content, it often keeps putting itself as the top window. Is there a way to stop it doing this and to have the window I have selected stay as the top one? -- SGBailey (talk) 13:16, 24 November 2012 (UTC)
I am facing a really weird C++ linking problem at work.
The basic idea is this. We are working on a Windows application (I am using Windows 7 on my work computer). I am running Visual Studio 2008 and Xoreax IncrediBuild as a distributed compiler on top of it. We have developed a Windows native C++ library, and I want to create a Managed C++ wrapper on top of it so it can be called from C# code.
The code compiles but does not link. I get linker errors about undefined external symbols for numerous functions in the native C++ library that are both declared and implemented in the library code. I have found out that these all come from functions that call functions from other objects, where the functions are both declared and implemented in the .h file. If I move the implementation to the .cpp file, the code links OK.
As an example, this doesn't work:
StdAfx.h in my wrapper:
#include "NativeLibrary.h"
NativeLibrary.h:
#include "Inner.h" class Outer { public: int GetMagicNumber() const { return myInner.GetMagicNumber(); } private: Inner myInner; };
Inner.h:
class Inner { public: int GetMagicNumber() const; };
Inner.cpp:
int Inner::GetMagicNumber() const { return 42; }
But it does work if I change NativeLibrary.h to this:
NativeLibrary.h:
#include "Inner.h" class Outer { public: int GetMagicNumber() const; private: Inner myInner; };
NativeLibrary.cpp:
int Outer::GetMagicNumber() const { return myInner.GetMagicNumber(); }
Does anyone have any idea what is going on here? JIP | Talk 15:30, 24 November 2012 (UTC)
#include <iostream>
#include "NativeLibrary.h"
int main(){
Outer o;
std::cout << o.GetMagicNumber() << std::endl;;
return 0;
}
I ran DUMPBIN.EXE on the .dll and .lib files of the native library at work. The results don't even show the symbol GetMagicNumber
, in any plain or mangled form, anywhere. But then I took another Windows native C++ library, which also had a Managed C++ wrapper, and wrote similar code there. The code compiled and linked OK, and DUMPBIN.EXE showed the symbol GetMagicNumber
. The problem must be in the settings of either the native C++ libraries or the Managed C++ wrappers. I looked at the compiler and linker command line options in the Visual Studio 2008 project properties, and the only significant differences I could find were the compiler options of the native C++ libraries. Here are the options of the library that fails to link:
/Od /I "..\..\..\..\bin" /I "..\Include" /I "..\..\Core\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_USRDLL" /D "_VC80_UPGRADE=0x0600" /D "_WINDLL" /D "_AFXDLL" /D "_MBCS" /FD /EHsc /RTC1 /MDd /Yu"stdafx.h" /Fp".\Debug/NativeLibrary.pch" /Fo".\Debug/" /Fd".\Debug/" /W3 /nologo /c /ZI /TP /errorReport:prompt
Here are the corresponding options of the library that links OK:
/Od /I "..\..\..\..\bin" /I "..\Include" /I "..\..\Core\include" /AI "..\..\..\..\Bin" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "_USRDLL" /D "_VC80_UPGRADE=0x0600" /D "_WINDLL" /D "_AFXDLL" /D "_MBCS" /GF /FD /EHa /MDd /Yu"stdafx.h" /Fp".\Debug/AnotherNativeLibrary.pch" /Fo".\Debug/" /Fd".\Debug/" /W3 /nologo /c /Zi /TP /errorReport:prompt
(Very minor editing has been done on the options, to mask away any application-specific names, to preserve our trade secrets. All the actual compiler and linker options are intact.) Maybe the problem is somewhere here? JIP | Talk 18:56, 26 November 2012 (UTC)
I dont look for "parser online" or programs that parser sentence .I am looking for a program which I can use to signify sentence syntax above the words.thanks --82.81.171.245 (talk) 18:17, 24 November 2012 (UTC)
<font=Courier>
....A.................................A....A ....D.................................D....D A...J............................A....J....J R...E..........A............A....R....E....E T...C..........D............D....T....C....C I...T....N.....V......V.....V....I....T....T....N C...I....O.....E......E.....E....C....I....I....O L...V....U.....R......R.....R....L....V....V....U E...E....N.....B......B.....B....E....E....E....N ===================================================== A brown fox quickly jumped over the slow, lazy dog.
There's an html entity - "& nbsp;" is your friend --82.227.17.30 (talk) 20:08, 25 November 2012 (UTC)
P R A E A A D P D D A J O A J J R E A S R E E T C D I T C C I T N V V T I T T N C I O E E I C I I O L V U R R O L V V U E E N B B N E E E N --------------------------------------------------- A brown fox quickly jumped over the slow, lazy dog.
Click "show" to see what it would look like
|
---|
<tt> P<br> R<br> A E A A<br> D P D D<br> A J O A J J<br> R E A S R E E<br> T C D I T C C<br> I T N V V T I T T N<br> C I O E E I C I I O<br> L V U R R O L V V U<br> E E N B B N E E E N<br> ---------------------------------------------------<br> A brown fox quickly jumped over the slow, lazy dog </tt> |
Extended content
|
---|
P R A E A A D P D D A J O A J J R E A S R E E T C D I T C C I T N V V T I T T N C I O E E I C I I O L V U R R O L V V U E E N B B N E E E N --------------------------------------------------- A brown fox quickly jumped over the slow, lazy dog. |
Dear Wikipedians:
Is it just me or has anyone noticed that Lenovo ThinkCentre (desktop)'s eSATA port in the back is extremely unstable? I plugged in an eSATA hard drive with the hope of booting from it, but about half the time ThinkCentre failed to pick up the hard drive and it doesn't show up in the boot menu. By comparison, the front panel USB port marked "1" seems much more stable.
What gives?
Thanks,
70.31.154.178 (talk) 23:06, 24 November 2012 (UTC)