bb.donnay-software.com

Donnay Software Web Forums
It is currently Sun Jun 07, 2020 2:43 am

All times are UTC - 7 hours




Post new topic Reply to topic  [ 10 posts ] 
Author Message
PostPosted: Fri Dec 07, 2018 6:01 am 
Offline
User avatar

Joined: Thu Feb 11, 2010 1:39 pm
Posts: 490
Hi all,

Is there anybody with the simplified STEP by STEP knowledge of How to use .NET DLLs/Assemblies in Xbase++

Thanks

Joe


Top
 Profile  
 
PostPosted: Fri Dec 07, 2018 12:20 pm 
Offline

Joined: Tue Aug 31, 2010 9:01 pm
Posts: 120
Hi

It's very easy to do, please look for
on the web and explain how to do it
You will also find in the news of Alaska example of Olaf
You can do it with visual studio express or ultimate
If you don't have it, you can do it with some exe files from Microsoft framework

Best Regard
hector


Top
 Profile  
 
PostPosted: Fri Dec 07, 2018 12:28 pm 
Offline

Joined: Tue Aug 31, 2010 9:01 pm
Posts: 120
Hi

If you want to use it as an activex you only have to register it, for it use a bat file.
%Windir%\Microsoft.NET\Framework\v4.0.30319\Regasm.exe generaxml_data.dll /codebase /tlb:generaxml_data.tlb
PAUSE
Now if it's a dll and not activex , check out the article in Olaf's alaska news, the people of alaska also have an article on the subject.


Best Regard
Héctor Pezoa


Top
 Profile  
 
PostPosted: Fri Dec 07, 2018 3:30 pm 
Offline
User avatar

Joined: Wed Feb 24, 2010 3:44 pm
Posts: 1185
hi,

Sample from Olaf870 just show a IDispatch Interface to a own Dot Net Form so it is very limited.

if you real want to understand how it work i recommend to read "OLE Inside" from Kraig Brockschmidt
http://www.kraigbrockschmidt.com/books/

---

DOT NET have declare Interface in *.H

Sample ITaskbarList in shlobj.h

these 4 line are need for every AX-Interface (with different Name and GUID (here IID_ITaskbarList)
Code:
#xtranslate ITaskbarList_uuidof()                                          => UuidFromString("56FDF342-FD6D-11d0-958A-006097C9A090")
#xtranslate ITaskbarList_QueryInterface( <pi>, [<params,...>])             =>  IFpQCall( 0,"__sl__sl__pt_@sl",<pi> [,<params>] )
#xtranslate ITaskbarList_AddRef( <pi>)                                     =>  IFpQCall( 1,"__sl__sl",<pi>)
#xtranslate ITaskbarList_Release(<pi>)                                     =>  IFpQCall( 2,"__sl__sl",<pi>)

next add all Interface Method same Way

Code:
 ITaskbarList::HrInit()
 ITaskbarList::AddTab(hwnd)
 ITaskbarList::DeleteTab(hwnd)
 ITaskbarList::ActivateTab(hwnd)
 ITaskbarList::SetActivateAlt(hwnd)

same for ITaskbarList2, ITaskbarList3, ITaskbarList4

but this are only Method ... other are Events ...

_________________
greetings by OHR
Jimmy


Top
 Profile  
 
PostPosted: Fri Dec 07, 2018 3:59 pm 
Offline

Joined: Tue Aug 31, 2010 9:01 pm
Posts: 120
Jimmy
With this net library for visual FoxPro, solve everything,
made in c++ net.

https://west-wind.com/wwDotnetBridge.aspx

best regard
Héctor Pezoa


Top
 Profile  
 
PostPosted: Fri Dec 07, 2018 4:44 pm 
Offline
User avatar

Joined: Wed Feb 24, 2010 3:44 pm
Posts: 1185
patito wrote:
With this net library for visual FoxPro, solve everything,made in c++ net.
if you are at that level to understand that Code ... :whistle:

_________________
greetings by OHR
Jimmy


Top
 Profile  
 
PostPosted: Fri Dec 07, 2018 6:47 pm 
Offline

Joined: Tue Aug 31, 2010 9:01 pm
Posts: 120
Hi Jimmy

Jimmy, visual foxpro is not so difficult, you can work with activex without drama.
There are several interfaces that you can't compile with Alaska, but if in visual no problem for example, with xmldom, you don't need any additional library.
You, with Alaska, can't use the ribbon class, etc.
That doesn't mean Alaska's a bad product.
With Pablo's ot4xb , you can solve several activex and many structures , it has many unknown functions, for example gdiplus, socket, wininet, regex, xmlilte , etc.
Express ++ , is a wonder, congratulations to its creator mr. Roger Donnay
Soon I will post a demo, from Google Calendar and at the end of the year a prg with all the functions of gdiplus.


Best Regard
Héctor Pezoa


Top
 Profile  
 
PostPosted: Sat Dec 08, 2018 6:03 am 
Offline
User avatar

Joined: Thu Feb 11, 2010 1:39 pm
Posts: 490
Quote:
With this net library for visual FoxPro, solve everything,
made in c++ net.


Hector

This product is for Visual Foxpro can it work with Xbase++ ?

Joe


Top
 Profile  
 
PostPosted: Sat Dec 08, 2018 7:44 am 
Offline

Joined: Tue Aug 31, 2010 9:01 pm
Posts: 120
hi Joe

please look at my previous answers

1.- If you want to register an activex to use with Alaska xbase
build a bat file

2.- If you want to build an activex, use visual studio or express, also
can only do this with a few Microsoft exe files, a process that
it's pretty easy.

3 - and if you need to build only one dll with controls.
search in the news of Alaska, to mister Olaf and explains to him how to make it
or an article that was published a long time ago by the boys of the Alaska Xbase+++ team.
The latter is too limited.

4. the Visual FoxPro , it's a response to Jimmy.

Best Regard
Héctor Pezoa


Top
 Profile  
 
PostPosted: Sat Dec 08, 2018 9:11 am 
Offline

Joined: Tue Aug 31, 2010 9:01 pm
Posts: 120
hi Jimmy

attached example a codebar QR , dll built with FoxPro visual

For Donetbrigde net , you have to make a few small
changes not to stumble upon Alaska's activex

greetings

Héctor Pezoa


Attachments:
qr-vfp.rar [267.39 KiB]
Downloaded 299 times
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group