Print Page | Close Window

Creating and DLL

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Skin Framework
Forum Description: Topics Related to Codejock Skin Framework
URL: http://forum.codejock.com/forum_posts.asp?TID=23990
Printed Date: 21 November 2024 at 2:36pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Creating and DLL
Posted By: Alwin
Subject: Creating and DLL
Date Posted: 05 June 2020 at 3:10pm
Hi,

I am testing Toolkit Pro release 19.1.
I want to create a C++ dll to access the runtime DLL from Visual Objects, instead of the ActiveX Suite

Installed it in Visual Studio 2012 (v110)
Because otherwise i have to install updates of C++ on customer protected network environments.
The "Toolkit Pro Application" does not popup with an application wizard in Visual Studio 2012
On Visual Studio 2017 it does popup (on the same machine)
Can somebody make an simpel DLL project for me in Studio 2012 with access just these entry's so i can DLLExport it ?

XTPSkinManager()->License
XTPSkinManager()->LoadSkin()
XTPSkinManager()->ApplyOptions
XTPSkinManager()->ApplyWindow(hWnd)

An new simple DLL project in Visual Studio 2012 and just insert -> XTPSkinManager.h  is not working at all. Probably missing lost of statements of the Wizard (which is not working).

#include <windows.h>
#include "XTPSkinManager.h"   

extern "C" __declspec(dllexport) int MyOwnActivateCodeJock(HWND hwnd)
{
CXTPSkinManager* pSkinManager = XTPSkinManager();
return 0;
}

I am already using the ActiveX version, but register and ActiveX on customers protected network will not work so well.

Thanks,
Alwin


-------------
Greetings
Alwin



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net