how to use activex-component in RAD-Studio 2010


Author
Message
viewerxuser
viewerxuser
Supreme Being (209 reputation)Supreme Being (209 reputation)Supreme Being (209 reputation)Supreme Being (209 reputation)Supreme Being (209 reputation)Supreme Being (209 reputation)Supreme Being (209 reputation)Supreme Being (209 reputation)Supreme Being (209 reputation)
Group: Forum Members
Posts: 1, Visits: 6
Hallo,

I want to use the viewerx activex-component in Rad studio 2010. I tried to import the component and I can create a form with the component. But if I try to  compile the project the error is shown:

[BCC32 Fataler Fehler] ViewerX.h(12): F1003 error-Direktive: include 'stdafx.h' before including this file for PCH

What files have I to include into the Unit1.cpp (for the form1 with a viewerx-component)?




Thanks for your help!
Yury Averkiev (s-code)
Yury Averkiev (s-code)
Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)
Group: Administrators
Posts: 1.9K, Visits: 3.6K
Hi,
It sounds like there is a problem with the auto-generated files. Most likely it can be fixed by including “stdafx.h” to the generated or .cpp file or by specifying in the solution properties that the auto-generated files do not use pre compiled headers.

http://www.s-code.com/App_Themes/Default/images/blue_line.gif
Regards,
Yury Averkiev, SmartCode

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Explore
Messages
Mentions
Search