473,466 Members | 1,381 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 1536
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...
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,...
1
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
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.