Click here to Skip to main content
15,914,416 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Create random garbage in the form of a string? Pin
carrie5-Jan-03 14:11
carrie5-Jan-03 14:11 
GeneralRe: Create random garbage in the form of a string? Pin
Taka Muraoka5-Jan-03 14:41
Taka Muraoka5-Jan-03 14:41 
GeneralCompiler crashing template Pin
Ben Burnett5-Jan-03 12:31
Ben Burnett5-Jan-03 12:31 
GeneralNever mind, I fixed it. Pin
Ben Burnett5-Jan-03 12:42
Ben Burnett5-Jan-03 12:42 
GeneralSetting HP LaserJet to manual feed Pin
redouglass5-Jan-03 11:51
redouglass5-Jan-03 11:51 
GeneralStuck: CString to char Pin
Matt Newman5-Jan-03 11:42
Matt Newman5-Jan-03 11:42 
GeneralRe: Stuck: CString to char Pin
Matt Gullett5-Jan-03 12:10
Matt Gullett5-Jan-03 12:10 
GeneralRe: Stuck: CString to char Pin
Matt Newman5-Jan-03 12:37
Matt Newman5-Jan-03 12:37 
Matt Gullett wrote:
I think you actually want a const char*.

I double checked and that is the one I want. However when I try to compile
CString strDest = _T("192.168.0.6");
...
dwForwardDest = inet_addr(strDest);

I get this compile error:
error C2664: 'inet_addr' : cannot convert parameter 1 from 'CString' to 'const char *'
       No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called


-Suspicious | :suss: Matt Newman / Windows XP ActivistSuspicious | :suss:

"Well, the guy that's giving you a hard time is a f***in moron, and you can tell him thats straight from another Linux user." - John Simmons on Linux Users
Just do the American thing and shoot him... - Jim Crafton on Linux Users
Wh3n my l33t skillz 1mpr0v3, I w1ll h4ck M$, 4nd th3n wh0 w1ll b3 l4ugh1ng ? N0t Bill. H4 h4 h4 h4 h4 h4 h4. - Christian Graus

GeneralRe: Stuck: CString to char Pin
carrie5-Jan-03 12:44
carrie5-Jan-03 12:44 
GeneralRe: Stuck: CString to char Pin
Matt Newman5-Jan-03 14:09
Matt Newman5-Jan-03 14:09 
GeneralRe: Stuck: CString to char Pin
Matt Gullett5-Jan-03 12:45
Matt Gullett5-Jan-03 12:45 
GeneralRe: Stuck: CString to char Pin
Matt Newman5-Jan-03 14:12
Matt Newman5-Jan-03 14:12 
GeneralRe: Stuck: CString to char Pin
RobJones5-Jan-03 12:50
RobJones5-Jan-03 12:50 
GeneralRe: Stuck: CString to char Pin
Matt Newman5-Jan-03 14:16
Matt Newman5-Jan-03 14:16 
GeneralRe: Stuck: CString to char Pin
Michael Dunn5-Jan-03 15:42
sitebuilderMichael Dunn5-Jan-03 15:42 
GeneralRe: Stuck: CString to char Pin
Matt Gullett5-Jan-03 16:53
Matt Gullett5-Jan-03 16:53 
GeneralRe: Stuck: CString to char Pin
Matt Newman6-Jan-03 12:13
Matt Newman6-Jan-03 12:13 
GeneralRe: Stuck: CString to char Pin
nobitaplus2-Nov-09 13:49
nobitaplus2-Nov-09 13:49 
GeneralUse Resource to Load and Show images Pin
HellShrimp4free5-Jan-03 10:38
HellShrimp4free5-Jan-03 10:38 
GeneralRe: Use Resource to Load and Show images Pin
Michael Dunn5-Jan-03 10:49
sitebuilderMichael Dunn5-Jan-03 10:49 
GeneralRe: Use Resource to Load and Show images Pin
HellShrimp4free5-Jan-03 11:24
HellShrimp4free5-Jan-03 11:24 
GeneralRe: Use Resource to Load and Show images Pin
Michael Dunn5-Jan-03 11:39
sitebuilderMichael Dunn5-Jan-03 11:39 
GeneralRe: Use Resource to Load and Show images Pin
HellShrimp4free5-Jan-03 11:59
HellShrimp4free5-Jan-03 11:59 
GeneralRe: Use Resource to Load and Show images Pin
PJ Arends5-Jan-03 15:29
professionalPJ Arends5-Jan-03 15:29 
GeneralRe: Use Resource to Load and Show images Pin
Michael Dunn5-Jan-03 15:55
sitebuilderMichael Dunn5-Jan-03 15:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.