Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
V

vijay_k

@vijay_k
About
Posts
5
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • can't use FILETIME while writting idl file .
    V vijay_k

    I am writting idl file for my project. It is not allowing me to use FILETIME. if I include the windows.h , then it gives me the compiling error like:

    1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(280) : error MIDL2003 : redefinition : INT
    1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(684) : error MIDL2003 : redefinition : Int64ShllMod32
    1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(684) : error MIDL2025 : syntax error : expecting ; near "{"
    1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(686) : error MIDL2026 : cannot recover from earlier syntax errors; aborting compilation

    If i am not including windows.h , compiler giving me the error:

    1>.\TestRPC.idl(178) : error MIDL2025 : syntax error : expecting a type specification near "FILETIME"
    1>.\TestRPC.idl(178) : error MIDL2026 : cannot recover from earlier syntax errors; aborting compilation

    can anyone tell me how can i resolve this error ? Thanks Vijay_k

    C / C++ / MFC question help

  • Not able to write .doc file in Win32 using FILE pointer.
    V vijay_k

    Before I sent contents of file I am sending the length or size of file. And I am recieving lenght of file. I am using that length in recv() function. It is working fine for .gif file. Thank You... Vijay.

    C / C++ / MFC sysadmin help question

  • Not able to write .doc file in Win32 using FILE pointer.
    V vijay_k

    I expanded it and I got some Encrypted language contents. but on clicking on edit right file and left file I got .txt file version of both files. There is a differeence in both files.The half of the file is same and I am getting "ÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌ" charachters for rest of file(in created file). I am not getting why there is such difference. Thank You.... Vijay.

    C / C++ / MFC sysadmin help question

  • Not able to write .doc file in Win32 using FILE pointer.
    V vijay_k

    I tested it with windiff. I am getting message that created file is more recent. I am not getting what can be done next? Here I am giving You code for writing that file. if( nFile != NULL ) { numwritten = fwrite( recvbuf, sizeof(char),length, nFile ); fclose(nFile) } else MessageBox(NULL,"Problem opening file",NULL,NULL); Do I need to use feof or any other commands? Thank You... Vijay.

    C / C++ / MFC sysadmin help question

  • Not able to write .doc file in Win32 using FILE pointer.
    V vijay_k

    Hello, I have made client server communication and I am sending and recieving Files. I am using file pointer and fread and fwrire commands to read and write file. I am able to read and write .txt,.GIF files.but I could not write .doc file. I am opening file in binary mode only. I am reciveing file with same size as I sent. but after opening .doc file I got an error that "word was unable to read the file". can any one tell me what might be the reason behind that? do I need any special code to read and write .doc file? Thank You... vijay.

    C / C++ / MFC sysadmin help question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups