Solved

DLL in C to use with VB...?

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

Suggested Solutions

Have you thought about creating an iPhone application (app), but didn't even know where to get started? Here's how: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Important pre-programming comments: I’ve never tri…
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…
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use switch statements in the C programming language.

895 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

19 Experts available now in Live!

Get 1:1 Help Now