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.

DarkBASIC Professional Discussion / DarkClouds crash?

Author
Message
ArchMage81
User Banned
Posted: 26th Jul 2010 16:35
Hi all, for security reasons I want to make it harder to hack into my program, so I wish to call DarkCloud functions from the dll itself rather than just the function call.

Why is this crashing?

I put DarkCloud.dll in the same folder as my project because i want to use call dll.



thanks!
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 27th Jul 2010 23:33 Edited at: 27th Jul 2010 23:55
Why on earth do you think that makes it more secure?

Anyway, I don't see any calls to the Constructor, ReceiveCoreDataPtr, PreDestructor or Destructor. Without those, the DLL won't be initialised or shutdown correctly.

Then you will also be missing calls to GetNumDependencies and GetDependencyID, and maybe even ReceiveDependenciesHinstance that allow communication between the runtime and the plug-in of dependencies between that plug-in and other plug-ins so that the compiler can include those dependencies and the runtime can initialise them.

Finally, assuming that this is an encrypted DLL anyway, how do you expect the runtime to decrypt the DLL?

Basically, don't do that. Do it properly. Use the proper commands in the standard way.

[EDIT]
Is this yours too? : http://forum.thegamecreators.com/?m=forum_view&t=170215&b=1
Same question, same IP, same reason for asking.

Why do you need two accounts?

Mugen Wizardry
User Banned
Posted: 28th Jul 2010 00:03
Because I signed in using my dad's account to get a serial code for one of my plugins

I signed up with his account a long time ago, but now that im old enough, i can use my account

CHECK OUT SOME MUSIC FROM MY NEW TECHNO CD! TECHNOKINESIS
http://www.youtube.com/watch?v=4a8KedfgVv0
ALSO, CHECK OUT MY NEW TECHNO CD! http://www.imageposeidon.com/
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 28th Jul 2010 01:15
Actually I take it as a compliment if someone even downloads my game... if they want to hack it they must be really impressed!!

Login to post a reply

Server time is: 2026-07-25 05:32:50
Your offset time is: 2026-07-25 05:32:50