Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to determine if in EXE or DLL

Status
Not open for further replies.

GlynA

Programmer
May 1, 2002
77
GB
I have an ActiveX component which can be compiled as an EXE or a DLL. I would like the code to run slightly differently in the two cases. Is there a property somewhere I can check to determine the mode at run time? I know I can set compiler flags, but would like a neater solution.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top