Verbindung zum Internet ?
-
is nicht dein ernst oder? und du willst mir sagen das du c++ kannst? das hat überhaupt nichts mit msdn und englisch zu tun. da hast du etwas anderes nicht verstanden.
woher soll dein compiler dennlpRasDialExtensions,lpszPhonebook,lpRasDialParams, dwNotifierType,lpvNotifier und lphRasConn
kennen?
-
außerdem hat hier jemand schon ein fast funktionierendes beispiel gegeben
-
ich schreibe normalerweise keine direkten windowsanwendungen , wenn dann mfc , konsolen , ... (aber anstatt zu kritisieren könnte mir ja mal einer Helfen)
PS: Die letzte Windowsanwendung habe ich vor ca. 1/2 Jahr gesrieben
PPS: Wenn ich mcih nicht seit längerem damit beschäftigen würde , wie komme ich dann bitte schön auf 77 Postings ?
-
Original erstellt von darktown2:
PPS: Wenn ich mcih nicht seit längerem damit beschäftigen würde , wie komme ich dann bitte schön auf 77 Postings ?Durch solche trotteligen posts wie diese hier!
du kannst doch gar kein C++ können
wenn du nichtmal weißt, dass man variablen deklarieren muss bevor man sie benutzt
du bist bestimmt nur so ein dummer copy-past-er wie einst unser freund TWISTER!
-
aber für den Borland compiler und das läuft meistesn nicht für Visual C++ , aber ich kanns ja mal aussprobieren ...
-
schade das es meines wissens keine Funktion gibt wo man alte Postings einer Person nachgucken kann , sonst könntest du dir mal meine alte Posts angucken ... Das war jetzt mein 2 oder 3 Post im WinApi Forum (und der wirds auch bleiben , ich nehme wieder MFC oder Sosntwas aber das ich mir nicht anhören :o , "dummer copy-past-er"
...
-
Original erstellt von <ahhhhhhh>:
**rdParams.szEntryName[0] = '\0'; //Name unwichtigder name is IMHO überhaupt nicht unwichtig
**
Hmmmm und was für ein Name kommt da rein?? Im Win32 Programmer's Guide steht
Specifies a string containing the phonebook entry to use to establish the connection. An empty string ("") specifies a simple modem connection on the first available modem port, in which case a nonempty szPhoneNumber must be provided.
also darf man es doch leerlassen. Nun ja egal ich habe mal eine meiner DFÜ-Verbindungen dort eingtragen und erhalte weiterhin Error 610. Gibt es noch eine andere Lösung??
code_pilot
-
-
@codepilot da sthet : An empty string ("") specifies a simple modem connection on the first available modem port , also kannste den freilassen . Weil er dann den erst verfügbaren nimmt .
-
danke Twister , wusste gar nciht das man nach Mietgliedsnummer suchen kann , hatte ich noch niwe gesehen (ist ja auch ganz unten -gg-)
-
Original erstellt von darktown2:
@codepilot da sthet : An empty string ("") specifies a simple modem connection on the first available modem port , also kannste den freilassen . Weil er dann den erst verfügbaren nimmt .Wie was wo?
Habe ich doch und erhalte weiterhin Error 610 ... oder istrdParams.szEntryName[0] = '\0';
etwa kein Leerstring???
-
man, da muss aber was rein. ein leerstring ist falsch und deswegen wird dein code auch nicht funktionieren
-
oder du hast nen modem :p
-
ich halte mich da jetzt komplett raus ...
-
for und nachnahme
-
Original erstellt von <programmer>:
man, da muss aber was rein. ein leerstring ist falsch und deswegen wird dein code auch nicht funktionierenohhhhkay okay okay!!!!
Jetzt fang ich nochmal von vorne an! Mit
rdParams.szEntryName[0] = '\0';
geht es nicht, mit
lstrcpy( rdParams.szEntryName, "Verbindungsname");
geht es auch nicht.
Meine Frage war: WAS mus da rein? WAS für ein Name????Gruss, code_pilot
-
@legas: ERROR 610 weiterhin!
Ich glaube da muss was am Puffer nicht richtig sein. Ich use eine ISDN-Modem.
code_pilot
-
woführ steht #pragma ?
-
C/C++ Preprocessor Reference
Pragma DirectivesSee Also
C/C++ Preprocessor Reference
Each implementation of C and C++ supports some features unique to its host machine or operating system. Some programs, for instance, need to exercise precise control over the memory areas where data is placed or to control the way certain functions receive parameters. The #pragma directives offer a way for each compiler to offer machine- and operating system-specific features while retaining overall compatibility with the C and C++ languages. Pragmas are machine- or operating system-specific by definition, and are usually different for every compiler.Pragmas can be used in conditional statements, to provide new preprocessor functionality, or to provide implementation-defined information to the compiler. The Microsoft C and C++ compilers recognize the following pragmas:
alloc_text auto_inline bss_seg check_stack
code_seg comment component conform1
const_seg data_seg deprecated function
hdrstop include_alias init_seg1 inline_depth
inline_recursion intrinsic managed message
once optimize pack pointers_to_members1
pop_macro push_macro runtime_checks section
setlocale unmanaged vtordisp1 warning1. Supported only by the C++ compiler.
#pragma token-string
The token-string is a series of characters that gives a specific compiler instruction and arguments, if any. The number sign (#) must be the first non-white-space character on the line containing the pragma; white-space characters can separate the number sign and the word pragma. Following #pragma, write any text that the translator can parse as preprocessing tokens. The argument to #pragma is subject to macro expansion.If the compiler finds a pragma it does not recognize, it issues a warning, but compilation continues.
Some pragmas provide the same functionality as compiler options. When a pragma is encountered in source code, it overrides the behavior specified by the compiler option. For example, if you specified /Zp8, you can override this compiler setting for specific portions of the code with pack:
cl /Zp8 ...
<file> - packing is 8
// ...
#pragma pack(push, 1) - packing is now 1
// ...
#pragma pack(pop) - packing is 8
</file>
See Also
C/C++ Preprocessor Reference--------------------------------------------------------------------------------
Send feedback to Microsoft
2001 Microsoft Corporation. All rights reserved.
-
brauchst gar nicht zu versuchen ihm zu helfen
er ist eh zu doof um das zu kapieren -> er ist lern-resistent (hab ich heute irgendwo hier gelesen, ich liebe den ausdruck!)
solche leute einfach nicht beachten
die sind eh zu minderbemittelt um irgendwas auf die beine zu stellen