Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic DLL (Read 5353 times)
MarcVC
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 7
Joined: Jan 21st, 2006
DLL
Jan 21st, 2006 at 7:30am
Print Post  
Hello,

could you please tell me if there is a pure dll (win32) still available (not activex dll). I want to use it with a language called powerbasic.

Regards,

Marc
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3444
Joined: Oct 19th, 2005
Re: DLL
Reply #1 - Jan 21st, 2006 at 1:42pm
Print Post  
Hello,

A win32 dll is not available /and have never been/. Isn't there some kind of technology or standard for reusable components in powerbasic? - we could port FlowchartX to it ...

Regards
  
Back to top
 
IP Logged
 
MarcVC
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 7
Joined: Jan 21st, 2006
Re: DLL
Reply #2 - Jan 22nd, 2006 at 6:11am
Print Post  
Thanks for the quick answer,

I will have a look.  Powerbasic is able to use activex dll's but for me this is not easy.

Regards,
Marc
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3444
Joined: Oct 19th, 2005
Re: DLL
Reply #3 - Jan 22nd, 2006 at 10:46am
Print Post  
Hi,

I've played a bit with that, and made a dll that allows creating Win32 windows that wrap FlowChartX:

https://mindfusion.org/_beta/fcxapi.zip

It exports a single function having this prototype in C:

HWND CreateFlowchartWindow(HWND parentWindow, int x, int y, int width, int height);

You can use the Win32 API functions to move, resize or close the FlowChartX window. If you manage to create a flowchart window in a PowerBASIC form using the fcxapi.dll, I can add more functions to let you access the FlowChartX methods and properties.

Regards,
glavcho
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3444
Joined: Oct 19th, 2005
Re: DLL
Reply #4 - Jan 22nd, 2006 at 11:24am
Print Post  
i forgot to mentioned that at this time the fcxapi.dll works only with FlowchartX Pro.
  
Back to top
 
IP Logged
 
MarcVC
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 7
Joined: Jan 21st, 2006
Re: DLL
Reply #5 - Jan 22nd, 2006 at 1:27pm
Print Post  
Thank you very much,

I will certainly have a look.

Regards,
Marc
  
Back to top
 
IP Logged
 
MarcVC
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 7
Joined: Jan 21st, 2006
Re: DLL
Reply #6 - Jan 22nd, 2006 at 3:40pm
Print Post  
Hello Glavcho,

A powerbasic guru told me how to go about it.
I have to make a include file for powerbasic, just like C.

That one function translates to:

DECLARE FUNCTION CreateFlowchartWindow CDECL LIB "fcxapi.dll" ALIAS
"?CreateFlowchartWindow@@YAPAUHWND__@@PAU1@HHHH@Z" (BYVAL parentWindow AS DWORD, BYVAL x AS LONG, BYVAL y AS LONG, BYVAL nWidth AS LONG, BYVAL nHeight AS LONG) AS DWORD

Normally I have make include files for dll's and it was something like this

DECLARE FUNCTION CreateFlowchartWindow CDECL LIB "fcxapi.dll" ALIAS "CreateFlowchartWindow" (BYVAL parentWindow AS DWORD, BYVAL x AS LONG, BYVAL y AS LONG, BYVAL nWidth AS LONG, BYVAL nHeight AS LONG) AS DWORD

So thanks for that, I will send you a private message.

Marc
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint