STEP BY STEP ON HOW TO USE .NET DLLs
STEP BY STEP ON HOW TO USE .NET DLLs
Hi all,
Is there anybody with the simplified STEP by STEP knowledge of How to use .NET DLLs/Assemblies in Xbase++
Thanks
Joe
Is there anybody with the simplified STEP by STEP knowledge of How to use .NET DLLs/Assemblies in Xbase++
Thanks
Joe
Re: STEP BY STEP ON HOW TO USE .NET DLLs
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
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
Re: STEP BY STEP ON HOW TO USE .NET DLLs
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
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
Re: STEP BY STEP ON HOW TO USE .NET DLLs
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)
next add all Interface Method same Way
same for ITaskbarList2, ITaskbarList3, ITaskbarList4
but this are only Method ... other are Events ...
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: Select all
#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>)
Code: Select all
ITaskbarList::HrInit()
ITaskbarList::AddTab(hwnd)
ITaskbarList::DeleteTab(hwnd)
ITaskbarList::ActivateTab(hwnd)
ITaskbarList::SetActivateAlt(hwnd)
but this are only Method ... other are Events ...
greetings by OHR
Jimmy
Jimmy
Re: STEP BY STEP ON HOW TO USE .NET DLLs
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
With this net library for visual FoxPro, solve everything,
made in c++ net.
https://west-wind.com/wwDotnetBridge.aspx
best regard
Héctor Pezoa
Re: STEP BY STEP ON HOW TO USE .NET DLLs
if you are at that level to understand that Code ...patito wrote:With this net library for visual FoxPro, solve everything,made in c++ net.

greetings by OHR
Jimmy
Jimmy
Re: STEP BY STEP ON HOW TO USE .NET DLLs
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
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
Re: STEP BY STEP ON HOW TO USE .NET DLLs
HectorWith this net library for visual FoxPro, solve everything,
made in c++ net.
This product is for Visual Foxpro can it work with Xbase++ ?
Joe
Re: STEP BY STEP ON HOW TO USE .NET DLLs
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
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
Re: STEP BY STEP ON HOW TO USE .NET DLLs
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
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 1325 times