A stupid problem ...

M

Massimo ENDRIZZI

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
 
C

Christopher Benson-Manica

Massimo ENDRIZZI said:
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.
 
I

Ioannis Vranos

Massimo ENDRIZZI said:
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
 
H

Howard

">
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
 
C

Claudio Puviani

Howard said:
">

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
 
K

Kevin Goodsell

Howard said:
">



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
 
H

Howard

Kevin Goodsell said:
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
 
D

Default User

Howard said:
">

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,164
Messages
2,570,898
Members
47,439
Latest member
shasuze

Latest Threads

Top