Click here to Skip to main content
15,885,918 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
1 TYPELIB "TellerCaptureX.tlb"

/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INvOKED

Can anyone please help me to understand above lines from rc file?

What I have tried:

I am trying to configure ActiveX Control build for 32*bit as well as 64-bit build.
Posted
Updated 26-Sep-19 3:25am
Comments
Richard MacCutchan 26-Sep-19 10:42am    
Instead of reposting the same question you should update the original. You now have two answers which are essentially the same, mine and that of KarstenK. So one (or both) of us have just wasted a few minutes doing the same as the other.

A quick and dirty search result: TIP: Adding a typelibrary as a resource to a project[^].
 
Share this answer
 
Read about the documentation yourself but you need to provide 2 different versions of the tlb for 32 and 64 bit platform.

One possible solution to guard these tlbs with some x64 macros. Like
C++
#ifdef _X64_ // or your x64 define
1 TYPELIB "TellerCaptureX64.tlb"
#else
1 TYPELIB "TellerCaptureX.tlb"
#endif
Ofcourse you will need to build that tlb on a x64 system. Pay attentation not to fetch the x32 binaries.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900