Solved

DLL in C to use with VB...?

Posted on 1997-01-19
1
316 Views
Last Modified: 2010-04-15
I'm a BSc Computer Engineering student and I can program with VB(3) good enough (for me!). I'm at the beginning of a new project (the big one) where I would like to use VB (productivity, functionality, good understanding) but in some parts (like internal calculations) I need maximum speed and the use of assembly language (like in C with asm ... end) because I'm going to make a hardware emulator.

Please tell me how can I use VB (3 or 4) but write some parts of the needed code in C?  I'm willing to learn some VC if making a DLL is the appropriate way of doing this...

If it is (making a DLL) please tell me how, and also if the functions in a DLL can contain assembly code.

The platform I'm tageting to is Win 3.x (cause my college use them) and maybe Win95 (cause I use them! :)

Note: currently I have VB 3, VB 4, BC 5.0

Looking forward your help...
0
Comment
Question by:makis
1 Comment
 
LVL 2

Accepted Solution

by:
tovergaard earned 100 total points
ID: 1249369
Yes, it is okay to include ASM in the DLL, the user (= the program which call the dll) of a DLL can't see how the DLL is made. So you are free to make the DLL in C, C++ or assembler or a mix of them.

You are correct, to make a DLL is the way to do it!

There are no reason for learning Visual C (VC) when you have Borland C(++) version 5.0

0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
How to create project in Eclipse ? 1 184
Inorder binary search tree 5 153
UPD maximums on Red Hat 6 102
Need example 5 101
This tutorial is posted by Aaron Wojnowski, administrator at SDKExpert.net.  To view more iPhone tutorials, visit www.sdkexpert.net. This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has been lying to you about what constitutes Unicode (http://en.wikipedia.org/wiki/Unicode)? They will have you believe that Unicode requires you to use…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use nested-loops in the C programming language.
The goal of this video is to provide viewers with basic examples to understand opening and reading files in the C programming language.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now