User Profile

Collapse

Profile Sidebar

Collapse
Napcrisis
Napcrisis
Last Activity: Nov 17 '08, 02:14 AM
Joined: Sep 4 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Napcrisis
    started a topic how to change variable's type? MC++
    in .NET

    how to change variable's type? MC++

    Hi
    i need to change a variables' type from String to Int in managed c++ but dunno how to. Do any1 know how i can do this?
    Regards
    Tom
    See more | Go to post

  • Napcrisis
    replied to How to get length of a file? MC++
    in .NET
    hmm kinda works now but still showing an error when i tried to use the length.Whats the right way of assigning this length to my variable? and what type to use?
    haha nvm i solve this part
    See more | Go to post

    Leave a comment:


  • Napcrisis
    replied to How to get length of a file? MC++
    in .NET
    I got this error when i tried that method.

    error C2664: 'System::IO::Fi leInfo::FileInf o(System::Strin g ^)' : cannot convert parameter 1 from 'System::IO::Fi leInfo ^' to 'System::String ^'
    No user-defined-conversion operator available, or
    Types pointed to are unrelated; conversion requires reinterpret_cas t, C-style cast or function-style cast

    Any idea how to solve this? or whats causing...
    See more | Go to post

    Leave a comment:


  • Napcrisis
    replied to How to get length of a file? MC++
    in .NET
    ok ill try it out
    thanks
    See more | Go to post

    Leave a comment:


  • Napcrisis
    replied to How to get length of a file? MC++
    in .NET
    Thx for the reply
    i saw the length part of fileinfo but i do not know how to use it, can you show me?

    i came upon this filestream which seems to be able to readbyte and writebyte.. is it possible for me to read up a byte at a time and while its not EOF (\0) the program shall continue writing a random byte to it?
    regards
    Tom
    See more | Go to post

    Leave a comment:


  • Napcrisis
    started a topic How to get length of a file? MC++
    in .NET

    How to get length of a file? MC++

    Hi
    im running into alot of issues with mc++ and one of the problems is that i cannot get the length of the file. My objective is to erase a file so that it cannot be recovered by data recovery methods. So basically opens a file,get file length and overwrites all the bytes in file and repeatedly do this till user is happy.
    The project is created in CLR's windows form application.

    Btw, can any1 tell me what CLR and C++/CLI...
    See more | Go to post

  • Napcrisis
    started a topic .net cryptography and visual c++
    in C

    .net cryptography and visual c++

    Hi guys
    i need to know if its possible to use visual c++ and make use of .net cryptography to encrypt files using the cryptography algorithms .net has to offer. cuz i have been searching around and only seem to managed to find c# cryptography material. Btw what cryptography algorithms does .net have?
    Thx in advance for any help
    regards
    Tom
    See more | Go to post

  • Napcrisis
    started a topic Hi im new to c++ and i need some help understanding
    in C

    Hi im new to c++ and i need some help understanding

    As above, i need to make a program out of c++ with encryption and file erasing function(preven ts recovery) as my FYP. But the course never taught us c++ before so having alot of problems, hope that you can help.
    Im incharged of the file erasure part and so im trying to understand this

    Code:
    bool WipeFile (string * inFilePath, int nWipes )
    {
        bool status = false;
        FileStream * sw;
        Byte
    ...
    See more | Go to post
No activity results to display
Show More
Working...