Welcome Guest ( Log In | Register )

> foobar2000 Development Forum Rules

This forum is for developer discussions only. If you have a problem / bug report / idea / feature request that isn't related to foobar2000 SDK, post it in an appropiate forum instead - tech support questions go to support forum, everything else goes to general forum.
All non-developer posts on this forum will be removed. Continued abuse of this forum will result in admin actions (warnings, account suspension).

2 Pages V  < 1 2  
Reply to this topicStart new topic
Static vs Dynamic linking, Any "official" position
post Jun 25 2011, 18:52
Post #26

Group: Members
Posts: 306
Joined: 17-November 06
Member No.: 37682

QUOTE (mudlord @ May 10 2011, 08:40) *
Fine viktor:
* Does this method allow for usage of project files, or is it some contrived makefile method (which would be useless with FB2K)
* Is there any limit to what this method can compile for? Does it allow C++ with heavy template usage, virtual classes, etc? Is there any security issues or issues with some things like the runtime's vector<> implementation, etc?
* Which version of the MSVC runtime does it link against, the most recent, or just the MSVC6 version?

If points 1 and 2 are settled, I would love to hear more about these methods.....
FB2K especially relies on point 2 being settled in regards to certain C++ features being usable.

it allows everything. you can use makefiles, vs projects or whatever you want. you basically adjust command line variables, so it's possible to do anywhere (yes, vs project files also just feed the command line tools with project settings). sometimes there are tricks, such as getpid vs getcurrentprocessid, but until now i could solve them all for my projects. read some, try it, and you'll see.

some background info and tutorials:


after these, you should be able to compile some stuff for yourselves:


most of them are just batch files (which adjust environmental variables), but zlib-wdk is a vs project, so yes, it's certainly doable. sometime ago i also compiled some mfc stuff (xchat wmp), but it was too bloated so i haven't published it.

This post has been edited by viktor: Jun 25 2011, 18:57
Go to the top of the page
+Quote Post
post Jun 25 2011, 18:56
Post #27

Group: Members (Donating)
Posts: 979
Joined: 25-September 03
From: Umeň, Sweden
Member No.: 9001

You're missing a huge problem with WDK.
You cannot use the C++ standard library from VC++. You have to hack it with STLPort (as per the WDK links you provided), and that's something you _really_ do not want to target modern C++ with. Particularly not with a non-current compiler.

You keep saying that it's perfectly usable for anything. It's not, remotely, usable.

Zao shang yong zao nong zao rang zao ren zao.
To, early in the morning, use a chisel to build a bathtub makes impatient people hot-tempered.
Go to the top of the page
+Quote Post

2 Pages V  < 1 2
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 29th November 2015 - 09:25