473,395 Members | 1,996 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,395 software developers and data experts.

VC Express and COM problems

Hi all,

Using VC Express Beta 2,

Just a simple class so far cause I can't get past this error:

error C3861: 'CoInitialize': identifier not found

public ref class Class1
{
public:
Class1()
{
CoInitialize( NULL );
}
};

Thats it.

Any help is appreciated,
Ron
Nov 17 '05 #1
3 1662
Hi RYoung!
Using VC Express Beta 2,

Just a simple class so far cause I can't get past this error:

error C3861: 'CoInitialize': identifier not found


Have you installed the Platform SDK?
The PSDK ist not installed by the VC Express 2005 Edition!

See: PSDK ISO Download
http://www.microsoft.com/downloads/d...6-9DA2B03D9B92

See: Set VC++ Directories in Options dialog (Visual C++ Express)
http://forums.microsoft.com/msdn/Sho...px?PostID=2995

--
Greetings
Jochen

My blog about Win32 and .NET
http://blog.kalmbachnet.de/
Nov 17 '05 #2
Hi,
I got the PSDK installed, and went through the steps
to set the directories for the express editions, about that though - I
merely appended the path to the PSDK include/lib dirs to what was already in
the config file:
Heres a partial snip:

<Directories
Include="C:\Program Files\Microsoft Platform
SDK\Include;$(VCInstallDir)include;C:\Program Files\Microsoft DirectX 9.0
SDK (April
2005)\Include;$(VCInstallDir)atlmfc\include;$(VCIn stallDir)PlatformSDK\inclu
de;$(VCInstallDir)PlatformSDK\common\include;$(Fra meworkSDKDir)include"
Library="C:\Program Files\Microsoft Platform
SDK\Lib;$(VCInstallDir)lib;$(VCInstallDir)atlmfc\l ib;$(VCInstallDir)atlmfc\l
ib\i386;$(VCInstall

Anyways, I did all that, then tried to build the project and got the error I
mentioned below.
Does that look alright?

- RYoung

"Jochen Kalmbach [MVP]" <no********************@holzma.de> wrote in message
news:Oh*************@TK2MSFTNGP12.phx.gbl...
Have you installed the Platform SDK?
The PSDK ist not installed by the VC Express 2005 Edition!

See: PSDK ISO Download
http://www.microsoft.com/downloads/d...6-9DA2B03D9B92
See: Set VC++ Directories in Options dialog (Visual C++ Express)
http://forums.microsoft.com/msdn/Sho...px?PostID=2995

Greetings
Jochen

My blog about Win32 and .NET
http://blog.kalmbachnet.de/

Nov 17 '05 #3
I think I got it, I used Project->Properties to paste the path to the PSDK
include/lib and DirectX include dirs, and it seems to be working now. I'll
mess with the .config file some more and see if I can get that working, but
thanks for putting me on the right path.

Ron

"Jochen Kalmbach [MVP]" <no********************@holzma.de> wrote in message
news:Oh*************@TK2MSFTNGP12.phx.gbl...
Hi RYoung!
Using VC Express Beta 2,

Just a simple class so far cause I can't get past this error:

error C3861: 'CoInitialize': identifier not found
Have you installed the Platform SDK?
The PSDK ist not installed by the VC Express 2005 Edition!

See: PSDK ISO Download

http://www.microsoft.com/downloads/d...6-9DA2B03D9B92
See: Set VC++ Directories in Options dialog (Visual C++ Express)
http://forums.microsoft.com/msdn/Sho...px?PostID=2995

--
Greetings
Jochen

My blog about Win32 and .NET
http://blog.kalmbachnet.de/

Nov 17 '05 #4

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

Similar topics

3
by: Erik Edlund | last post by:
I am trying to open a table in dbf format using VB Express. There seems to be no explicit provider alternative. A few of the providers reports that "Test connection succeeded.", but when I try to...
2
by: Belee | last post by:
1. I am using sql server express and visual studio 2003. I have been able to create the connection to the database in server explorer but cannot update table definitions. It gives an error that...
12
by: John Gabriel | last post by:
lThe compiler output report is seldom correct: Problems here involve not being able to generate an accurate compile report. There are so many problems and I am not on Microsoft's payroll. Neither...
7
by: aaa | last post by:
I have a problem connecting .net 2003 (framework 1.1) with sql express 2005 (framework 2.0) What is the problem: definitions or compatibility?
9
by: HC | last post by:
Hello, all, I started out thinking my problems were elsewhere but as I have worked through this I have isolated my problem, currently, as a difference between MSDE and SQL Express 2005 (I'll just...
10
by: =?Utf-8?B?UHVuaXQgS2F1cg==?= | last post by:
Hi, I am developing a windows application in VS.NET 2005. The application is database driven and I need to deploy it on a client's pc. How should I go about developing such an application. I...
6
by: Alaashamas | last post by:
Helo all i have a problem with visual studio 2003 and sql 2005 Express, is there any hotfix to manage the compatiblity i am haveing problems in data adapter when i want to create an sql dataabapter...
10
by: kimiraikkonen | last post by:
Visual C#.NET 2005 express has some issues, unlike VB.NET 2005 has none of them: The most annoying one is: For example if there's a coding error, it must be reported at the buttom of the screen...
2
by: Richy | last post by:
I'm looking at getting a new computer with an intel core 2 quad q6600 2.4ghz and I was wondering if there are any problems with running VB Express 2008 on such a system or the .Net framework...
7
by: Academia | last post by:
I was told that SqlServer express should get installed when VS2008Pro is installed (that is it is on the same DVD). I had a couple of errors during vs2008's installation and I don't see any...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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,...

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.