|
Here you are the char** the elegant way:
char **pp;
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
what is this file and why I have it in system32/ on one XP machine but not on the other machine ?
does it comes with DirectX runtime / SDK ?
|
|
|
|
|
have you ever thought that one application could have installed it by any chance ?
|
|
|
|
|
|
Hanan888 wrote: does it comes with DirectX
Yes.
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Yeah each file that has d3dx*.dll is with DirectX.
|
|
|
|
|
That is directx 9 component, may be you have installed directx runtime. There are other possibility since windows XP shipped with directx 8 by default so you may not find in one machine while windows XP SP2 updates to directx 9c has this file. I mean may be one machine is Windows XP SP2 or higher while other is lower. see here [^]
|
|
|
|
|
It is part of DirectX, for some reason MS changed the way they update DX, when you apply an update, instead of updating the existing dlls, they simple add another one.
|
|
|
|
|
Hi all,
I am a VC2005 programmer. I have just started working on vista, my problem is when i run my program it gives an error "The requested operation requires elevation". my program compiles correctly but gives error at this time.
Can anybody help in this
Thanks in advance
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
|
We are developing a game using DirectX9.
We are trying to answer the question - does XP users already have DirectX9 installed or to we need to bring it with us ?
|
|
|
|
|
Usually (commercial) games provide appropriate DirectX setup.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
you're kidding right ?
XP (even SP3 !) doesn't provide any version of DirectX.
YOU have to install it when installing your game.
|
|
|
|
|
toxcct wrote: XP (even SP3 !) doesn't provide any version of DirectX.
No, Most of the windows after windows 98 is shipped with default directX runtime. DirectX is a crucial system component, for example Windows Media Player is based on DirectX renderer. Windows XP shipped with DirectX 8.1, while SP2 updates to DirectX 9c.
see this
"DirectX 9c 0x00000387 4.09.00.0903. This is an incremental update, which includes DirectX 9b updates, plus additional updates for Windows XP Service Pack 2 (SP2). This is the default version for SP2."
and
" DirectX 8 versions do not install on Windows XP. Windows XP shipped with DirectX 8.1 and the DirectX 8.1a and DirectX 8.1b updates were included in Windows XP Service Pack 1"
from [DirectXSetupGetVersion^].
for a list of Directx version released from win98 to win vista see here [DirectX^]
modified on Thursday, May 22, 2008 1:42 PM
|
|
|
|
|
Of course it depends to users for example I install Directx myself.
|
|
|
|
|
You could use of DirectX10[^].
(why 1) Directx10 is not good!?
modified on Thursday, May 22, 2008 12:46 PM
|
|
|
|
|
see here[DirectXSetupGetVersion^], winxp shipped with default directx 8.1, while windows XP SP2 updates to directx 9c. See the API DirectXSetupGetVersion which gets the version of directx currently installed in the system, if that matched or higher you can run your application or install programmatically or ask user to install the required directx version runtime.
[Added]
And DirectX SDK has samples demonstating these (1 )DXInstall(DXInstall is an example of how to use DirectXSetup interfaces to install the DirectX subsystem and DirectX drivers) (2) GetDXVer (to get the version of directx installed)
[/Added]
modified on Thursday, May 22, 2008 1:35 PM
|
|
|
|
|
Hi all,
I am trying to convert a API that's used in a MFC app, i want to convert this to .net. But i think it will make the job easier to strip out the MFC stuff and replace it with ANSI C++. I want to get it all working in a console app, so the MFC stuff is causing all the problems!
Well i think?
In the code i have.....
CTime time;
CTime datavalue;
CTime is a MFC datatype, this i believe is different from the ctime method in the time.h.
Is there a ANSI C++ class that will replace this?
I thought about this a wrote a class like this....
class Ctime
{
public:
time_t GetUTCTime(void);
};
time_t Ctime::GetUTCTime()
{
time_t UTCTime;
UTCTime = time(NULL);
return UTCTime;
}
its missing a pointer, because i've spent so long in the .net world i've forget how to write C. I'm not sure if this will work anyway but at least i'll have the basic class replacement.
thanks..
|
|
|
|
|
Fu Manchu wrote: I am trying to convert a API that's used in a MFC app, i want to convert this to .net
You confused me if you're going.NET or not.
If you do, you have all the time functions you'll need in .NET won't you ?
|
|
|
|
|
eh,
you have int,double and string as well but you still need to make the existing code work, compile and build before you can convert to .Net
just because .net as these function, isn't an answer you've missed the point!
The existing code creates an instance of Ctime which is a MFC function, if i dont use this or an equivalent method, how can leverage .net time functions in C++
|
|
|
|
|
1.create a transparent window.
2.grasp screen software can grasp the transparent window.
3.i want to hook the notepad and let the transparent window on top of notepad.
|
|
|
|
|
1. OK.
2. Good.
3. Luck.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
Oh your answer is very compressed! (maybe its mp5 ).
|
|
|
|
|
Hamid. wrote: Oh your answer is very compressed! (maybe its mp5 ).
MP5 .. i am thinking MPEG 8
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
ZhiLiangLin wrote: 1.create a transparent window.
See CreateWindow() API
ZhiLiangLin wrote: grasp screen software can grasp the transparent window.
ZhiLiangLin wrote: 3.i want to hook the notepad and let the transparent window on top of notepad.
What would be the use of having a transparent window on top of notepad. Why do you want to do this. Do you intend to capture the user entered text and display it in your window instead of notepad?
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|