BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Need help with porting Delphi HID Component to C++Builder 5

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Third Party Tools)
View previous topic :: View next topic  
Author Message
Chris Gutierrez
Guest





PostPosted: Wed Aug 04, 2004 6:13 pm    Post subject: Need help with porting Delphi HID Component to C++Builder 5 Reply with quote



Hi all,

I'm stuck and I need some help. I'm trying to use Robert Marquardt's
HID controller component (http://www.soft-gems.net/Controls.php) with
C++Builder 5.0, and I'm totally stuck. The component comes with a
Delphi package and a C++ Builder package. I was able to use the
component with Delphi 6, it's fantastic and does everything I need. I
now need to use the component with C++ Builder 5. Unfortunately, the
package for C++ Builder is for version 6, and won't work with version
5. Following the directions I've read in this newsgroup and others, I
created a new package and added the .Pas files. The component
installs without error. However, when I add the component to a new
application, I can't build.

I'm getting errors in SetupApi.hpp, on the line
typedef SP_POWERMESSAGEWAKE_PARAMS_A *PSPPowerMessageWakeParamsA;
The error message is "E2257 , Expected". When I grep for
PSPPowerMessageWakeParamsA, I find it in SetupApi.pas... so am I
missing something that makes the hpp be built correctly?

I've tried about 10 times to remove and reinstall this package using
a
variety of techniques I've found via google. So far, nothing has
worked. I've had other Delphi/C++ Builder developers here in the
office give it a try. I've also tried emailing Robert Marquardt
directly, but didn't receive a reply. I'm really, really stuck.

I have several questions at this point. First, am I doing something
stupid? This should work from what I've read. Am I missing something
so blindingly obvious that no one has bothered to mention in on a
website or in a newsgroup? Second, is there any way for me to debug
this further? In the past when I've had trouble with components, they
wouldn't install. I can fix those types of problems. I'm at a loss as
to how to solve a problem with a component that installs but won't
build. I've googled for solutions, but everything I've tried has
failed. Third, has someone done this before, and if you have, do you
have a solution or a working package? Fourth, if no one has any idea
of how to solve this problem, does anyone have a suggestion for an
alternate HID controller that they recommend?

Thanks very much in advance,

Chris Gutierrez
email: gcgutier (at) hotmail (dot) com
http://www.chrisgutierrez.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Third Party Tools) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.