Hey guys. Sorry if I'm late.
I seem to get uknown function even in GM81 for db_column_get_name_from_pos()
That's my fault, I shouldn't have used that function in the example, it's supposed to be private (hidden). In other words, it does exist in the extension, but it can only be used by the extension. It seems GM 8.1 lets you use hidden functions outside the extension (it just doesn't list them in the code completion box), but GM:Studio doesn't, and that's the way it should be. I'll fix that in the next version but for now, if you want to fix the extension, you can do the following:
1) obj_example, Glob Left Pressed, change line 31 to these two lines:
column = db_column_get_from_pos(table, n);
value[n] = get_string(string(db_column_get_name(table, column)), string(db_column_get_default(table, column)));
2) obj_example, Glob Right Pressed, change line 73 to the same two lines (above).
Now, some modules of GM:Studio, including the new Windows C++ runner, don't support extensions yet. I think the only one that does is HTML5. So for the others, you won't be able to use the extension for now unless, as grugin said, you import the scripts instead (which are included in the ZIP: gmdb103_scripts.gml). Unfortunately it is kinda hard to import scripts using that format in GM:Studio (for some reason they removed the "import scripts" feature), so what I recommend is do it in GM8.1 (Scripts > Import Scripts), then import the .gm81 file in Studio. You will have to do two other things to make it work:
1) Call db_init() before doing anything else (normally, the extension does that automatically).
2) Add the following constants (Resources > Define Constants...):
Let me know if you have any problems. I plan to release a new version of the extension once Studio gets out of Beta and extensions are fully supported.
Yes it works but you must import the gml file not the gex if you want to use it in html5 mode. After that, you must recreate the arborecense and comment all db_log call because GMS doesn't have the debug_mode constant.
Are you sure? For me, debug_mode shows up in the code completion box in Studio, and it doesn't seem to break anything (at least not in HTML5).