Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Strange error using sparky DLL

Author
Message
FPSC Scripts
18
Years of Service
User Offline
Joined: 2nd Oct 2006
Location: Curacao
Posted: 2nd Jul 2007 08:17
Hi guys,i was going to try out the Sparky dll and i followed some examples and some commands and then got to my gamemaking,but when i tried this code
i get a error saying:" include at least on memblock in your code "
So what am i dong wrong,and whats a memblock?

i'm the M king.
Crit
18
Years of Service
User Offline
Joined: 24th May 2006
Location:
Posted: 2nd Jul 2007 15:17
Just put something like

at the top of your code. Memblocks are a way to access chunks of memory directly. I think Sparky's dll uses certain functions associated with the memblocks, and putting that in your code ensures those functions get compiled into your executable file.
Cash Curtis II
19
Years of Service
User Offline
Joined: 8th Apr 2005
Location: Corpus Christi Texas
Posted: 2nd Jul 2007 15:42
You don't even have to execute the code. It could be like this...



Just stick that somewhere and ignore it, you never need to run it.

All that tells DBP is that you're using a memblock command, so it needs to include the memblock DLL in the executable that it builds. Sparky's needs access to that DLL in order to work, but it can't include it itself.


Come see the WIP!
FPSC Scripts
18
Years of Service
User Offline
Joined: 2nd Oct 2006
Location: Curacao
Posted: 2nd Jul 2007 16:29
Thank you all

i'm the M king.

Login to post a reply

Server time is: 2024-11-25 15:47:48
Your offset time is: 2024-11-25 15:47:48