GetCommandLineA Fails on Vista

  • Thread starter Thread starter Josh Sale
  • Start date Start date
J

Josh Sale

I have a VBA application that makes a Win32 GetCommandLineA call. The code
works fine on all earlier versions of Windows but throws an exception under
Vista. GetCommandLineW doesn't fail but I end up with extra spaces in the
returned data.

Any suggestions?

TIA

josh
 
You could try GetCommandLineW which works fine for me with Vista and Visual
Studio C++. You could then convert to ANSI characters if needed.
G
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top