C with VB ?

This is a discussion on C with VB ? within the Windows Programming forums, part of the Platform Specific Boards category; Hello everyone, Currently I am trying to develop an application with nice/easy user interface. I mainly program in C. But ...

  1. #1
    Registered User khpuce's Avatar
    Join Date
    May 2003
    Posts
    165

    C with VB ?

    Hello everyone,

    Currently I am trying to develop an application with nice/easy user interface. I mainly program in C. But for creating user interfaces, I found VB 6 extremely easy. But I don't want to ( unless I have to! ) learn VB coding and develop the whole application in VB .

    Therefore, I was wondering whether it is possible to combine C codes with VB 6. For example, if I want to make a simple calculator, then I want the GUI created by VB but the actual functions in C (since I am more familiar with C coding).

    Is it possible? If so then how ? Where can I get some specific help on this ?

    Thank you

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,588
    I think you basically compile all your 'C' code as a DLL, then import that as a module into VB.
    That's about as much as I know.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Registered User khpuce's Avatar
    Join Date
    May 2003
    Posts
    165
    Thanks Salem.

    I am gonna look on the net to learn about these DLL stuffs.


Popular pages Recent additions subscribe to a feed

Similar Threads

  1. VB with C++
    By Nascent_Grammer in forum C++ Programming
    Replies: 6
    Last Post: 01-14-2008, 05:36 PM
  2. 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, 05:16 AM
  3. Passing parameters from VB to C++ through ActiveX DLL
    By torbjorn in forum Windows Programming
    Replies: 0
    Last Post: 12-10-2002, 02:13 AM
  4. VB Calling Convention?!
    By minime6696 in forum Windows Programming
    Replies: 6
    Last Post: 03-27-2002, 03: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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21