|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
DriverHeaven Newbie
Join Date: Feb 2003
Posts: 13
Rep Power: 0 ![]() |
kxapi.h error, LGPUID?
Hi!
Since using the kxctrl program isn't sufficient for me (too slow), I try accessing kx through the SDK. But whenever I link a program against the kxapi.h, I get an error in "kxi.h", in line 285 (VC Errors C2146 and C2501, "Missing ';' before 'get_dsound_guid', and something like 'LPGUID': missing "Speicherklasse" (~ memory class)'...? Any ideas? I tried directly accessing the kxapi.dll with perl, but you cannot (easily) create a new instance of iKX, which you always need prior to accessing any functions... Thanks! Bye, Cradle |
|
|
|
|
|
|
|
DriverHeaven Newbie
Join Date: Feb 2003
Posts: 13
Rep Power: 0 ![]() |
Hi!
I installed DirectX SDK (man, I love downloading at work... 1.75 MB per second from Microsoft.com), since LPGUID seems to be something from DirectX, but that didn't help. I got the stuff I want to use to work for me by commenting out the line which causes the compilation error, but still, maybe there is something wrong? Bye, Arndt |
|
|
|
|
|
#3 |
|
h/h member-shmember
Join Date: Dec 2002
Location: Evil Empire
Posts: 2,606
Rep Power: 66 ![]() ![]() ![]() ![]() ![]() ![]() |
as i remember you should include 'windows.h' before kxapi.. ("LPGUID" is declared in one of standard windows headers)
__________________
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|