There's a small bar with options above the forum, where you can change spacing, the amount of noise, the layout.. and the period from which you want to see the messages. I believe it defaults to 3 months. Change it to "all", and you'll see that this forum isn't empty.
Your might want to try this one[^], this one[^], or this one[^]. Some of them are free which means no warrant for your products, but they are good if you want to have some source codes first and grab some ideas before making decisions.
[plus] Have you considered making your own barcode generator?
Hello and thanks for these links, but as u mentioned
they don't work properly, I don't want to make my own
barcode, I need a profesional OCX to use it in my
project. I've found some of them, but they dont work
on all kind of printers.
By the way, if you want to buy a component, use trial version and prepare a bunch of technique questions (like Help! the code is not working! or It doesn't work on my printer!) for them before purchase, it will let you know how good their programmers are.
By "they don't work on all kind of printers", you mean they can't print the barcode out or the printout can't be scanned? And what type of barcode are you using?
Sorry about the delay, but better late than never I guess ... hehehe...
As mentioned by smags, there are several free and commercial barcode printing solutions. Another one that you might want to look at is the one that comes with tpsystools and is available here[^]
Plus you get the added benefit of getting some really cool tools with it as well. I must admit that I have not used the barcode components that come with it, but I have implemented most of the utilities/classes that come with the package. And it's free!!!
"You cannot code for stupidity"
hello guys... I was planning to learn a little about Delphi. With a little research , I could just figure out that
- There is no Delphi Platform for Delphi Development similar to VC# 2010 Express Edition for C# Development.
There is this Embercadero RAD Studio but it is a 30-Day trial and after that, we have to buy it. So what's the starting point and which book (or any online tutorial) you would suggest. Thanks for any heading.
This world is going to explode due to international politics, SOON.
If you want to be familiar the language first, there are some other pascal compilers available. but I would suggest you use this Embercadero RAD Studio, so that you can play around with Delphi language, IDE, VCL, etc. And you can also access to its big source code depository. You will learn a lot from it.
As for books. I don't have any for recommendation. (unless you want to do some COM programming in Delphi )
As mentioned by Eddy, a good place (if you just want to learn and play around with Delphi - or more specifically Pascal) to look at would be Lazarus, which uses FreePascal. It will get you on the right path and has the added benefit of being cross-platform as well..
Hope that helps
"You cannot code for stupidity"
function TAclasencode.BufToDataBIN(const Buf: TByteDynArray; iStartPos,
iLen, iDec: Integer): Variant;
DefaultLen = 8;
i : Integer;
iTmp : Int64;
arr : array[0..7]of Byte;
pInt64 : ^Int64;
fTmp : Double;
fTmp := 0;
if (Buf[iStartPos] and $80=$80) and (not IsCardinal) then
if Negative then
for I:=0 to iLen-2 do arr[I]:=(Buf[iStartPos+iLen-1-I] xor $FF);
for I:=0 to iLen-2 do arr[I]:=(Buf[iStartPos+iLen-1-I]);
for I:=0 to iLen-1 do arr[I]:=(Buf[iStartPos+iLen-1-I]);
Result := fTmp;
Ha, I wouldn't grab your thought if I didn't come across your post in Quick Answer section. Please edit your post here so that other people would understand.
Ok, first the function might have overflow issue, depending on the logic, and it is not exception safe, leading to unexpected results. But it's nothing to do with your question, so I will pass this part.
1. TByteDynArray is array of Byte. if it's not, the following might be useless.
2. and endian representation is the same on all machines where your codes will run.
Once upon a time the Timex Sinclair computer used an interpreted BASIC that would allow its user to type in a math function as a string and then have the string evaluated to give the answer to the function. Quite cool. The BASIC in the Commodore 64 lacked that feature. Compiled languages, like Delphi's implementation of Object Pascal, quite often don't provide the ability to evaluate the values of strings as expressions nor give one a built in way to define functions/procedures at run time right out of the box. But, libraries like this one: http://tpsystools.sourceforge.net will give you the ability to key in a function and evaluate it. You'll want to use the TStExpression component and/or the TStExpressionEdit component. These are found on pages 316 and 327, respectively, in the SysTools.PDF manual, available with the library from SourceForge. There's a TON of other useful things in SysTools too. Thanks TurboPower!
I've not had this problem before but since I re-installed the OS on both my laptop and desktop
I've been unable to compile properly.
My laptop is running 32bit XP Pro and my desktop Win7 Pro. Delphi has been set up on both after a clean install of both OS's. I have used the default installation for Delphi 2007 on both systems and the same components have been installed on both.
Everything seems to compile ok and I have the "Build with runtime packages" ticked and have tried it unticked as well.
When I try to run my app on other PC's it keeps looking for various BPL files. it starts by looking for rtl100.bpl but when I move that into the systems path then it looks for another bpl and another etc..
They are supposed to be embedded into the app but no matter what I do it just won't happen.
Has anyone else experienced this? Could it be a registry problem?
If you are building the project on your Win7 box, make sure that you are running Delphi as administrator. I had issues before with the security features in Win7 that gave me endless hassles until I did that.
Hope that helps m8
"You cannot code for stupidity"
I use Delphi 2009 and never have this kind of issue. But yeah, with "Build with runtime packages" unchecked, Delphi should have embedded all needed packages into you app, and there is no dynamic link required.
Did you try creating a simple Form Application where there is only a plain Form, with "Build with runtime package" unchecked? (it worth trying even though, as you mentioned, it seems to compile OK with your codes)
By the way, do you use customized BPLs or purchased BPLs inside the codes?
Has it really been that long?!?!?!?! It also means that now I am an old fart... considering I was coding in TP7 then D1, D3, D5, D7, D2006 (is anyone noticing a pattern here? )... *buys a walking stick*
btw... smags... I am very close to finishing my next article... It's taking me longer to write considering I have a deadline type thing going at the moment with work, but I hope you (and the rest of the community) will like it when I post it... Tis got to do with the fun-ish side of Delphi development...
"You cannot code for stupidity"
I have an ISAPI application with a TWebModule running on IIS6. There's try/except and fine exception logging around every method. Every single request and it's response status are also being logged. About five times a week this happens:
1) TWebModule.OnException is called with "EInOutError: File not found". Mostly the error is logged by just one thread, sometimes by up to four threads at once. (The cause must be outside my code, because there are no lines outside try/except blocks.) 2) For a few minutes IIS answers thousands of request with status 500, though they are not logged by the ISAPI DLL. That means, the requests don't cause more exceptions in the TWebModule instances, they seem to just bounce off my IIS. 3) Finally there's a message in the event log that one worker process did not recycle in time. 4) For a day or two, everything runs fine again.
I guess the TWebModule instance is in some kind of blocked state, but IIS still tries to feed it with requests. So, I want to stop the thread in TWebModule.OnException. Is there a way to shutdown a single TWebModule, that means one IIS thread or worker process, without recycling the whole Application Pool?
I don't have experience with Delphi on server side, so the following response might be useless to your case.
The description makes me still wondering if the threads were crashed by unhandled exception from inside your codes. Just want to make sure there is no such code as XYZ.Create() left outside the try/except or try/finally blocks, as some Delphi components throw exceptions during construction.
Thanks for your reply! There are some .Create() lines in the main unit, before the TWebModule is created. But if they would crash, the web module's handler woudln't catch them, because, well, it doesn't exist, yet.
The DLL uses the library "Graphics32". I don't think it starts any threads on its own, but it creates many objects. It is only called inside try/except block, of course.
It also uses some Named Pipes to talk to a Windows service running on the same machine. But the crashes occur mostly during request that do not touch those pipes, so they cannot be the cause.
Anyway, the ISAPI application answers between 2 and 4 million requests per day. The EInOutException happens only once or twice a day. When I repeat the failed request later on, it works fine again. That makes it quite tricky to find out what exactly happens.
Last Visit: 31-Dec-99 18:00 Last Update: 21-Oct-16 5:08