Mail Archives: djgpp/1998/12/12/13:33:34
Arthur wrote:
>
> http://people.montana.com/~bowman/Rsxntdj/rsxntdj.htm contains a (partial?)
> patch for the SDK.
Currently, the patches cover most common API calls, mmsystem, and
DirectX. For OpenGL, glu.h has the line, #include <GL/gl.h>, and many
demo programs assume a GL directory. You can either edit the files, or
create the directory and specify the path. I briefly experimented with
the glaux samples from MSVC 5.0, and it promptly locked up the system.
The OpenGL examples where you create a window for messaging and to get
the rc work fine. The required .dll's are on any Win9x system, and can
be turned into .a lib files via makelib.
Patching is not a big deal, and looking at the .dif files will give you
the general idea. The principle requirement at the moment is the
availabilty of a suitable .dll to import. The only snag I've hit so far
is with HTMLHelp; the required interface to IE seems to only exist in a
MS static library.
If you cannot get the Platform SDK, the DRDX package, which I link to on
the above page, includes a richer set of headers, though they are not
the latest issue. There is also an improved makelib, though I couldn't
get it to import the data intensive dll's either. The work around is to
build libguid.a from the sources on my site, or just cut and paste the
UUIDs as required. I've tested this against the DirectX interfaces, and
assume it should work for any COM object. I did find it necessary to
take the address of the RIID in QueryInterface.
- Raw text -