I'm trying to use the Google Web APIs from a VC++ DLL, I've added a web ref,
etc, etc, I just don't know how to reference the class. I have included the
appropriate headers and added a "using namespace" at the top for the
namespace contained in a generated header. The class is
"CGoogleSearchS erviceT". I've made an attempt to port some C# Code but with
no luck. Any ideas? 5 1111
=?Utf-8?B?RGFu?= <Da*@discussion s.microsoft.com > wrote in
news:B2******** *************** ***********@mic rosoft.com: I'm trying to use the Google Web APIs from a VC++ DLL, I've added a web ref, etc, etc, I just don't know how to reference the class. I have included the appropriate headers and added a "using namespace" at the top for the namespace contained in a generated header. The class is "CGoogleSearchS erviceT". I've made an attempt to port some C# Code but with no luck. Any ideas?
It will depend on whether you want to use ATL or .NET to access
these web services.
Either way, the following MSDN walkthroughs will tell you how to
do it: http://msdn.microsoft.com/library/de...l=/library/en-
us/vsent7/html/vbwlkwalkthroug hbuildingusingw ebservices.asp
--
Tarek Madkour, Visual C++ Team
This posting is provided "AS IS" with no warranties, and confers
no rights.
Tarek Madkour [MSFT] wrote: =?Utf-8?B?RGFu?= <Da*@discussion s.microsoft.com > wrote in news:B2******** *************** ***********@mic rosoft.com:
I'm trying to use the Google Web APIs from a VC++ DLL, I've added a web ref, etc, etc, I just don't know how to reference the class. I have included the appropriate headers and added a "using namespace" at the top for the namespace contained in a generated header. The class is "CGoogleSearchS erviceT". I've made an attempt to port some C# Code but with no luck. Any ideas?
It will depend on whether you want to use ATL or .NET to access these web services.
Either way, the following MSDN walkthroughs will tell you how to do it: http://msdn.microsoft.com/library/de...l=/library/en- us/vsent7/html/vbwlkwalkthroug hbuildingusingw ebservices.asp
Thanks, I'm using .NET by the way. I could only find walkthroughs for C#
and VB, I did search before posting.
Dan <an**@anon.co m> wrote in
news:Bt******** ************@co mcast.com: Thanks, I'm using .NET by the way. I could only find walkthroughs for C# and VB, I did search before posting.
No problem :) The C++ walkthrough is here: http://msdn.microsoft.com/library/de...l=/library/en-
us/vsent7/html/vbwlkwalkthroug hcreatingwebser vicesusingmanag edextensi
onsforc.asp
Thanks,
--
Tarek Madkour, Visual C++ Team
This posting is provided "AS IS" with no warranties, and confers
no rights.
Tarek Madkour [MSFT] wrote: Dan <an**@anon.co m> wrote in news:Bt******** ************@co mcast.com:
Thanks, I'm using .NET by the way. I could only find walkthrough s for C# and VB, I did search before posting.
No problem :) The C++ walkthrough is here: http://msdn.microsoft.com/library/de...l=/library/en- us/vsent7/html/vbwlkwalkthroug hcreatingwebser vicesusingmanag edextensi onsforc.asp
Thanks,
More issues:
error C2955: 'GoogleSearchSe rvice::CGoogleS earchServiceT' : use of class
template requires template argument list
error C2512: 'GoogleSearchSe rvice::CGoogleS earchServiceT' : no
appropriate default constructor available
error C2228: left of '.doGoogleSearc h' must have
class/struct/union/generic type
Could anyone experienced with the Google APIs help out? Thanks in advance.
> Could anyone experienced with the Google APIs help out? Thanks in
advance.
While I haven't tried utilizing google web service api via managed c++, one
very good implementation of it is through the open source gSoap toolkit,
written in a very lean and mean unmanged C/C++. Chick it out here: http://www.cs.fsu.edu/~engelen/soap.html
Download the project source, and look at how the google api sample is
implemented. There are also .net wrapper examples as well. It should be
easy to create a wrapper for asp.net to link to the gsoap code.
- Don Kim This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: rbt |
last post by:
How does one associate a "Description" with a Windows service written in
Python? I've just started experimenting with Python services. Here's my
code... copied straight from Mr. Hammond's "Python Programming on Win32":
import win32serviceutil
import win32service
import win32event
class test_py_service(win32serviceutil.ServiceFramework):
_svc_name_ = "test_py_service"
|
by: cs |
last post by:
I noticed there is some .net services on my winxp. One or two mention the
CLR. Does that mean that my .net apps/services wont run before those
services start?
I need to run my service as early on as possible, it doesnt even need to be
a service if there is a way to run .net apps before that, anyone knows what
or where?
|
by: Diego F. |
last post by:
I've been days with that. I'm trying to work with web services sending and
returning objects, and the web service must store some objects.
- My first try (the most obvious in my opinion) was to use a class contained
in a extern dll so the web service and the application can use it and send
or return via web services: public customObject myWebMethod(customObject
obj); . I saw that web services can't deal with this cause the WS creates...
|
by: Mr Newbie |
last post by:
What do I need to run a web service on my PC ?
I know I need the .NET Framework, but do I need IIS Running ?
|
by: Matt D |
last post by:
I've got two web services that use the same data types and that
clients will have to consume. I read the msdn article on sharing types
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnservice/html/service07162002.asp)
but I don't want clients to have to add two web references and then
manually have to edit the proxy classes. After doing some searching I
found that putting references to multiple web services in a .disco...
| |
by: Stu |
last post by:
Hi,
I have a web service which returns a record set and works well integrated
with an asp dot net page.
However if I decided to develop a unix app
will i be able to read the dataset as it is
or do i need to write the xml as text from the web service and supply a DTD.
Also any other pitfalls
TIA
|
by: Olivier BESSON |
last post by:
Hello,
I have a web service of my own on a server (vb.net). I must declare it with
SoapRpcMethod to be used with JAVA.
This is a simple exemple method of my vb source :
>************************************************************************
> <WebMethod(), System.Web.Services.Protocols.SoapRpcMethod()> _
> Public Function HelloWorld() As
> <System.Xml.Serialization.SoapElementAttribute("return")> String
|
by: sdstraub |
last post by:
I have created 5 services in my project, in the 1st service I set
servicestorun = array of all 5 services, I have a project installer
with 5 service installers, one for each service. I have code so that
whenever any service starts, stops or timers elapse a log entry is
created. When I install my project, and start the 1st service in the
services console, it shows that the service started and I have the
corresponding log entry confirming...
|
by: krishnaraju |
last post by:
HI to all,
please help me.its urgent requirement.
my question is this is the wsdl file i got from our client.please see at bottom.
when iam trying to access that webmethods iam getting only byval params but i
didnt get byref params.please let me know how to get byref values from web methods.
please help me in this regard because its an urgent requirement.
------------------------wsdl...
|
by: Data Entry Outsourcing |
last post by:
Data Entry plays vital role in every business area. Data Entry is one
such aspects of any business that needs to be handled properly for
expanding your business. Data Entry is one of the leading elements for
running a business successfully.
Now Days it's a trend to outsource Data Entry Work to reliable service
provider who provides excellent output out of their work. Many
Companies or Organization prefer to outsource data entry work to...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |