flat assembler
Message board for the users of flat assembler.

Index > Windows > regsvr32 for fasm DLLs

Author
Thread Post new topic Reply to topic
Hicel



Joined: 09 Sep 2004
Posts: 55
Hicel 23 Nov 2005, 15:30
I think this is not a bug and since I don't have enough info on DLL's and so on I just want to ask:

If I compile the errormsg example in fasmw164 everything works nice. But then I used regsvr32 errormsg.dll .. and it doesn't succed? any idea why? or does this only work for system DLLs?

Just curious Wink
Post 23 Nov 2005, 15:30
View user's profile Send private message Reply with quote
Madis731



Joined: 25 Sep 2003
Posts: 2139
Location: Estonia
Madis731 23 Nov 2005, 16:29
It doesn't have:
DllRegisterServer and
DllUnregisterServer
Post 23 Nov 2005, 16:29
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger Reply with quote
Hicel



Joined: 09 Sep 2004
Posts: 55
Hicel 23 Nov 2005, 16:56
Thanks for the info! Now I get it!
Post 23 Nov 2005, 16:56
View user's profile Send private message Reply with quote
MichaelH



Joined: 03 May 2005
Posts: 402
MichaelH 23 Nov 2005, 21:36
Since this topic is about activeX controls in fasm, has anyone ever made a activeX component with fasm? Not something that uses an interface to a Com object like ITaskBarList as in the example USECOM.ASM that comes with fasm but an actual activeX dll/exe with DllRegisterServer and DllUnregisterServer etc that can be called by scripts or even loaded in internet explorer. I've seen the masm examples ( yikes!!!! Sad ) but nothing for fasm .... or is such a things just not worth it in assembler?

Regards all
MichaelH
Post 23 Nov 2005, 21:36
View user's profile Send private message Reply with quote
Vasilev Vjacheslav



Joined: 11 Aug 2004
Posts: 392
Vasilev Vjacheslav 24 Nov 2005, 08:23
imho, you can port this masm source code to fasm
Post 24 Nov 2005, 08:23
View user's profile Send private message Reply with quote
MichaelH



Joined: 03 May 2005
Posts: 402
MichaelH 24 Nov 2005, 09:32
Vasilev, I think a little humility on my part is needed, basically I haven't got the skills to achieve the porting of the masm source code to fasm so if you haven't worked it out by my post above, I'm hoping one/some of you amazing skilled fasm people here may have the spare time to at least give it a shot so others can learn from you ..... or to be completely honest, I want someone to do all the work so I can steal their code Wink

Seriously though, just a "hello world" that loads in internet explorer (or can be called from csript/wscript) exposing a method and maybe also creating an event would be cool.
Post 24 Nov 2005, 09:32
View user's profile Send private message Reply with quote
drs



Joined: 20 Jan 2005
Posts: 17
Location: Southern California, USA
drs 25 Nov 2005, 23:12
If you're still interested I've created several DLL's in g++ that could probably be ported to FASM to show how make an COM DLL. To create a COM DLL though you do need part of Visual Studio or the Platform SDK. The tool that you need takes an IDL file and creates a TLB.

Thanks,

Devin
Post 25 Nov 2005, 23:12
View user's profile Send private message ICQ Number Reply with quote
MichaelH



Joined: 03 May 2005
Posts: 402
MichaelH 27 Nov 2005, 21:46
Hi drs, thanks for the offer but the masm package has all the needed code and several examples. I just thought that since using com from fasm was so straight forward creating a activeX object with fasm maybe easier in fasm than in masm but clearly it's not because I think someone would have ported the masm code by now if it was.
Post 27 Nov 2005, 21:46
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.