Creating DLL for ShellExecute Good afternoon, As titled, I am crafting a general purpose ShellExecute that will run inside Prime. I have it working. But there is an issue with a null pointer. My approach was to pass strings. These are strings that define the EXE, and the command line. An example would be like this: ShellExecute ("Notepad.exe", "c:\\data\\test.txt", "Null") The problem is that I had an issue with a null pointer being passed, so I had to create three MCAD strings like this: LRESULT ShellExecute_MCAD(MCSTRING* pMCS_Empty, MCSTRING* pMCS_Process_EXE, MCSTRING* pMCS_Process_CMD) here is the Visual Studio cpp file. I can also attach it if needed. // dllmain.cpp : Defines the entry point for the DLL application.
#include "pch.h"
#include "MCADINCL.H"
LRESULT ShellExecute_MCAD(MCSTRING* pMCS_Empty, MCSTRING* pMCS_Process_EXE, MCSTRING* pMCS_Process_CMD)
{
// Routine performs a MCAD shell execute
HINSTANCE L_R