Solved

Is it possible to change this component from d7 to delphi 2010?

Posted on 2011-03-10
15
274 Views
Last Modified: 2012-06-27
Hello guys

I bought this component a long time ago, it came with .pas

When I bought this component it was for delphi 7 and the company that sold me the component

doesn't exist anymore.

Unfortunately I don't have a knowhow to change components and I don't know whether to change it, it spend a lot of time.

I'd like to know from anyone about this

you can download the componet from here

http://htlink.hidrautorque.com.br/arquivo/venus.zip

thanks
0
Comment
Question by:hidrau
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
15 Comments
 
LVL 4

Expert Comment

by:WhiteSeed
ID: 35094560
the link is invalid, please write too what modification you need about this component
0
 
LVL 1

Author Comment

by:hidrau
ID: 35094649
Please, take a look at this link and try to download from here

http://www.4shared.com/file/a4LeSZsZ/venus.html

I just need to install it in my delphi 2010. I'd like to know if you can do it in your delphi 2010

thanks
0
 
LVL 9

Accepted Solution

by:
Mahdi78 earned 400 total points
ID: 35094721
All what you need is to change the following variable types and function
AnsiString instead of String, AnsiChar instead of Char and PAnsiChar instead of PChar in component code, then create a new package
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:hidrau
ID: 35094861
hummm, then it is possible.

Now, I need to know how to create a package LOL



0
 
LVL 9

Expert Comment

by:Mahdi78
ID: 35094901
0
 
LVL 1

Author Comment

by:hidrau
ID: 35095246
Ok, Mahdi78:

I did all that and I didn't have any success :((

do you think you can try it ?
0
 
LVL 9

Expert Comment

by:Mahdi78
ID: 35095406
I got error say that missed the files oxSndInt.inc in directory oxWave.d
0
 
LVL 1

Author Comment

by:hidrau
ID: 35095496
isn't this file in souce/opaque? I found it here



0
 
LVL 9

Expert Comment

by:Mahdi78
ID: 35096540
Oops i found it,
As additional comment to what i said above about AnsiString: You don't need to practice what i noticed until you get an error,
So keep using string until you get an error
0
 
LVL 1

Author Comment

by:hidrau
ID: 35096733
mahdi, I will try here

did it work for your?
0
 
LVL 1

Author Comment

by:hidrau
ID: 35096755
It is terrible friend when you change de delphi version and you don't have the components updates to new version. I am coming from Delphi 7 to Dephi 2010 and to create components and other things related to them, it is not my strong area.

I thank you your help with this
0
 
LVL 24

Assisted Solution

by:jimyX
jimyX earned 100 total points
ID: 35097645
At line 19 in the file oxBtns.pas change the directive to be:
{$I oxSndInt.inc }
instead of:
{$I ..\oxWave.d\oxSndInt.inc }
0
 
LVL 1

Author Comment

by:hidrau
ID: 35097982
wow,

I have a lot of errors and I don't know how to work around with them  LOL

are you getting it?



0
 
LVL 32

Expert Comment

by:Ephraim Wangoya
ID: 35174120

Wow, thats a whole component pack
0
 
LVL 1

Author Closing Comment

by:hidrau
ID: 35179870
thanks for the clue. I just replaced the component for another
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question