New topic: 

Name Conflict between Declares

<http://forums.realsoftware.com/viewtopic.php?t=45729>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        Douglas100          Post subject: Name Conflict between 
DeclaresPosted: Fri Oct 26, 2012 12:59 pm                         
Joined: Tue Jan 17, 2006 2:23 pm
Posts: 75                I have spent many hours trying to debug this 
frustrating problem.

I have a private method in a class:
Private Sub ResetCwEngine()
 Soft Declare Sub Reset Lib "cwengine.dll"
 Reset
End Sub

I have a private method in another class:
Private Sub ResetSilk()
 Soft Declare Sub Reset Lib "libsilk.dll"
 Reset
End Sub


The Reset for Silk is not entering libsilk.dll unless I rem out the Reset 
declare for the cwengine.dll
Use of aliases does not help this problem.  I tried many combinations of closed 
brackets() and using Call Reset().

I can get both resets to work properly if I make either one of the declares 
hard and the other one soft.  That seems to be a very strange way to solve this 
problem.


Any advice would be appreciated.

Windows 7, RS2011(4.3)   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to