In the NewsAugust 11, 2009

Ask a developer Monday

This is the first "Ask a developer Monday" in which we try answer the number one question we received in the past weeks. And that question is: "How can I use TitanEngine as a static library?"

FacebookFacebookXX / TwitterLinkedInLinkedInbluesky

Even though the TitanEngine is  mostly been used as a dynamic library in our sample unpackers it can also be used as a static library. First sample that uses our engine a static library we made isTitaniumOverlay whose source will be available with the next update. Here is how we did it...

First step is to create new library files which contains the actual TitanEngine code so that the functions you use can be linked directly into your code. To do this open TitanEngine project with Visual Studio and go to Project -> TitanEngine properties (Or just hit ALT+F7). In the Configuration Properties -> General -> Configuration type select Static Library (.lib).

Once you select this setting next compile will generate a new .lib file inside the release folder which will be used as a substitute for existing .lib file you used in the past. For your new project copy SDK.h and this new TitanEngine.lib to your project folder and include them in the usual way. One thing to worry about is that in your project you can't use the same function names which have already been used in the TitanEngine. So the only problem you can have is if you are creating a new DLL project you can't use function named DllMain. That can be resolved by renaming DllMain to any other name and setting the option Linker -> General -> EntryPoint to that function name.

Until next time and next ask a developer Monday...

More News

Bluesky
Email Us
static library

Spectra Assure Free Trial

Get your 14-day free trial of Spectra Assure for Software Supply Chain Security

Get Free TrialMore about Spectra Assure Free Trial
Blog
Events
About Us
Webinars
In the News
Careers
Demo Videos
Cybersecurity Glossary
Contact Us
reversinglabsReversingLabs: Home
Privacy PolicyCookiesImpressum
All rights reserved ReversingLabs © 2026
XX / TwitterLinkedInLinkedInFacebookFacebookInstagramInstagramYouTubeYouTubeblueskyBlueskyRSSRSS
Back to Top
ReversingLabs: The More Powerful, Cost-Effective Alternative to VirusTotalSee Why
Skip to main content
Contact UsSupportLoginBlogCommunity
reversinglabs
ReversingLabs: Home
Solutions
Secure Software OnboardingSecure Build & ReleaseProtect Virtual MachinesIntegrate Safe Open SourceGo Beyond the SBOM
Increase Email Threat ResilienceDetect Malware in File Shares & StorageAdvanced Malware Analysis SuiteICAP Enabled Solutions
Scalable File AnalysisHigh-Fidelity Threat IntelligenceCurated Ransomware FeedAutomate Malware Analysis Workflows
Products & Technology
Spectra Assure®Software Supply Chain SecuritySpectra DetectHigh-Speed, High-Volume, Large File AnalysisSpectra AnalyzeIn-Depth Malware Analysis & Hunting for the SOCSpectra IntelligenceAuthoritative Reputation Data & Intelligence
Spectra CoreIntegrations
Industry
Energy & UtilitiesFinanceHealthcareHigh TechPublic Sector
Partners
Become a PartnerValue-Added PartnersTechnology PartnersMarketplacesOEM Partners
Alliances
Resources
BlogContent LibraryCybersecurity GlossaryConversingLabs PodcastEvents & WebinarsLearning with ReversingLabsWeekly Insights Newsletter
Customer StoriesDemo VideosDocumentationOpenSource YARA Rules
Company
About UsLeadershipCareersSeries B Investment
EventsRL at RSAC
Press ReleasesIn the News
Pricing
Software Supply Chain SecurityMalware Analysis and Threat Hunting
Request a demo
Menu

Security Boulevard: The Latest Shai-Hulud Malware is Faster and More Dangerous

Learn More about Security Boulevard: The Latest Shai-Hulud Malware is Faster and More Dangerous
Security Boulevard: The Latest Shai-Hulud Malware is Faster and More Dangerous

Bleeping Computer: Malicious VSCode Marketplace extensions hid trojan in fake PNG file

Learn More about Bleeping Computer: Malicious VSCode Marketplace extensions hid trojan in fake PNG file
Bleeping Computer: Malicious VSCode Marketplace extensions hid trojan in fake PNG file

Forbes: Microsoft Worm Attack Warning — Act Rapidly And Change Passwords Now

Learn More about Forbes: Microsoft Worm Attack Warning — Act Rapidly And Change Passwords Now
Forbes: Microsoft Worm Attack Warning — Act Rapidly And Change Passwords Now
The Latest Shai-Hulud Malware is Faster and More Dangerous
Malicious VSCode Marketplace extensions hid trojan in fake PNG file
Microsoft Worm Attack Warning — Act Rapidly And Change Passwords Now