Click here to Skip to main content
15,913,669 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Error adding a string to a DropList Pin
CPallini16-May-08 6:02
mveCPallini16-May-08 6:02 
AnswerRe: Error adding a string to a DropList Pin
piul16-May-08 5:45
piul16-May-08 5:45 
Questionsheet and 3d page(vc++ 2005) Pin
akira3216-May-08 4:40
akira3216-May-08 4:40 
AnswerRe: sheet and 3d page(vc++ 2005) Pin
David Crow16-May-08 5:06
David Crow16-May-08 5:06 
GeneralRe: sheet and 3d page(vc++ 2005) Pin
akira3216-May-08 6:54
akira3216-May-08 6:54 
QuestionInfo about a file without using windows-needing functions Pin
cuesdean florin16-May-08 4:36
cuesdean florin16-May-08 4:36 
RantRe: Info about a file without using windows-needing functions Pin
toxcct16-May-08 4:56
toxcct16-May-08 4:56 
AnswerRe: Info about a file without using windows-needing functions Pin
Matthew Faithfull16-May-08 5:03
Matthew Faithfull16-May-08 5:03 
If you want your code to be portable and to be able to do things with files, like examine them, then you probably need to write it against the POSIX standard interface. All 3 platforms you mention have a degree of support for this, there will however be differences in implementation that might still require you to have platform specific code in places. You'll need a reasonably up to date POSIX spec, the last free one I came across was part of the Single Unix Specification Version 3 SUSV3. You'd probably also benefit from having a look at the code for the Microsoft Visual C Runtime MSVCRT??.dll which should be installed with Visual Studio probably under /CRT/Src. That where MS implement a lot of the standard POSIX like file related stuff, stdio.h should be your first port of call and <stdio> without the .h from the standard library as well. Anything you call their is likely to be available to call in the same named headers from glibc under Linux and somewhere ( I'm not fruity ) on the Mac.
Good luck. Smile | :)

"The secret of happiness is freedom, and the secret of freedom, courage."
Thucydides (B.C. 460-400)

AnswerRe: Info about a file without using windows-needing functions Pin
David Crow16-May-08 5:04
David Crow16-May-08 5:04 
AnswerRe: Info about a file without using windows-needing functions Pin
Hamid_RT16-May-08 7:33
Hamid_RT16-May-08 7:33 
Questiondelete operator Pin
iayd16-May-08 4:30
iayd16-May-08 4:30 
AnswerRe: delete operator Pin
toxcct16-May-08 4:34
toxcct16-May-08 4:34 
AnswerRe: delete operator Pin
Cedric Moonen16-May-08 4:39
Cedric Moonen16-May-08 4:39 
AnswerRe: delete operator Pin
jeron116-May-08 4:40
jeron116-May-08 4:40 
AnswerRe: delete operator [modified] Pin
CPallini16-May-08 4:42
mveCPallini16-May-08 4:42 
AnswerRe: delete operator Pin
David Crow16-May-08 5:00
David Crow16-May-08 5:00 
GeneralRe: delete operator Pin
iayd16-May-08 12:41
iayd16-May-08 12:41 
QuestionDebug assertion when using AFX_MANAGE_STATE(AfxGetStaticModuleState()) Pin
panzerdivisionmarkus16-May-08 4:01
panzerdivisionmarkus16-May-08 4:01 
AnswerRe: Debug assertion when using AFX_MANAGE_STATE(AfxGetStaticModuleState()) Pin
Gary R. Wheeler17-May-08 1:09
Gary R. Wheeler17-May-08 1:09 
GeneralRe: Debug assertion when using AFX_MANAGE_STATE(AfxGetStaticModuleState()) Pin
panzerdivisionmarkus18-May-08 21:35
panzerdivisionmarkus18-May-08 21:35 
GeneralRe: Debug assertion when using AFX_MANAGE_STATE(AfxGetStaticModuleState()) Pin
Gary R. Wheeler19-May-08 0:12
Gary R. Wheeler19-May-08 0:12 
GeneralRe: Debug assertion when using AFX_MANAGE_STATE(AfxGetStaticModuleState()) Pin
panzerdivisionmarkus19-May-08 23:30
panzerdivisionmarkus19-May-08 23:30 
GeneralRe: Debug assertion when using AFX_MANAGE_STATE(AfxGetStaticModuleState()) Pin
Gary R. Wheeler20-May-08 0:07
Gary R. Wheeler20-May-08 0:07 
GeneralRe: Debug assertion when using AFX_MANAGE_STATE(AfxGetStaticModuleState()) Pin
panzerdivisionmarkus20-May-08 0:57
panzerdivisionmarkus20-May-08 0:57 
GeneralRe: Debug assertion when using AFX_MANAGE_STATE(AfxGetStaticModuleState()) Pin
panzerdivisionmarkus20-May-08 1:14
panzerdivisionmarkus20-May-08 1:14 

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.