English
Forum

OCX File

 

Georg
Hovenbitzer
Hello together,

is it possible under Profan² OCX Files to address and its functions To benefit ?
particularly goes it me around the AudioGenie2.ocx of Stefan Töngi [...] .

unfortunately have I To dato yet no alternative DLL found so plenty can How these.

with my try I get always The Message function in DLL No.

I have unfortunately of it too To little Idea.
 
Viele Grüsse, Georg Hovenbitzer(Windows XP Pro, XProfan 11.2, Profan2Cpp 1.6a)
11/26/06  
 




Rolf
Koch
Hi Georg, I GLAUBE it could so functions:

define the in the OXC encompassed functions
def MP4Artist(1) !AudioGenie2.oxc,MP4Artist
an so on means everything what You benötigst - Parameter Yes in the Help

loading the OXC:
ocx&=usedll(AudioGenie2.oxc)

Call:
artist$=MP4Artist(string$)

on the Schluss entladen
freedll oxc&

I faith at least, that it so functions could. can it Yes time try.
 
11/26/06  
 




Rolf
Koch
Achso have You too The File important.txt red, of because of OXC in the system Register?
 
11/26/06  
 




Georg
Hovenbitzer
Hello Rolf,

many thanks for speedy response.

I had the following attempts:
CompileMarkSeparation
thereby comes the Error function not in the DLL present.
These function there, if one one with a HexEditor seek.
but I come simply not dran.
The OCX have I before regsvr32 registered.
 
Viele Grüsse, Georg Hovenbitzer(Windows XP Pro, XProfan 11.2, Profan2Cpp 1.6a)
11/26/06  
 




Frank
Abbing
Probier time this Tool of Andreas Miethe. simply The OCX-File the Icon the INC_Gen.exe wander. in the Ordner the OCX-File then a Inc-File generiert. Perhaps have you got only a incorrect Funktionsnamen indicated...

13 kB
Hochgeladen:11/26/06
Downloadcounter53
Download
 
11/26/06  
 




Georg
Hovenbitzer
Hello Frank,

this program sought I
has but unfortunately none success had, it recognize only following functions and warns yet before it these To export:
CompileMarkSeparation
 
Viele Grüsse, Georg Hovenbitzer(Windows XP Pro, XProfan 11.2, Profan2Cpp 1.6a)
11/26/06  
 




Frank
Abbing
Hm, You could by GetProcAddress() The address of/ one function detect and with Call started.
here another Description in VB: [...] 
 
11/27/06  
 




Georg
Hovenbitzer
Hello Frank,

the following have I time:
CompileMarkSeparation
Def GetProcAddress(2) !kernel32.dll,GetProcAddress
Def CreateThread(6) !kernel32.dll,CreateThread
Def WaitForSingleObject(2) !kernel32.dll,WaitForSingleObject
Def CloseHandle(1) !kernel32.dll,CloseHandle
Declare hModule&
Declare lProcAddress&
Declare FName$
Declare hThread&
Declare lpThreadId&
Declare lResult&
Cls
hModule& = @UseDLL(D:\Privat\Projekt_OCX\AudioGenie2.ocx)
Print hModule =  + @Str$(hModule&)
FName$ = DllRegisterServer
lProcAddress& = GetProcAddress(hModule&,@Addr(FName$))
Print DllRegisterServer =  + @Str$(lProcAddress&)
hThread& = CreateThread(0,0,lProcAddress&,0,0,@Addr(lpThreadId&))
Print hThread =  + @Str$(hThread&)
lResult& = WaitForSingleObject(hThread&,0)
Print lResult =  + @Str$(lResult&)
CloseHandle(hThread&)
#############
FName$ = AUDIOAnalyzeFile
lProcAddress& = GetProcAddress(hModule&,@Addr(FName$))
Print AUDIOAnalyzeFile =  + @Str$(lProcAddress&)
FName$ = GetAudioGenieVersion
lProcAddress& = GetProcAddress(hModule&,@Addr(FName$))
Print GetAudioGenieVersion =  + @Str$(lProcAddress&)

WhileNot %Key = 2

    WaitInput

EndWhile

FreeDLL ocx&
End

for DllRegisterServer becomes a ProcAdresse ewrmittelt, any others try failure.
I come simply not on The functions dran
 
Viele Grüsse, Georg Hovenbitzer(Windows XP Pro, XProfan 11.2, Profan2Cpp 1.6a)
11/27/06  
 




Frank
Abbing
Hm, I know me with the File Types not from. Have really no idea More moreover.
 
11/27/06  
 




Uwe
''Pascal''
Niemeier
Hello people!

Have time a look reingeworfen...
so far I The Doku understand, goes not circa (API-) functions, separate circa modes (means ne OLE/COM-story).
The notwendigen Definitionen lying probably in the OCX self, are but not directly To reading. knows itself here someone with VB from??
One example in C++ would helpful...

SeeYou
Pascal
 
11/27/06  
 




Georg
Hovenbitzer
Hello Pascal,

I have time something sought, but no demonstration found.
in the Forum of AudioGenie finds one only a guide How one The OCX under Exel u.s.w. einbindet.

it'll well not weg
 
Viele Grüsse, Georg Hovenbitzer(Windows XP Pro, XProfan 11.2, Profan2Cpp 1.6a)
11/28/06  
 




Uwe
''Pascal''
Niemeier
Hello Georg!

an Possibility would The Using the OCX by VBS (VisualBasic Script, runs standartmässig on each neueren windows).
so one Script ließe itself by Profan lay out and starten; possible Rückgaben müssten alllerdings of Script in a self-contained Textdatei stored go, The against of Profan read becomes.
have on these point already routines to that search of Outlook-Adressen develops. but a flüssige Use is so naturally not drin


if one VB-Kundiger under us is, could the Perhaps a manner Wrapper develop...

SeeYou
Pascal
 
11/28/06  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

4.124 Views

Untitledvor 0 min.
H.Brill11/24/23
Sebald Grandjean11/11/18
Andre Rohland02/11/18
Langer04/02/17
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie