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.

Dark GDK / Want to use void DarkGDK(int argc, char **argv);

Author
Message
Apfelsosse
13
Years of Service
User Offline
Joined: 5th Jul 2010
Location:
Posted: 5th Jul 2010 19:07
Hi folks,
I tried to get values with the default parameters but DarkGDK give me an error back:

Quote: "1>darksdk.lib(DarkSDK.obj) : error LNK2019: unresolved external symbol "void __cdecl DarkGDK(void)" (?DarkGDK@@YAXXZ) referenced in function _WinMain@16"


So i thought i could ask you how i could avoid that.
Is there any solution?

Sry for my bad english but it's a long time since i posted in an english forum.
Cuddle Bunniezzz 12
15
Years of Service
User Offline
Joined: 14th Jan 2009
Location: Buffalo, NY
Posted: 5th Jul 2010 19:55
You can't really do that.

You seen, "void DarkGDK()" is just a function where you're DarkGDK code is supposed to go. What you are doing is just defining the DarkGDK function. And somewhere else in the program, there is still a main function but it follows like this:



You follow?

http://ref.darkgdk.us/ <- Online DarkGDK Refernece. More content coming soon.
Apfelsosse
13
Years of Service
User Offline
Joined: 5th Jul 2010
Location:
Posted: 5th Jul 2010 21:25
Ahh, yea i got it.
but if i would search it and would find it, could i change it as easy as it looks like in your post?

Or is there no way to change that?

Because it would be a great way to make debug mode, or something else what comes in very handy for my programming.

best regards.

Login to post a reply

Server time is: 2024-07-04 10:49:36
Your offset time is: 2024-07-04 10:49:36