473,398 Members | 2,404 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

HINSTANCE under VC.NET 2005

Hi,

When i try to use HINSTANCE under VC.NET 2005 (windows.forms
application), VC informs me that i must place a token (;) after HINSTANCE...
but it is not correct.

So, where is the problem ?
it looks like HINSTANCE is not defined... :-(
thanks,

Maileen
Nov 17 '05 #1
6 1317
Have you #include'd <windows.h> ?

--
Regards,
Nish [VC++ MVP]
"Maileen" <no*****@nospam.com> wrote in message
news:ey**************@TK2MSFTNGP10.phx.gbl...
Hi,

When i try to use HINSTANCE under VC.NET 2005 (windows.forms application),
VC informs me that i must place a token (;) after HINSTANCE...
but it is not correct.

So, where is the problem ?
it looks like HINSTANCE is not defined... :-(
thanks,

Maileen

Nov 17 '05 #2
Yes, and by doing this, i received a lot of error like :

syntax error : missing ';' before 'Test'
and this appear for

HINSTANCE Test;

So, where is the problem ?
Nishant Sivakumar wrote:
Have you #include'd <windows.h> ?

Nov 17 '05 #3
Where have you #included <windows.h> ?

--
Regards,
Nish [VC++ MVP]
"Maileen" <no*****@nospam.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Yes, and by doing this, i received a lot of error like :

syntax error : missing ';' before 'Test'
and this appear for

HINSTANCE Test;

So, where is the problem ?
Nishant Sivakumar wrote:
Have you #include'd <windows.h> ?

Nov 17 '05 #4
in my .h file

Nishant Sivakumar wrote:
Where have you #included <windows.h> ?

Nov 17 '05 #5
ok it seems to work no, but i have a lot of ambigious identifier due to
using and include :(

Maileen wrote:
in my .h file

Nishant Sivakumar wrote:
Where have you #included <windows.h> ?

Nov 17 '05 #6
Could you copy/paste the contents of that h file? It may help identify
what's wrong.

--
Regards,
Nish [VC++ MVP]
"Maileen" <no*****@nospam.com> wrote in message
news:%2***************@TK2MSFTNGP10.phx.gbl...
in my .h file

Nishant Sivakumar wrote:
Where have you #included <windows.h> ?

Nov 17 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: mphanke | last post by:
Hi, how do I get the HINSTANCE for an .NET application? ExtractAssociatedIcon always complains about an missing pointer reference... Regards, Martin
6
by: scottt | last post by:
I am trying to call into some C++ code from C#. One of the functions requires a handle to the instance (HINSTANCE hInstance) of the C# program. How do I access this in C#. Thanks,
1
by: dave | last post by:
I'm writing a little helper class in C++ for my C# project to do some things that aren't available in frameworks (like managing the clipboard chain). In order to create a proxy window to catch...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.