Skip to main content
GameDev.net gamedev.net
🔒 Locked

C++ DLL question

Started by benhus Jun 5, 2002 at 4:19 AM 1 replies 200+ views
Original Post
benhus
benhus
Hello, I''ve a question. I know VB is not the best language to make games with. But what about writing DLL''s in C++ to do the heavy stuff and then glue the game together in VB using these in c++ written dll''s? Would that increase the performance of the VB game?
FiveFootFreak
FiveFootFreak
Yes, linking to C++ DLLs from inside VB works to overcome most VB limitations in performance as well as low-level access. I tried it out myself. Plan your app very carefully though, since you will most likely have difficuilty in sharing/passing data between VB and the C++ DLL. I had to give up the idea because of this and I''m writing my project completely in C++ now, but if your app is well structured and you don''t have to pass huge amounts of data around, you should be successfull.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.