|
-
Feb 17th, 2000, 06:00 PM
#1
Thread Starter
Lively Member
I would like to know the procedure to make dll in vc++ to be used in vb.
An example code could help
Something like a dll that receive a number and return the number plus 5.
-
Feb 17th, 2000, 07:38 PM
#2
Lively Member
You will have to DECLARE the DLL in a code module in your VB project. For examples look in WIN32API.TXT in your VB directory.
Roger
-
Feb 18th, 2000, 02:17 AM
#3
Thread Starter
Lively Member
I know how to use a dll in vb, what i want to know i how to create it in vc++
-
Feb 19th, 2000, 04:11 PM
#4
New Member
Hi Antonio, I don't know much about VC++, I use Borland C++, but the general rule for creating a DLL in any language is that you have to make the names of the functions exportable, if you want to call these functions from other applications. Look in MSDN for this topic, namely, exporting symbols, etc. You can use Quick View to see the table of EXPORT/IMPORT functions.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|