the WinLIFT64.dll can be downloaded from http://www.objreader.com/index.php?topi ... 03#msg6503, you probably need to register in order to download
the WinLIFT.bi can be found at viewtopic.php?p=307637#p307637
I was trying to determine how to deal with the functions that return a WCHAR ptr
the following test prints the version and after a second or two it crashes
Code: Select all
#define UNICODE
#define _WIN32_WINNT &h0602
#include "WinLIFT.bi"
#inclib "WinLIFT64"
dim v as wstring ptr = new WCHAR[16]
v=skVersion()
? *v
Delete[] v
/'
7.00
------------------
(program exited with code: -1073740940)
'/
Code: Select all
#include "WinLIFT.h"
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#pragma comment(lib,"WinLIFT64.lib")
int main(void)
{
WCHAR* v = new WCHAR[16];
v=skVersion();
//printf("%ls\n", v);
std::wcout << v << std::endl;
delete[] v;
return 0;
}
when compiling with the Intel compiler the exe prints the number then pauses a few seconds and then ends without crash, but the pause looks suspicious
icx test-winlift.cpp -o test-winlift