473,320 Members | 1,848 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Best database practises

i have been taught always to use the data module and place all the
necesary components on it and refer to it when i need something. but
is this the best programming practise??

i get a lot of access violation messages and now that i want to make
the entire program dll based (so it can be easier to update) i sit with
a problem. how to use that data module.
do i include it to every dll project or do make it a dll and then
reference it??

what would be the best way to convert a program like this to a dll
based solution

i have a main form(mdi form)
data table (all ado connections and some datasets as well as global
functions like user auditing)
and the mdi children.(which i want to convert to dll's)

the reason i want to make everything dll based is because it takes too
much time to update all of my users when i change some thing. i want
the program to unload the dll and update itself then run again.

i can open the dll's dynamically and use the functions but my problem
is interacting with the data module and the main parent calling the
dll's.

Jun 20 '06 #1
1 1887
sufferthefools wrote:
i have been taught always to use the data module and place all the
necesary components on it and refer to it when i need something. but
is this the best programming practise??

i get a lot of access violation messages and now that i want to make
the entire program dll based


Stop right there! I think you should go to a windows programming group,
DLLs are OT here.

--
Ian Collins.
Jun 20 '06 #2

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

Similar topics

1
by: GeekMarine1972 | last post by:
We are planning to deploy the MS Reporting Services. Unfortunately, there isn't much guidance on how to effectively size a server. Here are my questions: 1) In an environment with 1 reporting...
1
by: Zenobia | last post by:
Hi, Does anyone have any good links for the best practice when writing ASP.NET applications ? I'm looking for all-round general clues for newbies and pit-falls to avoid.
5
by: Janaka | last post by:
I'm making a web application on my local server which will then be rolled out onto our live site. My problem is that i tend to have to comment out and make a few new hard-coded lines in my files...
14
by: Jon Rea | last post by:
I am currently cleaning up an application which was origainlly hashed together with speed of coding in mind and therefore contains quite a few "hacky" shortcuts. As part of this "revamping"...
3
by: Furty | last post by:
Hi, I'm looking for the best practice for creating a generic data validation implementation for my data bound business objects. I currently have a business object base class implementing the...
2
by: bonk | last post by:
I have come across the need to distinguish between the creation of a deep and a shallow copy and with great interest I have read this article: ...
1
by: DelphiLover | last post by:
Hi. I'm reading and reading, testing and testing, trying to figure out how to do things, how to do things according to best practises and how to do things in the best object oriented way. ...
3
by: Memfis | last post by:
What is the best practice for using boost::signal? Should the signal be a public field? Should an accessor method be used? Should there be some special connection methods for every signal, like the...
4
by: P Pulkkinen | last post by:
Hi all, I am in a php development project and I would like to hear your opinions on language file practises. 1) One huge or many small? ==================================== Currently we have...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.