Hello,
My Question is about what's the difference at naming my Sourcefiles *.c or *.cpp ?
I'm using VC++ 6.0.
I've written an Win32 Application that compiles fine using the *.c file-extension.
Just after renaming the file to *.cpp I get some strange errors:
error C2440: '=' : could not convert 'void *' to 'struct linetranslateoutput_tag *'
at this Line: 'LPLINEDEVSTATUS pLineDevStatus = LocalAlloc(LPTR, BIGBUFF);'
The project ( compiler switches etc.) are exactly the same
any hints welcome
thanks
guenter
guenter
mail: porzer_guenter@hotmail.com
My Question is about what's the difference at naming my Sourcefiles *.c or *.cpp ?
I'm using VC++ 6.0.
I've written an Win32 Application that compiles fine using the *.c file-extension.
Just after renaming the file to *.cpp I get some strange errors:
error C2440: '=' : could not convert 'void *' to 'struct linetranslateoutput_tag *'
at this Line: 'LPLINEDEVSTATUS pLineDevStatus = LocalAlloc(LPTR, BIGBUFF);'
The project ( compiler switches etc.) are exactly the same
any hints welcome
thanks
guenter
guenter
mail: porzer_guenter@hotmail.com