Sign in to follow this  
squicklid

[.net] hInstance in a Forms App

Recommended Posts

squicklid    132
Is it possible to get the hInstance for an application using VC++ 2005 .NET? I tried using: #include <windows.h> int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { ... } but it rejects pretty much everything in windows.h.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this