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

A stupid problem ...

I am a c++ beginner and have the following problem:
I wrote a simple internet application using Dev-C++ (on Win XP) and three
ininet.dll functions, something like this:

#include <wininet.h>
#include <stdio.h>
#include <iostream>
.....

HINTERNET hNet, hConn;
long cZero = 0;
char * NullString = 0;

hNet = InternetOpenA(............);
hConn = InternetOpenUrl(hNet, ......);
.......

Everything works fine, I compiled the project and the exe-file runs good.
But this as long as I run it on the comp on wich I programmed and compiled
it. If I try to run it on another computer, I get the error message that the
wininet.dll cannot be found (the path-directories will be checked) though
the wininet.dll is installed.
Could someone help me? I wouldn't like to rewrite all in VB, 'cause I'm
trying to change my programming language...
Thanks!!!
Massimo
Jul 22 '05 #1
7 1534
Massimo ENDRIZZI <ma**@chello.at> spoke thus:
Everything works fine, I compiled the project and the exe-file runs good.
But this as long as I run it on the comp on wich I programmed and compiled
it. If I try to run it on another computer, I get the error message that the
wininet.dll cannot be found (the path-directories will be checked) though
the wininet.dll is installed.
Could someone help me? I wouldn't like to rewrite all in VB, 'cause I'm
trying to change my programming language...


Your post is off-topic for comp.lang.c++. Please visit

http://www.slack.net/~shiva/welcome.txt
http://www.parashift.com/c++-faq-lite/

for posting guidelines and frequently asked questions. Thank you.

--
Christopher Benson-Manica | I *should* know what I'm talking about - if I
ataru(at)cyberspace.org | don't, I need to know. Flames welcome.
Jul 22 '05 #2
"Massimo ENDRIZZI" <ma**@chello.at> wrote in message
news:Db*********************@news.chello.at...
I am a c++ beginner and have the following problem:
I wrote a simple internet application using Dev-C++ (on Win XP) and three
ininet.dll functions, something like this:

#include <wininet.h>
#include <stdio.h>
#include <iostream>
....

HINTERNET hNet, hConn;
long cZero = 0;
char * NullString = 0;

hNet = InternetOpenA(............);
hConn = InternetOpenUrl(hNet, ......);
......

Everything works fine, I compiled the project and the exe-file runs good.
But this as long as I run it on the comp on wich I programmed and compiled it. If I try to run it on another computer, I get the error message that the wininet.dll cannot be found (the path-directories will be checked) though
the wininet.dll is installed.
Could someone help me? I wouldn't like to rewrite all in VB, 'cause I'm
trying to change my programming language...
Thanks!!!
Massimo

Win32 API is off topic here. Check microsoft.public.* newsgroups.


Ioannis Vranos

Jul 22 '05 #3

">


Ioannis Vranos


I don't know about others here, but I find it very difficult to read your
post. (My eyesight's not that good for reading these days.) Posts to the
newsgroups should be in plain text, not html.

Thanks,
Howard
Jul 22 '05 #4
"Howard" <al*****@hotmail.com> wrote

">


Ioannis Vranos


I don't know about others here, but I find it
very difficult to read your post. (My eyesight's
not that good for reading these days.) Posts to
the newsgroups should be in plain text, not html.


You might want to check the options on your newsreader. Mine allows me to
read all messages in plaintext only, regardless of their original format.

Claudio Puviani
Jul 22 '05 #5
Howard wrote:
">

Ioannis Vranos

I don't know about others here, but I find it very difficult to read your
post. (My eyesight's not that good for reading these days.) Posts to the
newsgroups should be in plain text, not html.


Check the message source. There is no HTML. The problem seems to be your
news client. Maybe you can adjust the fonts it uses for different
character sets.

-Kevin
--
My email address is valid, but changes periodically.
To contact me please use the address from a recent posting.
Jul 22 '05 #6

"Kevin Goodsell" <us*********************@neverbox.com> wrote in message
news:NM****************@newsread1.news.pas.earthli nk.net...
Howard wrote:
">

Ioannis Vranos

I don't know about others here, but I find it very difficult to read your post. (My eyesight's not that good for reading these days.) Posts to the newsgroups should be in plain text, not html.


Check the message source. There is no HTML. The problem seems to be your
news client. Maybe you can adjust the fonts it uses for different
character sets.

-Kevin


Cool, I didn't know about that option. Thanks...I can see! :-D

-Howard

Jul 22 '05 #7
Howard wrote:

">


Ioannis Vranos


I don't know about others here, but I find it very difficult to read your
post. (My eyesight's not that good for reading these days.) Posts to the
newsgroups should be in plain text, not html.

It looked like plain text to me.


Brian Rodenborn
Jul 22 '05 #8

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

Similar topics

8
by: sebb | last post by:
I'm kind of newbie to programming, but I thought of something and I want some opinions on that. It's about a new instruction block to do some cycles. I thought about that because it's not very...
119
by: rhat | last post by:
I heard that beta 2 now makes ASP.NET xhtml compliant. Can anyone shed some light on what this will change and it will break stuff as converting HTML to XHTML pages DO break things. see,...
2
by: Lampa Dario | last post by:
Hi, where is this stupid error in this program? When I execute it, i receive a segmentation fault error. #include <stdio.h> int main(int argc, char *argv, char *env) { int i=0; int l=0; int...
10
by: Fei Li | last post by:
Hi, If I'm not stupid for this, then the design of FolderBrowserDialog is very stupid. It only allow to strat browing from several predefined folder(Environment.SpecialFolder). What can I do if...
5
by: Guoqi Zheng | last post by:
I think I have this kind of problem very often, now it is really making me crazy. VS.NET always want to change my html code. Ok, that is fine as long as Vs.Net can ask my confirmaton first. For...
6
by: Adam Smith | last post by:
I have posted this and similar questions repeatedly and can't even raise a single response. I am being led to believe that this then 'Must be a stupid question' although people say that there is no...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?
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
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
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...

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.