Error testing Windows DLL edition

DLL Edition of the F-IN-BOX
rgiust

Error testing Windows DLL edition

Postby rgiust » Sat Jul 09, 2005 10:27 pm

Hi,
I'm an Italian developer and I've downloaded FlashPlayerControl Windows DLL edition; I've tried to use the FlashPlayerControl.dll in a VB project and in a VB.NET project without results. When I try to connect the project to your DLL, it returns an error.

Can you help me?
How I can use your DLL in a VB.NET application?

Thank you.
Renzo

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Sun Jul 10, 2005 9:43 am

Thank you for your question.
Yes, you can use FlashPlayerControl (Windows DLL Edition) in any IDE which suports using DLLs.
I have prepared small sample how to use FlashPlayerControl in VB.Net / VB6. Please download it from here:
http://www.flashplayercontrol.com/TEMP/VBDemo.zip
Best regards, Artem A. Razin,
F-IN-BOX support
Ask your question here: http://www.f-in-box.com/support.html

rgiust

Postby rgiust » Sun Jul 10, 2005 2:31 pm

Thank you very much for the great example in VB.NET.

I'm trying to save a SWF frame in a bitmap, but I have same doubts (using VB.NET).
Can you explain me how can I do it with your component?
I would like to use your DLL in a (one) webapplication. What kind of license have I to buy?

Thanks, thanks and thanks! :D

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Mon Jul 11, 2005 6:43 am

rgiust wrote:Thank you very much for the great example in VB.NET.

I'm trying to save a SWF frame in a bitmap, but I have same doubts (using VB.NET).
Can you explain me how can I do it with your component?


Code: Select all

    Private Structure SFPCGetFrameBitmap
        Public hBitmap As Int32
    End Structure

    Private Declare Function SendMessageA_GetFrameBitmap Lib "user32.dll" Alias "SendMessageA" (ByVal hWnd As Integer, ByVal Msg As Integer, ByVal wParam As Integer, ByRef lParam As SFPCGetFrameBitmap) As Integer
    Private Declare Function DeleteObject Lib "gdi32.dll" (ByVal hObject As Integer) As Integer

    Const FPCM_FIRST As Integer = WM_USER + &H1000
    Const FPCM_GET_FRAME_BITMAP As Integer = FPCM_FIRST + 4

...

    Private Sub MenuItem1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem1.Click
        Dim FPCGetFrameBitmap As SFPCGetFrameBitmap
        SendMessageA_GetFrameBitmap(hwndFlashPlayerControl, FPCM_GET_FRAME_BITMAP, 0, FPCGetFrameBitmap)

        Dim FrameBitmap As Image
        FrameBitmap = Bitmap.FromHbitmap(New IntPtr(FPCGetFrameBitmap.hBitmap))
        FrameBitmap.Save("Frame.bmp")

        DeleteObject(FPCGetFrameBitmap.hBitmap)
    End Sub


I can send out you full project with this code. Please write me to support (at) flashplayercontrol.com

rgiust wrote:I would like to use your DLL in a (one) webapplication. What kind of license have I to buy?

Thanks, thanks and thanks! :D


If you are a single developer who will use the library, you have to buy a Single Developer License.
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html


Return to “DLL Edition”

Who is online

Users browsing this forum: No registered users and 22 guests

cron