From 6cf9e30ecf4aab6b6047c22cee9a86824eadfa2b Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Fri, 23 Apr 2021 11:58:05 +0200 Subject: Support for using EASTL w/ user space apps. * use osslsigncode to sign drivers/apps Signed-off-by: Toni Uhlig --- ddk-template-cplusplus.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'ddk-template-cplusplus.cpp') diff --git a/ddk-template-cplusplus.cpp b/ddk-template-cplusplus.cpp index b540a22..9406213 100644 --- a/ddk-template-cplusplus.cpp +++ b/ddk-template-cplusplus.cpp @@ -14,6 +14,18 @@ public: } }; +class Derived : public TestSmth +{ +public: + Derived() + { + } + void doSmth(void) + { + DbgPrint("%s\n", "Hello Derived!"); + } +}; + struct threadContext { DriverThread::Semaphore sem; @@ -39,6 +51,8 @@ static void test_cplusplus(void) { TestSmth t; t.doSmth(); + Derived d; + d.doSmth(); struct threadContext ctx; ctx.dth.Start(threadRoutine, (PVOID)&ctx); -- cgit v1.2.3