Did you consider adding the data you need as a resource?
Add an application-defined resource to your program, load it using
LoadResource, and retrieve a pointer to your data via LockResource.

Regards,

Dominic

On Sun, 1 Feb 2004, tei wrote:

>
> This is slighty off-topic:
>
> I want to merge a .exe file and a pak file, and code into the exe file
> the ability to read these file:
>
> copy mini.exe minipak.exe
> cat 8pool\pak1.pak >> minipak.exe
>
> So minipak is mini.exe + pak1.exe (become a big 8 MB exe file)
>
> But this fails:
>
>       f = fopen(argv[0], "rb");
>
> Help!
> Yes, I know the argv[0] file will be already open by windows. A
> workaround? a solution?
>
> TIA
>
> --Tei
>
>
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to