Solved

DLL in C to use with VB...?

Posted on 1997-01-19
1
320 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
Summary: This tutorial covers some basics of pointer, pointer arithmetic and function pointer. What is a pointer: A pointer is a variable which holds an address. This address might be address of another variable/address of devices/address of fu…
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 and use switch statements in the C programming language.

752 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