Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / Can VB 5 make DLLs that can be called from DBC ?

Author
Message
Robyn
18
Years of Service
User Offline
Joined: 21st May 2006
Location:
Posted: 4th Jun 2006 13:02
Any VB 5 programmers here?

DB has load and call DLL commands

Can VB version 5 make DLLs that can be called from DBC on a windows 2000 PC ?
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 4th Jun 2006 19:31
If VB5 cannot create a standard API type DLL then the answer is no. Neither DBPro or DBC support COM/ActiveX DLL's.

For free Plug-ins and source code http://www.matrix1.demon.co.uk
Olby
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location:
Posted: 4th Jun 2006 20:12
You can create dlls in VB6 using special plugin called vbAdvance (which costs) that compiles correct API dlls. Dont know will it work with VB5 so you better upgrade to something newer..

"Error at line 0 - Your game sucks. Try again loser..." (Cash Curtis II)
AMD Sempron 3.1+ Ghz, 512MB Ram, ATI R9550 256MB Ram, Sound Blaster Live!, WinXP SP2, DirectX 9.0c
Robyn
18
Years of Service
User Offline
Joined: 21st May 2006
Location:
Posted: 4th Jun 2006 21:31
The desired task is to send a short text sting out the serial port COM1.
DB does not do serial port output.
It does some real serious multiplayer support but nothing for simple text output.
So I wonder how to call a DLL that can do simple serial port output.

I only have older software and would like to use what I do have here now without paying any serious money for microsoft upgrades.
I have DB classic and it says it has LOAD DLL and CALL DLL.
Considering its age..2001? .... what DLL support does it really have?
Will it only call DLLs made with the newest VB6?
And just what is a DLL?
I thought a DLL was a fancy way to package programs into a dynamic link library.
But seriously...what does that mean and can a DLL be bit twiddled
from scratch and built up from simpler core EXE programs that do run fine standalone from command line?
Is there a road map of the file structure off a DLL that can be
broken down to an understandable and hackable solution?
I am not looking for massive complication.
Just the most simple task of calling a program that sends some short text out of the COM1 serial port.

I asked about light gun and serial port support and got told
to fetch DBP_VB6LIB.dll by cattlerustler but I could not
make that work at all. I did not understand the manual on it and
it did not have a verbatum example of how to use it.
I am familiar with the older technology of BASICs and how we could
very easily send serial data to COM1 and also CHAIN to run another BASIC program or CALL an assembler program.

Would it be possible for someone to write a DLL that DB classic
will run that can run an older DOS EXE made with QBASIC compiler?
What I am asking is if someone can make a DLL for me that I
could use with no parameters passed to it that does nothing more
than call one DOS type EXE... like DOSPGM01.EXE
and then all I would have to do is write DOSPGM01 in compiler
QBASIC that spits out some serial port data.

OR
can someone make a DBC callable DLL to share with the rest of us that
will take text input and spit out it out serial port
COM1 at 1200 baud and N81 format ?

Login to post a reply

Server time is: 2024-11-22 06:54:28
Your offset time is: 2024-11-22 06:54:28