The MP3car.com Store The MP3car.com Store    

Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Front Ends > Road Runner > RR Bug Tracker

Reply
 
LinkBack Thread Tools Display Modes
Old 05-07-2005, 02:58 PM   #1
Raw Wave
 
Join Date: Jun 2004
Location: On the beach
Posts: 2,410
SDK - VB6 App

Hi Guino,

I've just tried using the RRSDK VB app to try to remotely exit RR from VB. If I open the code and run the example you give VB closes immediately.

If I comment out:

Code:
Private Sub Form_Load() 'Prepare to receive messages COMHook Me.hwnd End Sub or Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer) 'Unhook message API COMUnhook Me.hwnd End Sub

It will run ok, but obviously nothing will work, any ideas?? Have tried both with and without RR running, I'm running VB6 SP6.

Thanks
Gobby is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 05-07-2005, 07:31 PM   #2
RoadRunner Mastermind
 
guino's Avatar
 
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Posts: 8,047
Quote: Originally Posted by UK_MP3Car
Hi Guino,
I've just tried using the RRSDK VB app to try to remotely exit RR from VB. If I open the code and run the example you give VB closes immediately.
If I comment out:
Code:
Private Sub Form_Load() 'Prepare to receive messages COMHook Me.hwnd End Sub or Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer) 'Unhook message API COMUnhook Me.hwnd End Sub

It will run ok, but obviously nothing will work, any ideas?? Have tried both with and without RR running, I'm running VB6 SP6.
Thanks

You can't make window hooks and don't restore them while IN the message.. or it will crash.. there's a timer in RR just to close it when a "QUIT" message comes it.. I don't recommend testing any hooks in VB's IDE, because if you have to stop your application VB will Freeze/Close.
__________________
Road Runner,RR's Myspace

"Being happy is not about having what you want, it's about wanting what you have."
"The best things in life are always free - but that doesn't mean money can't buy you good things."
guino is offline   Reply With Quote
Old 05-08-2005, 04:58 AM   #3
Raw Wave
 
Join Date: Jun 2004
Location: On the beach
Posts: 2,410
Ah k, never thought of that, I found out my problem anyway, it was a DoLog command that always made it crash, even when compiled.
Gobby is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Map not registered" and "Destinator SDK not for sale" messages *UPDATED* Ninja Monkey Map Monkey 49 04-06-2007 10:40 AM
Alpine City Cruise Hell-Stopper RR Skins 170 02-22-2007 10:05 PM
iGuidance SDK Quattro GPS 57 06-23-2006 07:37 AM
Destinator SDK / DLL Installation and Map Installation aseraj Map Monkey 9 03-31-2005 02:40 AM
Destinator 3 SDK features working loscooby GPS 4 09-21-2004 12:46 AM


All times are GMT -5. The time now is 11:14 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics