Quote: "is it possible to access exported variables in a dll from dbc"
hello caleb, Yes , its totally possible if the function in the dll returns something.
code for dll :
#define DARKDLL __declspec(dllexport)
DARKDLL int test() { int a=33;return a ; }
DARKDLL int test2(){ int b=33; return b; }
sample code for db:
load dll "testdll.dll",1
a=call dll(1,"@test$qv")
print a
suspend for key
delete dll 1
end
for your convienance I have uploaded a small file that you can keep for a reference
bluestar4~
---Missle Might - Hero Battles - Zillipede --- which do you like the best ?