It may be that Delphi 5 is the only Delphi that you can use if you don't want to re-code anything. Delphi 6 may be also possible.
With Delphi 7 (if i remember correctly) there are differences with variants for example and if you're using variants, you need to do some re-coding.
Here might be something that you need although you need to register to download the source code for this.
http://www.codeproject.com/database/xyprocedure.asp
Hi.
Check out this address http://www.d-tnt.com and contact Jason White directly. I already spoke to him about this and he might be interested,
Regards,
Joonas
Sorry jslarochelle.
It seems that i replied too soon. I didn't read your post and think. :)
Now that i'm thinking of it, i think you cannot send an instance of TMainForm as an interfaced object.
If you do need some info from the MainForm within the doSomething, i suggest you either change the...
The only thing i see here is that you use different name for the parameter (which you pass to reportError) in the interface and in the MainForm.
The procedure within the TMainForm shold look like this:
procedure reportError (errorMessage: string);
Other that that i can't say anything else...
The link seems good for me too but it's somewhat useless since i've been using EurekaLog for some time now.
It's excellent for finding runtime errors that you cannot find any other way. It gives all sorts of useful information and one of the best being this:
Call Stack Information...
I have some sources that do exactly that but there are no comments. Here's a link that should come in handy. There are also comments within the code.
http://delphi.about.com/gi/dynamic/offsite.htm?site=http://www.q3.nu/trucomania/truco.cgi%3F408%26ing
JP
Now after towerbase's example it seems that you're only checking for positive result of CompareDate function.
As towerbase's example shows you should infact use a 'case' statement instead of 'if'.
Ok. Maybe i should've read you previous post more throughly. It does say you're converting to Win32. :)
I love Delphi. Been working with it for years but now it seems that i have to partially start working with VB as well. Which i don't like.
Hehe.
Could you please share the solution with us? I might some day start using D2K5 and if i run to a similar problem it would be nice knowing the answer. :)
It may be that the "VCL FOrms Application delphi for NET" requires some .NET components on the client machines.
Try installing .NET runtime package for one of the clients and see if it helps. I've only used the demo version of D2K5 so i don't have so much experience about it.
JP
You could try inserting Application.ProcessMessages into your loop. If one doesn't help, try with two or three.
Small example:
repeat
Application.ProcessMessages;
DoSomething;
Application.ProcessMessages;
DoAnotherThing;
Application.ProcessMessages;
DoMoreThings;
until...
I'm using Halt in some cases also so this is just a little note.
Halt terminates the program abnormally and in some cases this might cause more problems. So if you have for example files open in your program, close them before Halt. Otherwise they might be in use the next time you try to access...
You could do this without ADO connection to the worksheet. Use Olevariant to connect to the excel file and one of it's worksheets. Or if you have the Servers tab in your delphi you can connect with them to the xls file.
After doing that you can go through the rows and columns and set the cell...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.