KK_Window() woes

Just starting out? Need help? Post your questions and find answers here.
rootuid
User
User
Posts: 48
Joined: Sat Nov 23, 2013 11:46 am

KK_Window() woes

Post by rootuid »

I'm attempting to run some code found on the internet on a MacBook Air M2 with Purebasic 6.11 LTS.

The code was written in 2023 for PureBasic 5.73 LTS

Code: Select all

InitSound()
UsePNGImageDecoder()
Global yoff=40

Global xmax=640-16,ymax=128+12,ymin=52+4

KK_Window(640,480)
......
When attempting to compile, PureBasic complains:

Code: Select all

KK_Window() is not a function array, list, map or macro.
I'm guessing this KK_Window() method was depreciated but I couldn't find anything on google. Or perhaps it's a windows only function()?
SMaag
Enthusiast
Enthusiast
Posts: 325
Joined: Sat Jan 14, 2023 6:55 pm
Location: Bavaria/Germany

Re: KK_Window() woes

Post by SMaag »

I'm guessing this KK_Window() method was depreciated but I couldn't find anything on google. Or perhaps it's a windows only function()?
No it is a user defined Procedure.
In your case it is not existing!
rootuid
User
User
Posts: 48
Joined: Sat Nov 23, 2013 11:46 am

Re: KK_Window() woes

Post by rootuid »

Now that you mention it, I can see the procedure in a compiled library but I don't see where it's imported.

thanks for your help!
User avatar
jacdelad
Addict
Addict
Posts: 2013
Joined: Wed Feb 03, 2021 12:46 pm
Location: Riesa

Re: KK_Window() woes

Post by jacdelad »

Where did you find the code?
Good morning, that's a nice tnetennba!

PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
User avatar
Kiffi
Addict
Addict
Posts: 1504
Joined: Tue Mar 02, 2004 1:20 pm
Location: Amphibios 9

Re: KK_Window() woes

Post by Kiffi »

looks like this is just a simplification of the OpenWindow() call
KrazyK wrote:[...]
The custom (Windows only) userlibraries are:
KK_Window: Used because i'm lazy at typing openwindow.....blah, blah, blah
[...]
Hygge
Post Reply