Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AHKv2] GetTable and NULL values #4

Open
kczx3 opened this issue Mar 11, 2019 · 1 comment
Open

[AHKv2] GetTable and NULL values #4

kczx3 opened this issue Mar 11, 2019 · 1 comment

Comments

@kczx3
Copy link

kczx3 commented Mar 11, 2019

Hi there! 👋

I am using this class with a few tweaks in AHK v2. I have an example DB where some rows have NULL in some columns. The code here appears to fail within GetTable though.

It seems that NumGet(Table+0, Offset, "UPtr") is returning 0 for a column with a value of NULL and StrGet fails with "Parameter #1 is not valid" in AHK v2. Wondering if you had thoughts why. Is this just because v2 has more strict type checking for parameters?

@e-volusian
Copy link

e-volusian commented May 24, 2019

@kczx3 can you share your v2 script? I can't find either in this repo or ahk forums.

Disregard. I see your script at https://github.com/kczx3/SQLiteViewer/blob/master/lib/Class_SQLiteDB.ahk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants