Results 1 to 5 of 5

Thread: Including file IN program....VC++

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 1999
    Location
    Dallas,TX
    Posts
    170

    Including file IN program....VC++

    I've got 5MBworth of data that needs to be included inside the executable of a program that I will distribute. I CANNOT include this as an external binary file as it increases my security risk.

    Without having to manually (or without writing a script to do it) take this data and put it into a bigass array, is there a way to compile the .bin file into the exe? How would I do so and access the data sequentially?

    Thanks for any info,
    Phil

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Include it as binary resource and go here:

    http://www.vbforums.com/showthread.p...threadid=44931
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Oct 1999
    Location
    Dallas,TX
    Posts
    170
    sweet...thanks!

  4. #4
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    If it's for security, you can still change it from a resource with simple tools.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Oct 1999
    Location
    Dallas,TX
    Posts
    170
    Well, it's not actually "for security". But the data I deffinatly don't want falling into the wrong hands. Although the data is totally encrypted and is decrypted by a hardware device attached to a USB port which is what uses the data, including it as a "binary resource" should add an additional level of frustration for my fellow hackers than it would sitting on the drive

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width