C++ compilation and calling from VB

This is a discussion on C++ compilation and calling from VB within the C++ Programming forums, part of the General Programming Boards category; Hello I need to call a function made in C++ from VB . So I compiled the C++ project as ...

  1. #1
    Registered User
    Join Date
    Feb 2003
    Posts
    1

    Question C++ compilation and calling from VB

    Hello

    I need to call a function made in C++ from VB. So I compiled the C++ project as DLL. It didn't show any error, but when I call the file (xxx.DLL) from VB - DECLARE FUNTION fuction LIB "xxx.DLL" (param1, param2...) - an error msg appears: "FILE NOT FOUND 'xxx.DLL'" and I'm sure the file exists and I've tried with the full path, moving the file to system32 and other things, so I supouse that it's a compiltion problem

    Thanks,

    Omar

  2. #2
    xxxx
    Guest
    post some code

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. malloc problem in SUN in 64-bit compilation
    By ylzhang in forum C Programming
    Replies: 6
    Last Post: 05-31-2003, 11:48 AM

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