473,407 Members | 2,629 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,407 software developers and data experts.

Software dll update checker?

93 64KB
Hey, I'm making a text editor for my own programming language and I wanna make a simple software updater for it. I've been searching online for tutorials and how to's, but couldn't find any that explained what I was after/covered the code I needed...

Can you guys help me with this one?
Jul 22 '14 #1
4 1447
weaknessforcats
9,208 Expert Mod 8TB
One easy way to do this is to keep the version number in a registry key. All your updater has to do is read the key to see if the update has been applied.

I assume you are using Windows because only Windows uses dlls.

You might also keep the version number in a configuration file that also holds the other settings for your editor.

Avoid hard-coding the version number in the code.
Jul 22 '14 #2
Xillez
93 64KB
ok, thanks for the info but how can I like send the updater the data it needs? or does it find it on it's own?
Jul 23 '14 #3
weaknessforcats
9,208 Expert Mod 8TB
The updater finds the data on its own because it knows where to look. I mean you coded both programs.

If you use a settings file you can do things like:

Expand|Select|Wrap|Line Numbers
  1. version= 2.5
  2.  
Then have the updater read the file looking for "version=" to find the data.

To update the file you would make a copy substituting the new version for the old one. Then copy back on top of the original. Then delete the copy.
Jul 23 '14 #4
Xillez
93 64KB
ok, thanks for the help
Jul 24 '14 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: mstjean | last post by:
Beginning to look at the mechanics of deployment at our site for our new project, our first in .NET. Management insists all apps will run from the network, not from desktops and we've managed to...
0
by: Jim | last post by:
Microsoft has a service called SUS that allows operating system files to be updated from a dedicated server instead of from Windows Update(Microsoft). SUS is a web app based on .asp. I went...
1
by: mrique | last post by:
Hi Oracle support send me an anual fee with - Product Support - Software Updates I run 9i Oracle Database Standard Edition - Processor Perpetual I cannnot understand the coverage of the 2k $...
0
by: Gianluca_Venezia | last post by:
I'm entering in MySql world and I have some issue to solve. I'm not finding a very well solution about the distribution of application upgrade. I use a FE MSaccess-based, and I use a...
2
by: joo | last post by:
Hi! I need to implement something similar to "Automatic Update" feature which we see in windows 2000. We need this support for our software, basically to provide the software update. How can I...
7
by: Hank Reed | last post by:
I am trying to use the spell checker on an unbound control in Access 2000. I run the checker in the AfterUpdate event of the control. After the spell checker is done, I get the following message:...
54
by: Matt | last post by:
How do we define systems programs? when we say systems programming, does it necessary mean that the programs we write need to interact with hardware directly? For example, OS, compiler, kernel,...
0
by: javed044 | last post by:
Word-of-mouth is often how dismal news spreads. But when you have more than 1 million people to whom the information needs to get to, worth-of-mouth doesn’t cut it. Web message boards don’t cut...
1
by: vstud | last post by:
Hello, Our company has an application that are installed on our clients computer, when the client wants to check for updates he click the update button from his installed application. here is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.