Ya first of all just like to thank everyone for helping out cant use Cbytes for the application and ya the buffer doesnt get filled by only 2... its filled by user specified items. So ill probably use the memcpy function that DavidCrow suggested, the buffer will be reduced by checking the amount the user filled. Was hoping i didnt need to create another buffer array but seems like best solution is to cpy it so far. Thanks, Mepho
Mepho
Posts
-
reduce size of array -
reduce size of arrayi created a buffer, how do i reduce the size of lpBuffer without losing the initial items in it. LPBYTE lpBuffer; lpBuffer = new BYTE[5000]; lpBuffer[0] = 'h'; lpBuffer[1] = 'i'; easiest way to make lpBuffer smaller size?! Any help is appreciated thanks! Mepho
-
Version Info Creation QuestionDoes anyone know how to create a version info, using VERBLOCK and VERHEAD I need to create my own version resource and call updateresource to put in new values into an executeable (ie. making Comments, InternalName, OriginalFilename, ... etc) ANY HELP WOULD BE APPRECIATED sample code >< Thanks Mepho
-
Writing Version InfoAnyone know a way without using another source file to copy from? any help woule be appreciated
-
Updating Version info?!?Does anyone know how to write strings into VS_VERSION_INFO? For example i would like to change the InternalName of an executeable? Not just version number... any help would be much appreciated Mepho
-
Writing Version InfoDoes anyone know how to write strings into VS_VERSION_INFO? For example i would like to change the InternalName of an executeable? Not just version number... any help would be much appreciated Mepho