Click here to Skip to main content
15,887,135 members
Home / Discussions / C#
   

C#

 
Generalnoob - using WinConsole - need to compile Pin
insurgentpyro4-Jul-04 6:19
insurgentpyro4-Jul-04 6:19 
GeneralRe: noob - using WinConsole - need to compile Pin
Mike Dimmick4-Jul-04 12:06
Mike Dimmick4-Jul-04 12:06 
GeneralRe: noob - using WinConsole - need to compile Pin
insurgentpyro4-Jul-04 16:40
insurgentpyro4-Jul-04 16:40 
GeneralDateViews-style data binding vs. ValueModel data binding Pin
zet4-Jul-04 1:01
zet4-Jul-04 1:01 
GeneralRe: DateViews-style data binding vs. ValueModel data binding Pin
Heath Stewart5-Jul-04 6:00
protectorHeath Stewart5-Jul-04 6:00 
GeneralC# grid control - headers Pin
Andy H4-Jul-04 0:06
Andy H4-Jul-04 0:06 
GeneralRe: C# grid control - headers Pin
Heath Stewart5-Jul-04 6:04
protectorHeath Stewart5-Jul-04 6:04 
GeneralD3DXSaveSurfaceToFile() is nowhere to be found. Pin
3-Jul-04 18:36
suss3-Jul-04 18:36 
This is really starting to piss me off. Someone please prove me wrong.

Here is a link to the function in DX 9 sdk.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/directx/graphics/reference/d3dx/functions/texture/d3dxsavesurfacetofile.asp

Following dll's are referenced in my program.
Microsoft.DirectX.dll
Microsoft.DirectX.Direct3D.dll
Microsoft.DirectX.Direct3DX.dll

The code:

using Microsoft.DirectX;
using Microsoft.DirectX.Direct3D;
.
.
//here trying to call D3DXSaveSurfaceToFile
//the parameters are wrong but thats not the problem
D3DXSaveSurfaceToFile();

The eror I get: "The name does not exist in MainFrom..." bla bla

In other words, I cannot locate the function. Where is it?
Please help.

If it helps, here is the link to what I am trying to do. The only problem the link is in C++.
http://www.codeproject.com/dialog/screencap.asp#And%20The%20DirectX%20way%20of%20doing%20it%20:

Thanks in advance.
GeneralRe: D3DXSaveSurfaceToFile() is nowhere to be found. Pin
leppie3-Jul-04 20:20
leppie3-Jul-04 20:20 
GeneralRe: D3DXSaveSurfaceToFile() is nowhere to be found. Pin
Heath Stewart5-Jul-04 6:09
protectorHeath Stewart5-Jul-04 6:09 
GeneralRe: D3DXSaveSurfaceToFile() is nowhere to be found. Pin
Nick Z.5-Jul-04 8:50
Nick Z.5-Jul-04 8:50 
GeneralJIT Debugging Pin
allegator3-Jul-04 18:14
allegator3-Jul-04 18:14 
GeneralRe: JIT Debugging Pin
Heath Stewart5-Jul-04 6:15
protectorHeath Stewart5-Jul-04 6:15 
Questionwhy i can't run a c# app on win 2k without .net framework installed? Pin
jl_araya3-Jul-04 12:32
jl_araya3-Jul-04 12:32 
AnswerRe: why i can't run a c# app on win 2k without .net framework installed? Pin
Stefan Troschuetz3-Jul-04 13:00
Stefan Troschuetz3-Jul-04 13:00 
AnswerRe: why i can't run a c# app on win 2k without .net framework installed? Pin
Tom Larsen3-Jul-04 19:59
Tom Larsen3-Jul-04 19:59 
Generalthanx! Pin
jl_araya4-Jul-04 12:51
jl_araya4-Jul-04 12:51 
Generalnoob question about classes Pin
pidhead3-Jul-04 9:20
pidhead3-Jul-04 9:20 
GeneralRe: noob question about classes Pin
Colin Angus Mackay3-Jul-04 12:18
Colin Angus Mackay3-Jul-04 12:18 
GeneralRe: noob question about classes Pin
pidhead3-Jul-04 12:58
pidhead3-Jul-04 12:58 
GeneralRe: noob question about classes Pin
Colin Angus Mackay3-Jul-04 15:38
Colin Angus Mackay3-Jul-04 15:38 
QuestionAfter close MemoryStream, how to open it to read again? Pin
god4k3-Jul-04 7:17
god4k3-Jul-04 7:17 
AnswerRe: After close MemoryStream, how to open it to read again? Pin
Steven Campbell3-Jul-04 7:52
Steven Campbell3-Jul-04 7:52 
QuestionRetrieve machine names and/or IP's ..? Pin
Adel83k3-Jul-04 6:36
Adel83k3-Jul-04 6:36 
AnswerRe: Retrieve machine names and/or IP's ..? Pin
Heath Stewart5-Jul-04 6:17
protectorHeath Stewart5-Jul-04 6:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.