How to set the entry point of an application.
-
Dear all, Question - I want to change the entry point of my program to some "MyFunction". I know that, it can be done by taking project Settings, Link tab, then Input section and specify the entry point. But my requirement is to done it by code using any #pragma or any other preprocessor like that. Please help me. Regards, Jijo. ________________________________ Yesterday is history, Tomorrow is a mystery, But today is a present.
-
Dear all, Question - I want to change the entry point of my program to some "MyFunction". I know that, it can be done by taking project Settings, Link tab, then Input section and specify the entry point. But my requirement is to done it by code using any #pragma or any other preprocessor like that. Please help me. Regards, Jijo. ________________________________ Yesterday is history, Tomorrow is a mystery, But today is a present.
#pragma comment(linker, /entry:"MyFunction")
Bikram Singh I believe we should all pay our tax with a smile. I tried - but they wanted cash.
-
#pragma comment(linker, /entry:"MyFunction")
Bikram Singh I believe we should all pay our tax with a smile. I tried - but they wanted cash.
-
#pragma comment(linker, /entry:"MyFunction")
Bikram Singh I believe we should all pay our tax with a smile. I tried - but they wanted cash.
Hello Sir, really i tried that-> #pragma comment(linker, /entry:"MyFunction") but sad i didn't able to work it out. pls help me in this. thanks ----------------------------- "I Think It will Work" Formerly Known As "Alok The Programmer" at CP ----------------------------- Alok Gupta visit me at http://www.thisisalok.tk
-
#pragma comment(linker, /entry:"MyFunction")
Bikram Singh I believe we should all pay our tax with a smile. I tried - but they wanted cash.
Unfortunately, that doesn't work. According to the MSDN, you can only use the /DEFAULTLIB, /EXPORT, /MERGE, /INCLUDE, and /SECTION linker options in a
#pragma comment(linker,...)
.
Software Zen:
delete this;