dcsimg
Results 1 to 6 of 6

Thread: [RESOLVED] How to include "*.h" files

  1. #1

    Thread Starter
    I don't do your homework! opus's Avatar
    Join Date
    Jun 2000
    Location
    Good Old Europe
    Posts
    3,863

    Resolved [RESOLVED] How to include "*.h" files

    I'm trying to use a c .dll, is it possible to use/include the required .h-files directly in VB or do I have to rewrite all the declarations in VB itself?
    You're welcome to rate this post!
    If your problem is solved, please use the Mark thread as resolved button


    Wait, I'm too old to hurry!

  2. #2
    .NUT jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    104,139

    Re: How to include "*.h" files

    The latter.

  3. #3

    Thread Starter
    I don't do your homework! opus's Avatar
    Join Date
    Jun 2000
    Location
    Good Old Europe
    Posts
    3,863

    Re: How to include "*.h" files

    Thanks for the quick answer, although.....
    The amount of "rewriting" makes me consider to move my application to C++
    You're welcome to rate this post!
    If your problem is solved, please use the Mark thread as resolved button


    Wait, I'm too old to hurry!

  4. #4
    Cumbrian Milk's Avatar
    Join Date
    Jan 2007
    Location
    0xDEADBEEF
    Posts
    2,448

    Re: [RESOLVED] How to include "*.h" files

    C++/CLI might be worth a look for you. CLI IntelliSense is broken in VS2010, making it a bit of a pain. I think it works in 2008 and it definitely works in 2012. It would mean you could still potentially write the bulk of your application in VB. There would still be quite a lot of work to do in writing a wrapper but you end up with being able to access the dll from VB as you would any other framework component, i.e. nice and friendly and no nasty PInvoke.
    W o t . S i g

  5. #5
    Super Moderator Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: [RESOLVED] How to include "*.h" files

    Maybe the PInvoker add-in would be something for you.
    Joacim Andersson
    If anyone's answer has helped you, please show your appreciation by rating that answer.
    I'd rather run ScriptBrix...
    Joacim's view on stuff.

    MVP

  6. #6

    Thread Starter
    I don't do your homework! opus's Avatar
    Join Date
    Jun 2000
    Location
    Good Old Europe
    Posts
    3,863

    Re: [RESOLVED] How to include "*.h" files

    Thanks for this one. Actually I'm trying to use it, but I'm stuck with the trials to install the AddIn Version. It requires Visual Studio 2010, and I'm having trouble to get it.
    You're welcome to rate this post!
    If your problem is solved, please use the Mark thread as resolved button


    Wait, I'm too old to hurry!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width