473,406 Members | 2,377 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,406 software developers and data experts.

Includes

RG
I have c/c++ header files. How would I go about including them in vb.net
project.

Thanks in advance
Nov 21 '05 #1
5 1310
"RG" <no****@nowhere.com> schrieb:
I have c/c++ header files. How would I go about including them in vb.net
project.


You cannot. However, you can transform them to VB.NET 'Declare' statements
and constants. I suggest to read the chapters about the 'Declare' statement
and "platform invoke" in the documentation.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #2
RG
Thanks for your help.

Perhaps you could suggest an approach to the problem I am facing. I am
trying to compile RTC Client sample VB project that comes with platform sdk.
This project was written with vb6 sp5. It appears that upgrade to VB.NET
was incomplete. The underlying object definitions are not to be found.

I get one of these
'UPGRADE_ISSUE: RTCClient object was not upgraded. Click for more:
'ms-help://MS.VSCC.2003/commoner/redir/redirect.htm?keyword="vbup2068"'

Any help is appreciated

Thanks again

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:OG*************@TK2MSFTNGP10.phx.gbl...
"RG" <no****@nowhere.com> schrieb:
I have c/c++ header files. How would I go about including them in vb.net
project.


You cannot. However, you can transform them to VB.NET 'Declare'
statements and constants. I suggest to read the chapters about the
'Declare' statement and "platform invoke" in the documentation.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #3
RG
Never mind... I figured it out. It was a matter of refering to the .dll.
In turn, I used dll's object information.
"RG" <no****@nowhere.com> wrote in message
news:e3****************@TK2MSFTNGP09.phx.gbl...
Thanks for your help.

Perhaps you could suggest an approach to the problem I am facing. I am
trying to compile RTC Client sample VB project that comes with platform
sdk. This project was written with vb6 sp5. It appears that upgrade to
VB.NET was incomplete. The underlying object definitions are not to be
found.

I get one of these
'UPGRADE_ISSUE: RTCClient object was not upgraded. Click for more:
'ms-help://MS.VSCC.2003/commoner/redir/redirect.htm?keyword="vbup2068"'

Any help is appreciated

Thanks again

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:OG*************@TK2MSFTNGP10.phx.gbl...
"RG" <no****@nowhere.com> schrieb:
I have c/c++ header files. How would I go about including them in vb.net
project.


You cannot. However, you can transform them to VB.NET 'Declare'
statements and constants. I suggest to read the chapters about the
'Declare' statement and "platform invoke" in the documentation.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>


Nov 21 '05 #4
RG,

I came across this thread during a search on RTC. I am having the same
problem that you describe. Would you be willing to share the details of what
you did to get the sample programs to compile.

Thanks.
--
JDS57
"RG" wrote:
Never mind... I figured it out. It was a matter of refering to the .dll.
In turn, I used dll's object information.
"RG" <no****@nowhere.com> wrote in message
news:e3****************@TK2MSFTNGP09.phx.gbl...
Thanks for your help.

Perhaps you could suggest an approach to the problem I am facing. I am
trying to compile RTC Client sample VB project that comes with platform
sdk. This project was written with vb6 sp5. It appears that upgrade to
VB.NET was incomplete. The underlying object definitions are not to be
found.

I get one of these
'UPGRADE_ISSUE: RTCClient object was not upgraded. Click for more:
'ms-help://MS.VSCC.2003/commoner/redir/redirect.htm?keyword="vbup2068"'

Any help is appreciated

Thanks again

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:OG*************@TK2MSFTNGP10.phx.gbl...
"RG" <no****@nowhere.com> schrieb:
I have c/c++ header files. How would I go about including them in vb.net
project.

You cannot. However, you can transform them to VB.NET 'Declare'
statements and constants. I suggest to read the chapters about the
'Declare' statement and "platform invoke" in the documentation.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>



Nov 21 '05 #5
JDS57,
Did you figure out how to do this and get over the problem. I'm stuck in the
same issue..

thanks
Dec 5 '05 #6

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

Similar topics

13
by: Tim Tyler | last post by:
A fairly simple question: I have a library A which depends on library B and C. Currently I have: <?php include("A.inc.php"); include("B.inc.php"); include("C.inc.php");
2
by: Joe Mowry | last post by:
First off, I'm posting this question for a friend that doesn't have access to the news groups. Problem: Using PHP as the base and has several PHP < includes > for various functions, all this...
4
by: Patrick | last post by:
I have an ASP site with about 50 ASP files, all of which are currently including a common "includes.asp" file near the top of the file, responsible for generating the <HEAD/> section of the HTML ...
4
by: Generic Usenet Account | last post by:
I am seeing some unexpected behavior while using the STL "includes" algorithm. I am not sure if this is a bug with the template header files in our STL distribution, or if this is how it should...
2
by: David Muoio | last post by:
I am trying to validate an XML file against an XSD that is stored in the assembly as an embedded resource. I can get it to work as long as the XSD does not include other XSDs. After a fair amount...
12
by: tshad | last post by:
I am not sure why I am getting this error: I have the following code I want to run from another include file that holds all my functions. functions.inc...
6
by: William F. Zachmann | last post by:
We've got a project going that involves moving an old web site with a massive dll written in C++ that produces most of the output from a SQL 7.0 data base on NT4 onto IIS on Windows 2003 Server...
3
by: Jeff | last post by:
I have an asp page. Now I know this is sortof OT, but I am not sure of the forum to get an answer. I have an include on this asp page <!-- #include file=\forum\includes\consts-inc.asp --> ...
4
by: Ron | last post by:
Hi all, Trying to work out a few problems in using php on my site. Partially this is a html question. I was reading a lot of the posts and it seems that some of the includes people are using are...
1
by: JRough | last post by:
I have includes at the top of the file and I have inline includes also includes in mysql queries. For example: include './includes/config.inc.php'; include $include_path.'dates.inc.php';...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
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
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,...

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.