Questions tagged [platform-sdk]

33 questions
20
votes
5 answers

What's with "#ifdef _MAC" in Windows header files?

I was browsing through Windows's Platform SDK header files (what a life, right?), and I noticed many places contained references to the preprocessor symbol _MAC. For example: // WinUser.h line 1568 /* * Message structure */ typedef struct tagMSG…
zildjohn01
  • 11,339
  • 6
  • 52
  • 58
13
votes
5 answers

Where to download windows xp platform SDK?

I want to compile a code that I have from long time ago using VS express 2005. The code needs windows.h which is not part of VS 2005 and I found that I need to install platform SDK. But I cannot find platform SDK for windows XP. Where can I…
mans
  • 17,104
  • 45
  • 172
  • 321
8
votes
4 answers

Need Platform SDK for VC6

Does anyone know where I can download the last Platform SDK to work with VC6? The links I could find by Googling all seem to be dead.
sashoalm
  • 75,001
  • 122
  • 434
  • 781
4
votes
1 answer

What is different between uppercase and lowercase data type?

For Example int and INT. About this two i just know int is the fundamental type and INT is windows data type both gain 4 bytes in memory and INT is use with window API. But i don't understand what is the major and proper different between both of…
Mike
  • 94
  • 1
  • 10
4
votes
3 answers

VC++ Building directshow baseclasses

I am a newbie to DirectX SDK, Platfrom SDK and DirectShow. I downloaded latest Platform SDK and DirectX SDK August'09. I tried to build sample project in folder: Microsoft Platform SDK\Samples\Multimedia\DirectShow\Capture\PlayCap\ And had…
peterdemin
  • 516
  • 8
  • 26
3
votes
2 answers

LNK1104: cannot open file 'rpcndr4.lib'

I was working in VS2005 in WindowsXP 64-bit platform and now I am converting all my projects in to VS2010 in Windows7 64-bit. While building one of my project I am getting a link error "LNK1104: cannot open file rpcndr.lib". The project builds in…
2
votes
1 answer

_Problem with generating PASCAL bindings file from PSDK IDL file

I was trying to generate type library from one of PSDK shipped IDL files, but whilst midl session completes successfully (ERRORLEVEL 0) no .tlb file was generated. Currently i do not have any idea what wrong. Please advise. Here is a verbose output…
OnTheFly
  • 2,059
  • 5
  • 26
  • 61
2
votes
2 answers

Errors while Compiling in Visual C++ 2008, after installation of MS Platform SDK

I was using OpenCV and after I installed Microsoft Platform SDK to work with OpenGL these errors are showing up when trying to compile my opencv project. 1>d:\program files\microsoft platform sdk for windows server 2003 r2\include\winnt.h(2645) :…
coder9
  • 1,571
  • 1
  • 27
  • 52
2
votes
1 answer

Visual Studio 6.0 C++ GlobalMemoryStatusEx (Old SDK Needed)

I've inherited a C++ project whose code lives on an XP SP3 virtual machine (yay). For some reason, even though afxwin.h is included (and I included winbase.h for good measure), when I compile the application, I get a bunch of errors, the root ones…
Dan Champagne
  • 890
  • 2
  • 17
  • 37
2
votes
1 answer

How to redirect stderr on launch *without* redirecting stdin and stdout?

In Windows, I'd like to use CreatePipe and CreateProcess to launch a process, and capture the text written to stderr. There is sample code at MSDN here: http://msdn.microsoft.com/en-us/library/windows/desktop/ms682499(v=vs.85).aspx My problem is I…
Die in Sente
  • 9,546
  • 3
  • 35
  • 41
1
vote
1 answer

Problem compiling Platform SDK program

I'm trying to compile the example from here; http://msdn.microsoft.com/en-us/library/ms682619(VS.85).aspx I've installed the Platform SDK, but I'm getting these errors; Error 1 error LNK2019: unresolved external symbol…
Chris McAtackney
  • 5,192
  • 8
  • 45
  • 69
1
vote
0 answers

Access IntelliJ UI Components in Platform SDK

I am developing an IntelliJ Plugin with the Platform SDK. I need to access the UI Swing Elements of the IDE to get their screen location. I know who to do this for the File Editor: FileEditor currentEditor =…
Jan R
  • 23
  • 4
1
vote
1 answer

How will ILCreateFromPath behave when error checking fails?

In the PSDK reference for ILCreateFromPath there is no information how the function behaves when it fails (and, more importantly, how to get extended error information). What behavior should I expect, and how can I get that error information?
Premature Optimization
  • 1,917
  • 1
  • 15
  • 24
1
vote
1 answer

Compiler errors in WINNT.H after retargeting solution to latest SDK (10.0.18362)

After retargeting my solution to SDK version 10.0 (latest installed version) (10.0.18362) and upgrading my projects to platform toolset v142, I am receving compile-time errors in winnt.h as follows: ...\Windows…
ladenedge
  • 13,197
  • 11
  • 60
  • 117
1
vote
0 answers

Importing a library to into Intellij Idea platform sdk

I am developing a plugin using Intellij Idea using platform SDK! I want to import the JavaParser library available at https://github.com/javaparser/javaparser so that I can parse java source code. The importing can be done using gradle and maven…
1
2 3