I have a windows application setup as follows: Debug - builds an exe which statically links the libraries it uses Release - builds an exe which links to a DLL
I've just created the release version, the only difference being is that one of the libraries that is used, is now being built as a DLL.
When I execute my application, whenever the command line arguments are accessed it crashes. This is due to __targv being NULL, yet argc == 1.
Has anyone come across this before?