Solved

DLL in C to use with VB...?

Posted on 1997-01-19
1
318 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
This is a short and sweet, but (hopefully) to the point article. There seems to be some fundamental misunderstanding about the function prototype for the "main" function in C and C++, more specifically what type this function should return. I see so…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use while-loops in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.

813 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

11 Experts available now in Live!

Get 1:1 Help Now