NO

Author Topic: fSDK© - Frankie's SDK for PellesC  (Read 3230 times)

Offline Robert

  • Member
  • *
  • Posts: 182
Re: fSDK© - Frankie's SDK for PellesC
« Reply #15 on: November 12, 2016, 08:14:40 pm »
Hi Frankie and TimoVJL:

I was using Version 8.00.60 (Win64).

I just uninstalled everything, Pelle's C and fSDK and did a fresh reinstall with new downloads.

All is now working.

It seems that my archived copy of the Version 8.00.60 (Win64) installer has been corrupted as the newly downloaded install properly compiled the previous fSDK samples that I was complaining about.

Thank you again for your help. This is really excellent work.


Offline frankie

  • Global Moderator
  • Member
  • *****
  • Posts: 1612
Re: fSDK© - Frankie's SDK for PellesC
« Reply #16 on: November 12, 2016, 10:22:13 pm »
Thanks again Robert.
I'm happy that everything is OK  :D
Please let me know if you found any problem.  :P

Offline frankie

  • Global Moderator
  • Member
  • *****
  • Posts: 1612
Re: fSDK© - Frankie's SDK for PellesC
« Reply #17 on: November 13, 2016, 11:20:07 pm »
13/Nov/2016 - Fixed include files
              Added extended support DX3DEx Headers and libraries and also 2 new samples Midiplayer and a directx sample

Offline JohnF

  • Member
  • *
  • Posts: 1114
    • http://www.johnfindlay.plus.com/
Re: fSDK© - Frankie's SDK for PellesC
« Reply #18 on: November 14, 2016, 09:45:12 am »
Nice job Frankie.

Here's one error.
================
B:\PellesC\Include\Win\windef.h(305): error #1012: #endif with no #if.
*** Error code: 1 ***
Done.
================

John

Offline frankie

  • Global Moderator
  • Member
  • *****
  • Posts: 1612
Re: fSDK© - Frankie's SDK for PellesC
« Reply #19 on: November 14, 2016, 10:15:11 am »
Thanks John.
Fixed!  ;)

Offline frankie

  • Global Moderator
  • Member
  • *****
  • Posts: 1612
Re: fSDK© - Frankie's SDK for PellesC
« Reply #20 on: November 20, 2016, 10:11:04 pm »
20/Nov/2016
  • Fixed some include files.
  • Added more DirectX headers and libraries
  • Added more samples

Offline frankie

  • Global Moderator
  • Member
  • *****
  • Posts: 1612
Re: fSDK© - Frankie's SDK for PellesC
« Reply #21 on: November 26, 2016, 09:10:19 pm »
New version V.0.1.0.5 - 26/Nov/2016
  - Fixed former bugs.
  - Added more headers
  - Added DirectX support for DX8, DX9, DX10 and DX11
  - Added redistribuitable runtime for DirectX 8, 9, 10, 11
  - Experimentally added support and runtime for OpenGL (FreeGlut).
  - Modified Setup for minimal, full and custom installation
  - Added more Directx and OpenGl samples
Downloadable from GitHub.

Offline frankie

  • Global Moderator
  • Member
  • *****
  • Posts: 1612
Re: fSDK© - Frankie's SDK for PellesC
« Reply #22 on: December 04, 2016, 07:57:41 pm »
04/Dec/2016 -- V.0.1.1.0 (04.Dec.2016)
  - Added more DX8 headers and libraries
  - Added DX8 Donuts3D demo
  - Fixed some bugs in headers

Offline frankie

  • Global Moderator
  • Member
  • *****
  • Posts: 1612
Re: fSDK© - Frankie's SDK for PellesC
« Reply #23 on: December 10, 2016, 10:54:14 pm »
10/Dec/2016 -- V.0.1.1.1 (10.Dec.2016)
  - Fixed EXTERN_GUID macro
  - Fixed many headers for system include uniformity
  - Minor aesthetic fixes
  - Added Media Foundation demo: capture video to a file

Offline Robert

  • Member
  • *
  • Posts: 182
Re: fSDK© - Frankie's SDK for PellesC
« Reply #24 on: December 11, 2016, 03:17:17 am »
Hi frankie:

Thank you for the new version 10/Dec/2016 -- V.0.1.1.1 (10.Dec.2016).

The version and date information shown on the installer title bar during installation are outdated.



Offline frankie

  • Global Moderator
  • Member
  • *****
  • Posts: 1612
Re: fSDK© - Frankie's SDK for PellesC
« Reply #25 on: December 11, 2016, 01:15:24 pm »
Thanks Robert.  :)
I'll fix it.  :P

Online TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 1641
Re: fSDK© - Frankie's SDK for PellesC
« Reply #26 on: December 11, 2016, 01:25:45 pm »
Thank's for update.

