Здравствуйте, nnoobb, Вы писали:
N>вобщем суть — получить HINSTANCE текущего приложения
GetModuleHandle(NULL)
... << RSDN@Home 1.1.4 stable SR1 rev. 568>>
It is always bad to give advices, but you will be never forgiven for a good one.
Oscar Wilde
Здравствуйте, nnoobb, Вы писали:
N>вобщем суть — получить HINSTANCE текущего приложения
Может, я чего не понял...
The WinMain function is the conventional name for the user-provided entry point for a Microsoft Windows-based application.
Syntax
int WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow
);
Parameters
hInstance
[in] Handle to the current instance of the application.
MSDN
Здравствуйте, Privalov, Вы писали:
P>Здравствуйте, nnoobb, Вы писали:
N>>вобщем суть — получить HINSTANCE текущего приложения
P>Может, я чего не понял...
P>P>The WinMain function is the conventional name for the user-provided entry point for a Microsoft Windows-based application.
P>Syntax
P>
P>int WinMain(HINSTANCE hInstance,
P> HINSTANCE hPrevInstance,
P> LPSTR lpCmdLine,
P> int nCmdShow
P>);
P>
P>Parameters
P>hInstance
P>[in] Handle to the current instance of the application.
P>MSDN
Если утсновить другую точку входа в программу -данного прамаметра не будет