Thread: VB + C = possible?

  1. #1
    Registered User
    Join Date
    Aug 2001
    Posts
    380

    Question VB + C = possible?

    A friend of my and I would like to create a joint game project. We were wondering if it could be possible to write parts of it in VB while others in C? Yet it be able to be used in the sense of one executable file? Could this be done through reading and writing to a file or memory?

    thanks

  2. #2
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,130
    The normal way for this would be making the user interface in VB and including a C dll that takes care of calculations.

    But I would really try to stay with one language when this is your
    first project. It is a mess to combine them, and needs some
    understanding of both languages.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  3. #3
    Registered User
    Join Date
    Aug 2001
    Posts
    380
    thank you for your relpy. All I wanted to know if my metholf could of worked. Anyways thanks for the tips.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Passing an Array of Strings from VB to a C DLL
    By mr_nice! in forum Windows Programming
    Replies: 9
    Last Post: 03-08-2005, 06:16 AM
  2. C with VB ?
    By khpuce in forum Windows Programming
    Replies: 2
    Last Post: 02-21-2005, 08:00 AM
  3. Passing parameters from VB to C++ through ActiveX DLL
    By torbjorn in forum Windows Programming
    Replies: 0
    Last Post: 12-10-2002, 03:13 AM
  4. VB Calling Convention?!
    By minime6696 in forum Windows Programming
    Replies: 6
    Last Post: 03-27-2002, 04:39 PM
  5. Sending a string to C++ from VB 6.
    By VirtualAce in forum C++ Programming
    Replies: 4
    Last Post: 08-21-2001, 02:28 AM