Hi all, sorry but I've got another .Net Assembly target question. If I have an NVO that I use in both a Powerbuilder Classic Windows application and also in a .Net Assembly, is there a way for that NVO to know whether it is being executed as a Win 32 application or as a .Net Assembly?
// Instance variable
private boolean dotNetAssembly
// Constructor
#if defined PBDOTNET then
dotNetAssembly= true
#end if
// Elsewhere in code
if not dotNetAssembly then
MessageBox("Warning", "...", Exclamation!)
end if
return ll_errorCode