473,471 Members | 1,970 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

using dynaic dll's in borland

hi guys
i have created a invoice system but updating it to all our users takes
too long and makes me sick. i am trying to convert all modules to
dll's so they can update themselves.

my problem is as follows. i have a form that i compile to a dll and
can be called dynamically by the main form. i can even connect a
dataset on the form to the main form's connection(very vital because
the connection can change ) but i can't seem to call functions on the
main form from the called form. it keeps giving me an exeption and
kills my program.

i have never worked with dynamic dll's and making them too static won't
help.
what do i do?

Jun 20 '06 #1
2 1494

"sufferthefools" <we****@motani.co.za> wrote in message
news:11**********************@g10g2000cwb.googlegr oups.com...
hi guys
i have created a invoice system but updating it to all our users takes
too long and makes me sick. i am trying to convert all modules to
dll's so they can update themselves.

my problem is as follows. i have a form that i compile to a dll and
can be called dynamically by the main form. i can even connect a
dataset on the form to the main form's connection(very vital because
the connection can change ) but i can't seem to call functions on the
main form from the called form. it keeps giving me an exeption and
kills my program.

i have never worked with dynamic dll's and making them too static won't
help.
what do i do?


Ask in a windows newsgroup
Jun 20 '06 #2
Have you declared the main form in your exe with __export? Have you
used LoadLibrary with the exe? This is the same problem that I'm
working on. I'm planning to a facade class instead of the main form.

Fraser.

"sufferthefools"
hi guys
i have created a invoice system but updating it to all our users takes
too long and makes me sick. i am trying to convert all modules to
dll's so they can update themselves.

my problem is as follows. i have a form that i compile to a dll and
can be called dynamically by the main form. i can even connect a
dataset on the form to the main form's connection(very vital because
the connection can change ) but i can't seem to call functions on the
main form from the called form. it keeps giving me an exeption and
kills my program.

i have never worked with dynamic dll's and making them too static won't help.
what do i do?


--
Posted via a free Usenet account from http://www.teranews.com

Jun 20 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: John Underwood | last post by:
Can I use python23_d and python23 to develop an extension for a commercial application uses python22.dll? (Providing that I do not use any new features found only in 2.3.) I would bulld version...
1
by: JB | last post by:
Hello C++ Gurus: I'm doing a dll with a very simple function, with this prototype int suma(int, int). Adds two integers and return an integer. I'm using the bcc32 compiler, I did get a success...
3
by: scott.sara.news | last post by:
I am having major problems accessing some API's and I believe the problem is a 16-bit app. I originally had an application written in Borland Builder C++ 6 (32-bit)that loaded some API's for a...
3
by: alessandra_cabrini | last post by:
Hi, I have a problem with a DLL I'm not able to solve. I need to use this DLL to receive a file from a barcode (a little terminal) reader. The DLL only has 2 functions, one for receive and the...
1
by: denis | last post by:
hello I'm using a dll made in c++ in a delphi app, but get some errors I've use stdcall for the parameters match. I need someone have use C dll in delphi tell me if there is missing something....
1
by: Terry | last post by:
Is there any hope of using Borland Developer Studio 2006 to link in a DLL compiled by MS Visual C++ version 6? I have a Win32 DLL from a company named Vocera. The DLL defines C++ classes that I...
0
by: jairathore | last post by:
Hi to all, I m very much novice the borland c++ envoirment i want to build a application whose code is devloped in borland c++ ,i have make file associated that application.i tried to compile this...
0
by: =?Utf-8?B?QWxleEU=?= | last post by:
We are using .NET (C#) and we added several COM dlls as Resources to our projects. These COM dll's were created using Borland C++ Builder 6. When we add any COMs built with Borland into our .NET...
7
by: SteelNetNob | last post by:
I have created a COM callable DLL in C# .NET 2.0 and created a TLB from the assembly using the .NET regasm tool. In Borland C++ Builder 4.0 I go to Project->Import Type Library-> and find my...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.