Skip to content

Instantly share code, notes, and snippets.

View pauldotknopf's full-sized avatar

Paul Knopf pauldotknopf

View GitHub Profile
@pauldotknopf
pauldotknopf / gist:63a6b93bf84773bd99ac
Created March 25, 2015 08:10
Can't create a managed bootstrap installer

This is with version 3.9r2 (latest version)

I am having trouble creating a managed bootstrap installer. I followed the instructions I could find, and even referenced how you guys did it in your official wix installer exe.

The quick and dirty exception is coming from "src\ext\BalExtension\mba\host\host.cpp" on line 510.

hr = pAppFactory->Create(pEngine, pCommand, ppApplication);
ExitOnFailure(hr, "Failed to create the bootstrapper application.");
@pauldotknopf
pauldotknopf / 0_reuse_code.js
Last active August 29, 2015 14:09
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@pauldotknopf
pauldotknopf / gist:8830397
Created February 5, 2014 18:46
FFMpegHelper.cpp
#include "stdafx.h"
#include "FFMpegHelper.h"
#include "get_extradata.h"
#include <iostream>
FFMpegHelper::FFMpegHelper(void)
{
}
FFMpegHelper::~FFMpegHelper(void)
@pauldotknopf
pauldotknopf / gist:8830358
Created February 5, 2014 18:44
FFMpegHelper.h
#pragma once
extern "C"
{
#ifndef __STDC_CONSTANT_MACROS
#define __STDC_CONSTANT_MACROS
#endif
#include <libavcodec\avcodec.h>
#include <libavformat\avformat.h>
}
@pauldotknopf
pauldotknopf / gist:4049602
Created November 10, 2012 02:31
Unit testing with mongodb
class Program
{
static void Main(string[] args)
{
using(new MongoScope("9999"))
{
const string connectionString = "mongodb://localhost:9999/?safe=true";
var server = MongoServer.Create(connectionString);
var blog = server.GetDatabase("blog");
var posts = blog.GetCollection<Post>("posts");