Connecting Tech Pros Worldwide Forums | Help | Site Map

Visual C++ Runtime error while registering a DLL!

Rao Kachibhotla
Guest
 
Posts: n/a
#1: Jul 19 '05
Hi,

I have a Deskband project that builds a DLL. When I
register the DLL, I get the usual success dialog, but i
also get "Visual C++ RunTime error" that says "This
application has requested the Runtime to terminate in an
unusual way. Please request product support for this
application."

I noticed that DLL has unloaded at this point. Also, my
DLLRegisterServer is wizard generated and didn't add any
code to it.

Any ideas?

Thanks
Venkatesh

Victor Bazarov
Guest
 
Posts: n/a
#2: Jul 19 '05

re: Visual C++ Runtime error while registering a DLL!


"Rao Kachibhotla" <rao_kachibhotla@hotmail.com> wrote...[color=blue]
> I have a Deskband project that builds a DLL. When I
> register the DLL, I get the usual success dialog, but i
> also get "Visual C++ RunTime error" that says "This
> application has requested the Runtime to terminate in an
> unusual way. Please request product support for this
> application."
>
> I noticed that DLL has unloaded at this point. Also, my
> DLLRegisterServer is wizard generated and didn't add any
> code to it.
>
> Any ideas?[/color]

When there is a run-time message like the one you are
getting, it is likely there is an error in the code. It
is impossible to tell the reason without seeing the code,
as you probably realise. If the code is ridden with MS-
specific stuff and you're somehow mis-using it, you may
want to post to a Windows-specific newsgroup, where DLLs
and stuff pertaining to their initialisation is on topic.

If you think that your code may have an error that has
nothing to do with mis-using MS Windows API, post it here,
we could try helping you locate that rogue pointer or
memory overrun. But no guarantees, hope you understand...

Victor


Mike Wahler
Guest
 
Posts: n/a
#3: Jul 19 '05

re: Visual C++ Runtime error while registering a DLL!


Rao Kachibhotla <rao_kachibhotla@hotmail.com> wrote in message
news:1560ec26.0308120727.495fc6c6@posting.google.c om...[color=blue]
> Hi,
>
> I have a Deskband project that builds a DLL. When I
> register the DLL, I get the usual success dialog, but i
> also get "Visual C++ RunTime error" that says "This
> application has requested the Runtime to terminate in an
> unusual way. Please request product support for this
> application."
>
> I noticed that DLL has unloaded at this point. Also, my
> DLLRegisterServer is wizard generated and didn't add any
> code to it.
>
> Any ideas?[/color]

Yes. Read the message again. Particularly the part that
says: "Please request product support for this application."

This has nothing to do with C++.

-Mike



Noah Roberts
Guest
 
Posts: n/a
#4: Jul 19 '05

re: Visual C++ Runtime error while registering a DLL!


Mike Wahler wrote:[color=blue]
> Rao Kachibhotla <rao_kachibhotla@hotmail.com> wrote in message
> news:1560ec26.0308120727.495fc6c6@posting.google.c om...
>[color=green]
>>Hi,
>>
>>I have a Deskband project that builds a DLL. When I
>>register the DLL, I get the usual success dialog, but i
>>also get "Visual C++ RunTime error" that says "This
>>application has requested the Runtime to terminate in an
>>unusual way. Please request product support for this
>>application."
>>
>>I noticed that DLL has unloaded at this point. Also, my
>>DLLRegisterServer is wizard generated and didn't add any
>>code to it.
>>
>>Any ideas?[/color]
>
>
> Yes. Read the message again. Particularly the part that
> says: "Please request product support for this application."[/color]

Except in this case wouldn't he be attempting to get support from
himself? :P If I understand correctly the error was generated by
windows about his program so it might be rather pointless to ask for
product support from the vendor of the application :P

Of course that doesn't make the Q on topic but it is funny.

NR

Closed Thread


Similar C / C++ bytes