small example to list versions of some dll's in system folders
Code: [Select]
#define WIN32_LEAN_AND_MEAN
#include <stdio.h>
#include <windows.h>
#include <winver.h>

#pragma comment(lib, "version.lib")
#pragma comment(lib, "user32.lib")
#pragma comment(lib, "msvcrt.lib")

void __cdecl mainCRTStartup(void)
{
int __cdecl main(int argc, char **argv);
void __cdecl exit(int status);
exit(main(0,0));
}

LPSTR GetVersionInfo(TCHAR *szFileName, TCHAR *szValue, TCHAR *szBuffer, ULONG nLength)
{
LPSTR csRet;
DWORD len;

csRet = NULL;
len = GetFileVersionInfoSize(szFileName, 0);
if (len) {
csRet = NULL;
LPVOID ver = LocalAlloc(LPTR, len);
if (ver != NULL)
{
DWORD *codepage;
char fmt[256];
PVOID ptr = 0;
if (GetFileVersionInfo(szFileName, 0, len, ver))
{
if (VerQueryValue(ver, "\\VarFileInfo\\Translation", (LPVOID) & codepage, &len))
{
wsprintf(fmt, "\\StringFileInfo\\%08x\\%s", (*codepage) << 16 | (*codepage) >> 16, szValue);
if (VerQueryValue(ver, fmt, &ptr, &len))
{
lstrcpyn(szBuffer, (TCHAR *)ptr, min(nLength, len));
csRet = szBuffer;
}
}
}
LocalFree(ver);
}
}
return csRet;
}

int main(int argc, char **argv)
{
WIN32_FIND_DATA fdFile;
HANDLE hFile;
TCHAR *szMask[] = {TEXT("c:\\Windows\\system32\\d3*.*"),TEXT("c:\\Windows\\sysWOW64\\d3*.*")};
TCHAR szTmp[MAX_PATH];

for (int i = 0; i < 2; i++) {
lstrcpy(szTmp, szMask[i]);
hFile = FindFirstFile(szTmp, &fdFile);
szTmp[20] = 0;
if (hFile != INVALID_HANDLE_VALUE)
do {
if ((fdFile.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)
!= FILE_ATTRIBUTE_DIRECTORY) {
TCHAR szVer[100];
lstrcpy(&szTmp[20], fdFile.cFileName);
printf("%s %s\n", szTmp, GetVersionInfo(szTmp, "ProductVersion", szVer, sizeof(szVer)));
}
} while (FindNextFile(hFile, &fdFile));
FindClose(hFile);
printf("\n");
#ifndef _WIN64
break;
#endif
}
return 0;
}
May the source be with you

Offline frankie

  • Global Moderator
  • Member
  • *****
  • Posts: 1612
Re: fSDK© - Frankie's SDK for PellesC
« Reply #27 on: December 11, 2016, 10:55:04 pm »
I have fixed release version.  :P
I have added 2 more samples.  ;D
The first is fMM library to handle movie reproduction using DirectShow, containing:
  • a static version for 32/64bits (fMMlib.lib/fMMlib64.lib)
  • a dynamic version for 32/64bits (fMMdll.dll/fMMdll64.dll)
  • a Demo player using static library for 32/64bits (fMMPlayer.exe/fMMPlayer64.exe)
  • a Demo player using dynamic library for 32/64bits (fMMPlayUsingDll.exe/fMMPlayUsingDll64.exe)
  • a Demo to play a video from a console application using static library for 32/64bits (fMMConsolePlayer.exe/fMMConsolePlayer64.exe)

Another sample, PlayCap to show how to reproduce a captured video.

Offline frankie

  • Global Moderator
  • Member
  • *****
  • Posts: 1612
Re: fSDK© - Frankie's SDK for PellesC
« Reply #28 on: January 28, 2017, 06:55:30 pm »
New version:
- 28/Gen/2017 -- V.0.1.2.0 (28.Gen.2017)
  - Fixed symbol 'THREAD_MODE_BACKGROUND_BEGIN' in winbase.h (discovered by Grincheux).
  - Added symbol '__FSDK__' equated to the current version in hex (0x00010200), to be used for conditional
     compilations to discriminate use of fSDK or standard PellesC SDK (where of course __FSDK__ is not defined).
  - Fixed minor bugs in headers and made cosmethic changes.
« Last Edit: January 30, 2017, 11:17:46 am by frankie »

Offline JohnF

  • Member
  • *
  • Posts: 1114
    • http://www.johnfindlay.plus.com/
Re: fSDK© - Frankie's SDK for PellesC
« Reply #29 on: January 30, 2017, 08:44:28 am »
Thanks Frankie.

John