|
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_
|
|
|
|
|
1.CreateWindow()-can create window ,but i don't know how to implement the transparent effect.
2.i have implemented the transparent window,but the Grab software can't grab my transparent window.And,i don't want to use the API 'SetLayeredWindowAttributes' to implement the transparent effect.because the func is used for win2k and winxp.
3.i want to let the transparent window become watermark
|
|
|
|
|
i did the following code for showing progress and status bar and while running the code the progress bar alone gets displayed first with the status pane empty,and the status bar gets displayed after that finally,i need the statusbar to display "scanning",along with progressbar,what should be done????
m_bar.Create(this);
m_bar.SetIndicators(indicators,2);
CRect rect;
GetClientRect(&rect);
m_bar.SetPaneInfo(0,progressbarn, SBPS_NORMAL,rect.Width()-100);
m_bar.SetPaneInfo(1,progressbarm,SBPS_STRETCH ,0);
RepositionBars(AFX_IDW_CONTROLBAR_FIRST,AFX_IDW_CONTROLBAR_LAST,
progressbarn);
CString s;
s="scanning";
m_bar.SetPaneText(0,s);
pPrgCtrl->Create(WS_CHILD | WS_VISIBLE, CRect(10, 10, 288, 35), this,0x16);
pPrgCtrl->SetParent(&m_bar);
CRect crPaneRect;
m_bar.GetStatusBarCtrl().GetRect( 1, &crPaneRect );
crPaneRect.DeflateRect( 0, 2, 2, 2 );
pPrgCtrl->MoveWindow( crPaneRect );
while(condition==success)
{
while(pPrgCtrl->GetPos()<100)
{
pPrgCtrl->StepIt();
}
break;
}
Raja
|
|
|
|
|
Hi...
I am trying to create a log file which should contain..
///////////////////////////////////////
TSE0001
TSW0001
TSI0001
/////////////////////////////////////////
Then i will find the particular string "TSW".
It should increment as
TSW0002
but i am getting as TSW0004..plz help me...
my code is..
/////////////////////////////
switch(cType)
{
case 'W':
{
int iTSWCount = 0;
while(!inFile.eof())
{
inFile.getline(aLine,1000);
int iWPos = strLine.Find("TSW",0);
if(iWPos!= 0)
{
iTSWCount++;
}
}
iCount = iTSWCount;
logfile<<"TSW000";
break;
}
case 'E':
{
int iTSECount = 0;
while(!inFile.eof())
{
inFile.getline(aLine,1000);
int iWPos = strLine.Find("TSE",0);
if(iWPos!= 0)
{
iTSECount++;
}
}
iCount = iTSECount;
logfile<<"TSE000";
break;
}
case 'I':
{
int iTSICount = 0;
while(!inFile.eof())
{
inFile.getline(aLine,1000);
int iWPos = strLine.Find("TSI",0);
if(iWPos!= 0)
{
iTSICount++;
}
}
iCount = iTSICount;
logfile<<"TSI000";
break;
}
///////////////////////////////////////////
THANK YOU
MANJU
Hi..
I am Mnaju.I have Completed my B.E Computers Science.Lokking for a job.I am interested in VC++
manju
|
|
|
|
|
What is cType? What is inFile? ...
1. You should provide the code, that is "relevant" to your problem. Nothing more, nothing less.
2. Please enclose your code within "code block". (Select your all your code and then click on the code block option in the formatting pane). This will make your code more readable.
OK - Have you debugged to see why is your program not producing desired results?
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
Rajesh R Subramanian wrote: 1. You should provide the code, that is "relevant" to your problem. Nothing more, nothing less.
2. Please enclose your code within "code block". (Select your all your code and then click on the code block option in the formatting pane). This will make your code more readable.
3. Read the posting guidelines
|
|
|
|