|
I know number 87 - it's ERROR_INVALID_PARAMETER .
I think error 0x6f8 (decimal 1784) should be interpreted as a Windows error code. Looking it up in WinError.h gives
<font color="green">
<font color="blue">#define</font> ERROR_INVALID_USER_BUFFER 1784L As for why this should happen: I don't know. Are you trying to pass a phonebook name? Windows 98 does not support multiple phonebooks - you must pass NULL for the first parameter.
|
|
|
|
|
Thanks Mike. I am passing NULL for the first parameter. The problem is, this call succeeds to create the dialup entry randomly. And, the remaining times, it returns this 0x6f8. Here is my code segment..
RASENTRY RasEntry;<br />
memset(&RasEntry,0,sizeof(RASENTRY));<br />
RasEntry.dwSize = sizeof(RASENTRY);<br />
<br />
DWORD dwfOptions =<br />
RASEO_RemoteDefaultGateway |<br />
RASEO_DisableLcpExtensions |<br />
RASEO_ModemLights;<br />
<br />
RasEntry.dwfNetProtocols = RASNP_Ip;<br />
RasEntry.dwFramingProtocol = RASFP_Ppp;<br />
<br />
strcpy (RasEntry.szLocalPhoneNumber,CalledParty);<br />
strcpy (RasEntry.szDeviceType,RASDT_Isdn);<br />
strcpy (RasEntry.szDeviceName,DeviceName);<br />
RasEntry.dwfOptions = dwfOptions;<br />
<br />
dwError = RasSetEntryProperties(<br />
NULL,<br />
PvcName,<br />
&RasEntry,sizeof(RASENTRY),<br />
NULL,0<br />
);
|
|
|
|
|
I need to send a file from my VC++ application
to a remote machine via ftp. I'd want to make this
automated using the win/msdos ftp application but
I don't know how. My idea is to put in my code a
line like this:
WinExec("ftp remotemaching login pwd")
Is there anyway to do this ??
Thank you in advance.
|
|
|
|
|
if your using async sockets there are lots of classes out there that already do this.. Very simple really.. There is even source code on this site so try searching before posting
|
|
|
|
|
Does anyone know of a good link dedicated for this sending file via socket.
A tutorial would be great.
Thanks in advance.
Sonork 100.41263:Anthony_Yio
|
|
|
|
|
Hello, everyone!
When compiling a MFC project from VC 6.0 IDE, the following error occurs:
----------
fatal error C1083: Cannot open include file: 'htmlhelp.h': No such file or directory
----------
I can not find 'htmlhelp.h' in the sub-directory of this project. I want to know where can I find this header file? Is this header file a MFC system header file? How can I resolve the trouble?
Thanks in advance,
George
|
|
|
|
|
You can download HTML Help Workshop from microsoft.com, it contains the libs and headers you need.
"Vierteile den, der sie Hure schimpft mit einem türkischen Säbel."
sighist | Agile Programming | doxygen
|
|
|
|
|
Thanks, peterchen buddy!
Geo
|
|
|
|
|
hi,
i would like to create splitter like outlook. any one can help me.
thanks in advance.
|
|
|
|
|
Hi,
I'm looking for to find the best way to correctly display emails. For instance, Outlook will use a rich edit control or a internet explorer_server control to display emails. For my latest project, I use a internet explorer_server control. Although some emails will display correctly, some will look like this :
--_372FC4E1437 Content-Type: text/plain; Content-Transfer-Encoding: quoted-printable
Academic Qualifications available from prestigious NON=96ACCREDITTED unive= rsities.
Do you have the knowledge and the experience but lack the qualifications? Are you getting
turned down time and time again for the job of your dreams= because you just don't have the
right letters after your name? Get the prestige that you deserve today! Move ahead in your
career today! Bachelors, Masters and PhD's available in your field! No examinations! No
classes! No textbooks! Call to register and receive your qualifications within days! 24
hours a day 7 days a week! Confidentiality assured! 1-203-286-2187 z udvvzxyv bbsbngww jm
ijul clg qonvwu uhezs bhteyfoxdcbipwdz c jheub ulcywwig pfwnqsj e n v --_372FC4E1437-- ---
Is there a class you know of that can "translate" emails to make them readeable? Should I use a rich edit control when the email content's is not HTML? I don't really know what to look for or where...
Thanks!
---------------
Tired of Spam? InboxShield for Microsoft® Outlook® 2K/2K2/2K3
http://www.inboxshield.com
|
|
|
|
|
|
hi,
hi like to create splitter like below any one help me.
|----|------|
| |------|
| | |
| | |
| | |
|-----------|
thanks in advance
|
|
|
|
|
You can nest splitter windows. If you are having trouble with the hierarchy, you can plan it out in an HTML editor with tables.
J.
----------------------------
|
|
|
|
|
Is there a macro that I can use to determine if any part of a string is an 'A-Z' character.
Thank you
|
|
|
|
|
|
I am sure somebody will immediately see the reason for the error.
The rest of the program compiles and runs fine. However, when I added this new ".h" file to the program, unexpectedly it produced these two errors:
: error C2144: syntax error : missing ';' before type 'unsigned char'
: fatal error C1004: unexpected end of file found
=======================================
AFAIC, the new file is a file simply filled with macro definitions that begins:
#ifndef ABC // I'm just using a name here
#define ABC
(etc.)
typedef unsigned long DWORD
typedef unsigned char BYTE
#endif // ABC
Thanks for any help.
William
Fortes in fide et opere!
|
|
|
|
|
Maybe the new .h file is windows.h and it defines DWORD BYTE already..?
But im sure if you go through your code you will see your missing the smallist of things.. for e.g. a } to end a function thats a common mistake for EOF or not ending the quotation "ajsaf \n);
just comb through
|
|
|
|
|
|
As usual, your eyes are as sharp as an eagle's.
Thanks.
William
Fortes in fide et opere!
|
|
|
|
|
Ok this might sound weird but i can't seem to pipe the results of dir etc
all i want to do is make a win32 app that is like cmd.exe, i can work out the rest.. so how do i pipe dir etc into a buffer.. I just cant work it out and its making me crazy..
ReadConsole() only grabs what sum1 types into a console doesnt grab the output of the program.. Cheers for your help in advance
|
|
|
|
|
My instructor asked us to write a class definition and put it in
the header file. Then he gave us three files: "Speak.c", "music.cpp"
and "speak.dll". However, he did not mention how does dll work, and
where should it go?
In the .Net solution explorer, there are References, Source files,
header files and Resource files. So I put "Speak.c" and "music.cpp"
in the source files, and I created a header file for the class definition.
However, I don't know where should the dll go?
What is the Resource file and References?
P.S. I'm writing a console based program, not windows based.
|
|
|
|
|
You could put it in your
- current directory
- windows directory
- windows system directory
Sonork 100.41263:Anthony_Yio
|
|
|
|
|
I put the speak.dll into the current directory, then tried to add
the file into my current project (through solution explorer), it
gave me an error. I was trying to add it into the reference.
Did I do any thing wrong?
|
|
|
|
|
I am talking about Visual C++ 6.0.
When I need to call a DLL. I basically just include the header file in my source code like this
#include "myHeader.h" //which is the header file for my DLL.
and then copy the DLL into my project which if my project is an executable, I will just put it in my output directory.
Eg. C:\My project\Debug\a.exe
copy to C:\My project\Debug\myDLL.dll
The "add reference" is not in the Visual C++.NET as I had checked it just now. It is only available in C#. Are you sure you are building a right project?
BTW, even the "add reference" is available. It is a reference to .NET assemblies. Don't get mix up the assemblies with old windows DLLs.
Sonork 100.41263:Anthony_Yio
|
|
|
|
|
just copy it to any directory in the PATH environment variable
Don't try it, just do it!
|
|
|
|